Changes in woolentor-addons/trunk [3037382:3044764]
- Location:
- woolentor-addons/trunk
- Files:
-
- 18 edited
-
classes/class.assest_management.php (modified) (1 diff)
-
includes/addons/special_day_offer.php (modified) (1 diff)
-
includes/addons/wb_product_image.php (modified) (1 diff)
-
includes/admin/include/class.template-manager.php (modified) (1 diff)
-
includes/admin/include/template-library/manager.php (modified) (1 diff)
-
includes/helper-function.php (modified) (1 diff)
-
includes/modules/compare/assets/js/frontend.js (modified) (1 diff)
-
includes/modules/compare/assets/js/frontend.min.js (modified) (1 diff)
-
includes/modules/compare/includes/classes/Frontend/Shortcode.php (modified) (1 diff)
-
includes/modules/compare/includes/templates/evercompare-button-add.php (modified) (1 diff)
-
includes/modules/wishlist/includes/templates/wishsuite-button-add.php (modified) (1 diff)
-
includes/modules/wishlist/includes/templates/wishsuite-button-exist.php (modified) (1 diff)
-
languages/woolentor.pot (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
woolentor-blocks/build/blocks-woolentor.asset.php (modified) (1 diff)
-
woolentor-blocks/build/blocks-woolentor.js (modified) (1 diff)
-
woolentor-blocks/includes/classes/Api/Api.php (modified) (1 diff)
-
woolentor_addons_elementor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woolentor-addons/trunk/classes/class.assest_management.php
r3037382 r3044764 1 1 <?php 2 2 3 3 namespace WooLentor; 4 4 5 5 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 6 6 7 7 /** 8 8 * Assest Management 9 9 */ 10 10 class Assets_Management{ 11 11 12 12 /** 13 13 * [$instance] 14 14 * @var null 15 15 */ 16 16 private static $instance = null; 17 17 18 18 /** 19 19 * [instance] Initializes a singleton instance 20 20 * @return [Assets_Management] 21 21 */ 22 22 public static function instance() { 23 23 if ( is_null( self::$instance ) ) { 24 24 self::$instance = new self(); 25 25 } 26 26 return self::$instance; 27 27 } 28 28 29 29 /** 30 30 * [__construct] Class Constructor 31 31 */ 32 32 function __construct(){ 33 33 $this->init(); 34 34 } 35 35 36 36 /** 37 37 * [init] Init 38 38 * @return [void] 39 39 */ 40 40 public function init() { 41 41 42 42 // Register Scripts 43 43 add_action( 'wp_enqueue_scripts', [ $this, 'register_assets' ] ); 44 44 add_action( 'admin_enqueue_scripts', [ $this, 'register_assets' ] ); 45 45 46 46 // Elementor Editor Scripts 47 47 add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_elementor_editor' ] ); 48 48 49 49 // Frontend Scripts 50 50 add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_frontend_scripts' ] ); 51 51 52 52 add_filter( 'body_class', [ $this, 'body_classes' ] ); 53 53 54 54 } 55 55 56 56 /** 57 57 * [body_classes] 58 58 * @param [array] $classes 59 59 * @return [array] 60 60 */ 61 61 public function body_classes( $classes ){ 62 62 63 63 $current_theme = wp_get_theme(); 64 64 $classes[] = 'woolentor_current_theme_'.$current_theme->get( 'TextDomain' ); 65 65 66 66 return $classes; 67 67 } 68 68 69 69 /** 70 70 * All available styles 71 71 * 72 72 * @return array 73 73 */ 74 74 public function get_styles() { 75 75 76 76 $style_list = [ 77 77 'htflexboxgrid' => [ 78 78 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/htflexboxgrid.css', 79 79 'version' => WOOLENTOR_VERSION 80 80 ], 81 81 'simple-line-icons-wl' => [ 82 82 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/simple-line-icons.css', 83 83 'version' => WOOLENTOR_VERSION 84 84 ], 85 85 'font-awesome-four' => [ 86 86 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/font-awesome.min.css', 87 87 'version' => WOOLENTOR_VERSION 88 88 ], 89 89 'woolentor-select2' => [ 90 90 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/select2.min.css', 91 91 'version' => WOOLENTOR_VERSION 92 92 ], 93 93 'woolentor-animate' => [ 94 94 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/animate.css', 95 95 'version' => WOOLENTOR_VERSION 96 96 ], 97 97 'woolentor-widgets' => [ 98 98 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-widgets.css', 99 99 'version' => WOOLENTOR_VERSION 100 100 ], 101 101 'slick' => [ 102 102 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/slick.css', 103 103 'version' => WOOLENTOR_VERSION 104 104 ], 105 105 'magnific-popup' => [ 106 106 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/css/magnific-popup.css', 107 107 'version' => WOOLENTOR_VERSION 108 108 ], 109 109 'woolentor-widgets-rtl' => [ 110 110 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-widgets-rtl.css', 111 111 'version' => WOOLENTOR_VERSION 112 112 ], 113 113 'woolentor-ajax-search' => [ 114 114 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/addons/ajax-search/css/ajax-search.css', 115 115 'version' => WOOLENTOR_VERSION 116 116 ], 117 117 'woolentor-flash-sale-module' => [ 118 118 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/modules/flash-sale/assets/css/flash-sale.css', 119 119 'version' => WOOLENTOR_VERSION, 120 120 ], 121 121 'woolentor-store-feature' => [ 122 122 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/store-feature.css', 123 123 'version' => WOOLENTOR_VERSION 124 124 ], 125 125 'woolentor-faq' => [ 126 126 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/faq.css', 127 127 'version' => WOOLENTOR_VERSION 128 128 ], 129 129 'woolentor-category-grid' => [ 130 130 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/category-grid.css', 131 131 'version' => WOOLENTOR_VERSION 132 132 ], 133 133 'woolentor-slider' => [ 134 134 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/slider.css', 135 135 'version' => WOOLENTOR_VERSION, 136 136 'deps' => [ 'magnific-popup' ] 137 137 ], 138 138 'woolentor-testimonial' => [ 139 139 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/testimonial.css', 140 140 'version' => WOOLENTOR_VERSION, 141 141 'deps' => [ 'slick' ] 142 142 ], 143 143 'woolentor-product-grid' => [ 144 144 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/css/product-grid.css', 145 145 'version' => WOOLENTOR_VERSION, 146 146 'deps' => [ 'slick','simple-line-icons-wl' ] 147 147 ], 148 148 149 149 'woolentor-admin' => [ 150 150 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/css/woolentor-admin.css', 151 151 'version' => WOOLENTOR_VERSION 152 152 ], 153 153 'woolentor-selectric' => [ 154 154 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/css/selectric.css', 155 155 'version' => WOOLENTOR_VERSION 156 156 ], 157 157 'woolentor-sweetalert' => [ 158 158 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/css/sweetalert2.min.css', 159 159 'version' => WOOLENTOR_VERSION 160 160 ], 161 161 'woolentor-temlibray-style' => [ 162 162 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/css/tmp-style.css', 163 163 'version' => WOOLENTOR_VERSION 164 164 ], 165 165 166 166 167 167 ]; 168 168 return $style_list; 169 169 170 170 } 171 171 172 172 /** 173 173 * All available scripts 174 174 * 175 175 * @return array 176 176 */ 177 177 public function get_scripts() { 178 178 179 179 $script_list = [ 180 180 'slick' => [ 181 181 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/js/slick.min.js', 182 182 'version' => WOOLENTOR_VERSION, 183 183 'deps' => [ 'jquery' ] 184 184 ], 185 185 'countdown-min' => [ 186 186 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/js/jquery.countdown.min.js', 187 187 'version' => WOOLENTOR_VERSION, 188 188 'deps' => [ 'jquery' ] 189 189 ], 190 190 'woolentor-accordion-min' => [ 191 191 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/js/accordion.min.js', 192 192 'version' => WOOLENTOR_VERSION, 193 193 'deps' => [ 'jquery' ] 194 194 ], 195 195 'select2-min' => [ 196 196 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/js/select2.min.js', 197 197 'version' => WOOLENTOR_VERSION, 198 198 'deps' => [ 'jquery' ] 199 199 ], 200 200 'wow' => [ 201 201 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/wow.js', 202 202 'version' => WOOLENTOR_VERSION, 203 203 'deps' => [ 'jquery' ] 204 204 ], 205 205 'jarallax' => [ 206 206 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/jarallax.js', 207 207 'version' => WOOLENTOR_VERSION, 208 208 'deps' => [ 'jquery' ] 209 209 ], 210 210 'magnific-popup' => [ 211 211 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/magnific-popup.js', 212 212 'version' => WOOLENTOR_VERSION, 213 213 'deps' => [ 'jquery' ] 214 214 ], 215 215 'one-page-nav' => [ 216 216 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/one-page-nav.js', 217 217 'version' => WOOLENTOR_VERSION, 218 218 'deps' => [ 'jarallax','magnific-popup','wow','jquery' ] 219 219 ], 220 220 'woolentor-widgets-scripts' => [ 221 221 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/js/woolentor-widgets-active.js', 222 222 'version' => WOOLENTOR_VERSION, 223 223 'deps' => [ 'jquery','slick','wc-add-to-cart-variation' ] 224 224 ], 225 225 'woolentor-ajax-search' => [ 226 226 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/addons/ajax-search/js/ajax-search.js', 227 227 'version' => WOOLENTOR_VERSION, 228 228 'deps' => [ 'woolentor-widgets-scripts' ] 229 229 ], 230 230 'jquery-single-product-ajax-cart' =>[ 231 231 'src' => WOOLENTOR_ADDONS_PL_URL . 'assets/js/single_product_ajax_add_to_cart.js', 232 232 'version' => WOOLENTOR_VERSION, 233 233 'deps' => [ 'jquery' ] 234 234 ], 235 235 'woolentor-flash-sale-module' => [ 236 236 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/modules/flash-sale/assets/js/flash-sale.js', 237 237 'version' => WOOLENTOR_VERSION, 238 238 'deps' => [ 'jquery', 'countdown-min' ] 239 239 ], 240 240 241 241 'woolentor-jquery-interdependencies' => [ 242 242 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/jquery-interdependencies.min.js', 243 243 'version' => WOOLENTOR_VERSION, 244 244 'deps' => [ 'jquery' ], 245 245 ], 246 246 'woolentor-condition' => [ 247 247 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/woolentor-condition.js', 248 248 'version' => WOOLENTOR_VERSION, 249 249 'deps' => [ 'jquery'], 250 250 ], 251 251 'woolentor-admin-main' =>[ 252 252 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/woolentor-admin.js', 253 253 'version' => WOOLENTOR_VERSION, 254 254 'deps' => [ 'jquery', 'wp-util', 'serializejson' ] 255 255 ], 256 256 'woolentor-sweetalert' => [ 257 257 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/sweetalert2.min.js', 258 258 'version' => WOOLENTOR_VERSION 259 259 ], 260 260 'woolentor-modernizr' => [ 261 261 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/modernizr.custom.63321.js', 262 262 'version' => WOOLENTOR_VERSION, 263 263 'deps' => [ 'jquery' ] 264 264 ], 265 265 'jquery-selectric' => [ 266 266 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/jquery.selectric.min.js', 267 267 'version' => WOOLENTOR_VERSION, 268 268 'deps' => [ 'jquery' ] 269 269 ], 270 270 'jquery-ScrollMagic' => [ 271 271 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/ScrollMagic.min.js', 272 272 'version' => WOOLENTOR_VERSION, 273 273 'deps' => [ 'jquery' ] 274 274 ], 275 275 'babel-min' => [ 276 276 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/babel.min.js', 277 277 'version' => WOOLENTOR_VERSION, 278 278 'deps' => [ 'jquery' ] 279 279 ], 280 280 'woolentor-templates' => [ 281 281 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/template_library_manager.js', 282 282 'version' => WOOLENTOR_VERSION, 283 283 'deps' => [ 'jquery', 'wp-util' ] 284 284 ], 285 285 'woolentor-install-manager' => [ 286 286 'src' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/install_manager.js', 287 287 'version' => WOOLENTOR_VERSION, 288 288 'deps' => [ 'wp-util', 'updates' ] 289 289 ], 290 290 291 291 ]; 292 292 293 293 return $script_list; 294 294 295 295 } 296 296 297 297 /** 298 298 * Register scripts and styles 299 299 * 300 300 * @return void 301 301 */ 302 302 public function register_assets() { 303 303 $scripts = $this->get_scripts(); 304 304 $styles = $this->get_styles(); 305 305 306 306 // Register Scripts 307 307 foreach ( $scripts as $handle => $script ) { 308 308 $deps = ( isset( $script['deps'] ) ? $script['deps'] : false ); 309 309 wp_register_script( $handle, $script['src'], $deps, $script['version'], true ); 310 310 } 311 311 312 312 // Register Styles 313 313 foreach ( $styles as $handle => $style ) { 314 314 $deps = ( isset( $style['deps'] ) ? $style['deps'] : false ); 315 315 wp_register_style( $handle, $style['src'], $deps, $style['version'] ); 316 316 } 317 317 318 318 //Localize Scripts 319 319 $localizeargs = array( 320 320 'woolentorajaxurl' => admin_url( 'admin-ajax.php' ), 321 321 'ajax_nonce' => wp_create_nonce( 'woolentor_psa_nonce' ), 322 322 ); 323 323 wp_localize_script( 'woolentor-widgets-scripts', 'woolentor_addons', $localizeargs ); 324 324 325 325 // For Admin 326 326 if( is_admin() ){ 327 327 328 328 $datalocalize = array( 329 329 'nonce' => wp_create_nonce( 'woolentor_save_opt_nonce' ), 330 330 'ajaxurl' => admin_url( 'admin-ajax.php' ), 331 331 'message'=>[ 332 332 'btntxt' => esc_html__( 'Save Changes', 'woolentor' ), 333 333 'loading' => esc_html__( 'Saving...', 'woolentor' ), 334 334 'success' => esc_html__( 'Saved All Data', 'woolentor' ), 335 335 'yes' => esc_html__( 'Yes', 'woolentor' ), 336 336 'cancel' => esc_html__( 'Cancel', 'woolentor' ), 337 337 'sure' => esc_html__( 'Are you sure?', 'woolentor' ), 338 338 'reseting'=> esc_html__( 'Resetting...', 'woolentor' ), 339 339 'reseted' => esc_html__( 'Reset All Settings', 'woolentor' ), 340 340 ], 341 341 'option_data' => [], 342 342 343 343 ); 344 344 wp_localize_script( 'woolentor-admin-main', 'WOOLENTOR_ADMIN', $datalocalize ); 345 345 346 346 //Localize Scripts For template Library 347 347 $current_user = wp_get_current_user(); 348 348 $localize_data = [ 349 349 'ajaxurl' => admin_url( 'admin-ajax.php' ), 350 350 'nonce' => wp_create_nonce( 'woolentor_template_nonce' ), 351 351 'adminURL' => admin_url(), 352 352 'elementorURL' => admin_url( 'edit.php?post_type=elementor_library' ), 353 353 'version' => WOOLENTOR_VERSION, 354 354 'pluginURL' => plugin_dir_url( __FILE__ ), 355 355 'alldata' => !empty( base::$template_info['templates'] ) ? base::$template_info['templates'] : array(), 356 356 'prolink' => 'https://woolentor.com/pricing/', 357 357 'prolabel' => esc_html__( 'Pro', 'woolentor' ), 358 358 'loadingimg' => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/images/loading.gif', 359 359 'message' =>[ 360 360 'packagedesc'=> esc_html__( 'in this package', 'woolentor' ), 361 361 'allload' => esc_html__( 'All Items have been Loaded', 'woolentor' ), 362 362 'notfound' => esc_html__( 'Nothing Found', 'woolentor' ), 363 363 ], 364 364 'buttontxt' =>[ 365 365 'tmplibrary' => esc_html__( 'Import to Library', 'woolentor' ), 366 366 'tmppage' => esc_html__( 'Import to Page', 'woolentor' ), 367 367 'tmpbuilder' => esc_html__( 'Import to Builder', 'woolentor' ), 368 368 'import' => esc_html__( 'Import', 'woolentor' ), 369 369 'buynow' => esc_html__( 'Buy Now', 'woolentor' ), 370 370 'preview' => esc_html__( 'Preview', 'woolentor' ), 371 371 'installing' => esc_html__( 'Installing..', 'woolentor' ), 372 372 'activating' => esc_html__( 'Activating..', 'woolentor' ), 373 373 'active' => esc_html__( 'Active', 'woolentor' ), 374 374 ], 375 375 'user' => [ 376 376 'email' => $current_user->user_email, 377 377 ], 378 378 ]; 379 379 wp_localize_script( 'woolentor-templates', 'WLTM', $localize_data ); 380 380 wp_localize_script( 'woolentor-install-manager', 'WLIM', $localize_data ); 381 381 } 382 382 383 383 } 384 384 385 385 /** 386 386 * [enqueue_frontend_scripts Load frontend scripts] 387 387 * @return [void] 388 388 */ 389 389 public function enqueue_frontend_scripts() { 390 390 391 391 $current_theme = wp_get_theme( 'oceanwp' ); 392 392 // CSS File 393 393 if ( $current_theme->exists() ){ 394 394 wp_enqueue_style( 'font-awesome-four' ); 395 395 }else{ 396 396 if( wp_style_is( 'font-awesome', 'registered' ) ){ 397 397 wp_enqueue_style( 'font-awesome' ); 398 398 }else{ 399 399 wp_enqueue_style( 'font-awesome-four' ); 400 400 } 401 401 } 402 402 wp_enqueue_style( 'simple-line-icons-wl' ); 403 403 wp_enqueue_style( 'htflexboxgrid' ); 404 404 wp_enqueue_style( 'slick' ); 405 405 wp_enqueue_style( 'woolentor-widgets' ); 406 406 407 407 // If RTL 408 408 if ( is_rtl() ) { 409 409 wp_enqueue_style( 'woolentor-widgets-rtl' ); 410 410 } 411 411 412 412 } 413 413 414 414 /** 415 415 * Elementor Editor Panenl Script 416 416 * 417 417 * @return void 418 418 */ 419 419 public function enqueue_elementor_editor(){ 420 420 wp_enqueue_style('woolentor-elementor-editor', WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-elementor-editor.css',['elementor-editor'], WOOLENTOR_VERSION ); 421 wp_enqueue_script( 'woolentor-elementor-editor', WOOLENTOR_ADDONS_PL_URL . 'assets/js/woolentor-elementor-editor.js', ['jquery'], WOOLENTOR_VERSION, true );421 // wp_enqueue_script( 'woolentor-elementor-editor', WOOLENTOR_ADDONS_PL_URL . 'assets/js/woolentor-elementor-editor.js', ['jquery'], WOOLENTOR_VERSION, false ); 422 422 423 423 // Localized data for elementor editor 424 424 wp_localize_script( 425 425 'woolentor-elementor-editor', 426 426 'woolentorSetting', 427 427 array( 428 428 'hasPro' => is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') ? true : false, 429 429 'proWidgets' => Widgets_Control::promotional_widget_list(), 430 430 ) 431 431 ); 432 432 } 433 433 434 434 } 435 435 436 436 Assets_Management::instance(); -
woolentor-addons/trunk/includes/addons/special_day_offer.php
r3037382 r3044764 1 1 <?php 2 2 namespace Elementor; 3 3 4 4 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 5 5 6 6 class Woolentor_Special_Day_Offer_Widget extends Widget_Base { 7 7 8 8 public function get_name() { 9 9 return 'woolentor-specialdaybanner-addons'; 10 10 } 11 11 12 12 public function get_title() { 13 13 return __( 'WL: Special Day Offer', 'woolentor' ); 14 14 } 15 15 16 16 public function get_icon() { 17 17 return 'eicon-image'; 18 18 } 19 19 20 20 public function get_categories() { 21 21 return [ 'woolentor-addons' ]; 22 22 } 23 23 24 24 public function get_help_url() { 25 25 return 'https://woolentor.com/documentation/'; 26 26 } 27 27 28 28 public function get_style_depends(){ 29 29 return [ 30 30 'woolentor-widgets', 31 31 ]; 32 32 } 33 33 34 34 public function get_keywords(){ 35 35 return['offer','day','day offer','special offer','special day']; 36 36 } 37 37 38 38 protected function register_controls() { 39 39 40 40 $this->start_controls_section( 41 41 'add_banner_content', 42 42 [ 43 43 'label' => __( 'Banner', 'woolentor' ), 44 44 ] 45 45 ); 46 46 47 47 $this->add_control( 48 48 'banner_content_pos', 49 49 [ 50 50 'label' => __( 'Content Position', 'woolentor' ), 51 51 'type' => Controls_Manager::SELECT, 52 52 'default' => 'center', 53 53 'options' => [ 54 54 'top' => __( 'Top', 'woolentor' ), 55 55 'center' => __( 'Center', 'woolentor' ), 56 56 'bottom' => __( 'Bottom', 'woolentor' ), 57 57 'left' => __( 'Left', 'woolentor' ), 58 58 'right' => __( 'Right', 'woolentor' ), 59 59 ], 60 60 ] 61 61 ); 62 62 63 63 $this->add_control( 64 64 'banner_image', 65 65 [ 66 66 'label' => __( 'Image', 'woolentor' ), 67 67 'type' => Controls_Manager::MEDIA, 68 68 'default' => [ 69 69 'url' => Utils::get_placeholder_image_src(), 70 70 ], 71 71 ] 72 72 ); 73 73 74 74 $this->add_group_control( 75 75 Group_Control_Image_Size::get_type(), 76 76 [ 77 77 'name' => 'banner_image_size', 78 78 'default' => 'large', 79 79 'separator' => 'none', 80 80 ] 81 81 ); 82 82 83 83 $this->add_control( 84 84 'banner_title', 85 85 [ 86 86 'label' => __( 'Title', 'woolentor' ), 87 87 'type' => Controls_Manager::TEXT, 88 88 'placeholder' => __( 'Banner Title', 'woolentor' ), 89 89 ] 90 90 ); 91 91 92 92 $this->add_control( 93 93 'banner_sub_title', 94 94 [ 95 95 'label' => __( 'Subtitle', 'woolentor' ), 96 96 'type' => Controls_Manager::TEXT, 97 97 'placeholder' => __( 'Banner Sub Title', 'woolentor' ), 98 98 ] 99 99 ); 100 100 101 101 $this->add_control( 102 102 'banner_description', 103 103 [ 104 104 'label' => __( 'Description', 'woolentor' ), 105 105 'type' => Controls_Manager::TEXTAREA, 106 106 'placeholder' => __( 'Banner Description', 'woolentor' ), 107 107 ] 108 108 ); 109 109 110 110 $this->add_control( 111 111 'banner_offer', 112 112 [ 113 113 'label' => __( 'Offer Amount', 'woolentor' ), 114 114 'type' => Controls_Manager::TEXT, 115 115 'placeholder' => __( '50%', 'woolentor' ), 116 116 ] 117 117 ); 118 118 119 119 $this->add_control( 120 120 'banner_offer_tag_line', 121 121 [ 122 122 'label' => __( 'Offer Tag Line', 'woolentor' ), 123 123 'type' => Controls_Manager::TEXT, 124 124 'placeholder' => __( 'Off', 'woolentor' ), 125 125 ] 126 126 ); 127 127 128 128 $this->add_control( 129 129 'banner_link', 130 130 [ 131 131 'label' => __( 'Banner Link', 'woolentor' ), 132 132 'type' => Controls_Manager::URL, 133 133 'placeholder' => __( 'https://your-link.com', 'woolentor' ), 134 134 'show_external' => true, 135 135 'default' => [ 136 136 'url' => '#', 137 137 'is_external' => false, 138 138 'nofollow' => false, 139 139 ], 140 140 ] 141 141 ); 142 142 143 143 $this->add_control( 144 144 'banner_button_txt', 145 145 [ 146 146 'label' => __( 'Button Text', 'woolentor' ), 147 147 'type' => Controls_Manager::TEXT, 148 148 'placeholder' => __( 'Button Text', 'woolentor' ), 149 149 ] 150 150 ); 151 151 152 152 $this->add_control( 153 153 'banner_badge_toggle', 154 154 [ 155 155 'label' => __( 'Banner Badge', 'woolentor' ), 156 156 'type' => Controls_Manager::POPOVER_TOGGLE, 157 157 ] 158 158 ); 159 159 160 160 $this->start_popover(); 161 161 162 162 $this->add_control( 163 163 'banner_badge_image', 164 164 [ 165 165 'label' => __( 'Badge Image', 'woolentor' ), 166 166 'type' => Controls_Manager::MEDIA, 167 167 ] 168 168 ); 169 169 170 170 $this->add_responsive_control( 171 171 'badge_width', 172 172 [ 173 173 'label' => __( 'Width', 'woolentor' ), 174 174 'type' => Controls_Manager::SLIDER, 175 175 'size_units' => [ 'px', '%' ], 176 176 'range' => [ 177 177 'px' => [ 178 178 'min' => 0, 179 179 'max' => 1000, 180 180 ], 181 181 '%' => [ 182 182 'min' => 0, 183 183 'max' => 100, 184 184 ], 185 185 ], 186 186 'condition'=>[ 187 187 'banner_badge_image[url]!'=>'', 188 188 ], 189 189 'selectors' => [ 190 190 '{{WRAPPER}} .wlspcial-banner .wlbanner-badgeimage' => 'width: {{SIZE}}{{UNIT}};', 191 191 ], 192 192 ] 193 193 ); 194 194 195 195 $this->add_responsive_control( 196 196 'badge_x_position', 197 197 [ 198 198 'label' => __( 'Horizontal Position', 'woolentor' ), 199 199 'type' => Controls_Manager::SLIDER, 200 200 'size_units' => [ 'px', '%' ], 201 201 'default' => [ 202 202 'size' => 25, 203 203 'unit' => '%', 204 204 ], 205 205 'range' => [ 206 206 'px' => [ 207 207 'min' => -1000, 208 208 'max' => 1000, 209 209 ], 210 210 '%' => [ 211 211 'min' => 0, 212 212 'max' => 100, 213 213 ], 214 214 ], 215 215 'condition'=>[ 216 216 'banner_badge_image[url]!'=>'', 217 217 ], 218 218 'selectors' => [ 219 219 '{{WRAPPER}} .wlspcial-banner .wlbanner-badgeimage' => 'left: {{SIZE}}{{UNIT}};', 220 220 ], 221 221 ] 222 222 ); 223 223 224 224 $this->add_responsive_control( 225 225 'badge_y_position', 226 226 [ 227 227 'label' => __( 'Vertical Position', 'woolentor' ), 228 228 'type' => Controls_Manager::SLIDER, 229 229 'size_units' => [ 'px', '%' ], 230 230 'default' => [ 231 231 'size' => 0, 232 232 'unit' => '%', 233 233 ], 234 234 'range' => [ 235 235 'px' => [ 236 236 'min' => -1000, 237 237 'max' => 1000, 238 238 ], 239 239 '%' => [ 240 240 'min' => 0, 241 241 'max' => 100, 242 242 ], 243 243 ], 244 244 'condition'=>[ 245 245 'banner_badge_image[url]!'=>'', 246 246 ], 247 247 'selectors' => [ 248 248 '{{WRAPPER}} .wlspcial-banner .wlbanner-badgeimage' => 'top: {{SIZE}}{{UNIT}};', 249 249 ], 250 250 ] 251 251 ); 252 252 253 253 $this->end_popover(); 254 254 255 255 $this->end_controls_section(); 256 256 257 257 // Style tab section 258 258 $this->start_controls_section( 259 259 'add_banner_style_section', 260 260 [ 261 261 'label' => __( 'Style', 'woolentor' ), 262 262 'tab' => Controls_Manager::TAB_STYLE, 263 263 ] 264 264 ); 265 265 266 266 $this->add_responsive_control( 267 267 'add_banner_section_align', 268 268 [ 269 269 'label' => __( 'Alignment', 'woolentor' ), 270 270 'type' => Controls_Manager::CHOOSE, 271 271 'options' => [ 272 272 'left' => [ 273 273 'title' => __( 'Left', 'woolentor' ), 274 274 'icon' => 'eicon-text-align-left', 275 275 ], 276 276 'center' => [ 277 277 'title' => __( 'Center', 'woolentor' ), 278 278 'icon' => 'eicon-text-align-center', 279 279 ], 280 280 'right' => [ 281 281 'title' => __( 'Right', 'woolentor' ), 282 282 'icon' => 'eicon-text-align-right', 283 283 ], 284 284 'justify' => [ 285 285 'title' => __( 'Justified', 'woolentor' ), 286 286 'icon' => 'eicon-text-align-justify', 287 287 ], 288 288 ], 289 289 'selectors' => [ 290 290 '{{WRAPPER}} .wlspcial-banner .banner-content' => 'text-align: {{VALUE}};', 291 291 ], 292 292 ] 293 293 ); 294 294 295 295 $this->add_responsive_control( 296 296 'add_banner_section_margin', 297 297 [ 298 298 'label' => __( 'Margin', 'woolentor' ), 299 299 'type' => Controls_Manager::DIMENSIONS, 300 300 'size_units' => [ 'px', '%', 'em' ], 301 301 'selectors' => [ 302 302 '{{WRAPPER}} .wlspcial-banner .banner-content' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 303 303 ], 304 304 ] 305 305 ); 306 306 307 307 $this->add_responsive_control( 308 308 'add_banner_section_padding', 309 309 [ 310 310 'label' => __( 'Padding', 'woolentor' ), 311 311 'type' => Controls_Manager::DIMENSIONS, 312 312 'size_units' => [ 'px', '%', 'em' ], 313 313 'selectors' => [ 314 314 '{{WRAPPER}} .wlspcial-banner .banner-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 315 315 ], 316 316 ] 317 317 ); 318 318 319 319 $this->end_controls_section(); 320 320 321 321 // Style Title tab section 322 322 $this->start_controls_section( 323 323 'banner_title_style_section', 324 324 [ 325 325 'label' => __( 'Title', 'woolentor' ), 326 326 'tab' => Controls_Manager::TAB_STYLE, 327 327 'condition'=>[ 328 328 'banner_title!'=>'', 329 329 ] 330 330 ] 331 331 ); 332 332 333 333 $this->add_control( 334 334 'banner_title_color', 335 335 [ 336 336 'label' => __( 'Color', 'woolentor' ), 337 337 'type' => Controls_Manager::COLOR, 338 338 'default' => '#ffffff', 339 339 'selectors' => [ 340 340 '{{WRAPPER}} .wlspcial-banner .banner-content h2' => 'color: {{VALUE}};', 341 341 ] 342 342 ] 343 343 ); 344 344 345 345 $this->add_group_control( 346 346 Group_Control_Typography::get_type(), 347 347 [ 348 348 'name' => 'banner_title_typography', 349 349 'label' => __( 'Typography', 'woolentor' ), 350 350 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h2', 351 351 ] 352 352 ); 353 353 354 354 $this->add_responsive_control( 355 355 'banner_title_margin', 356 356 [ 357 357 'label' => __( 'Margin', 'woolentor' ), 358 358 'type' => Controls_Manager::DIMENSIONS, 359 359 'size_units' => [ 'px', '%', 'em' ], 360 360 'selectors' => [ 361 361 '{{WRAPPER}} .wlspcial-banner .banner-content h2' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 362 362 ], 363 363 ] 364 364 ); 365 365 366 366 $this->add_responsive_control( 367 367 'banner_title_padding', 368 368 [ 369 369 'label' => __( 'Padding', 'woolentor' ), 370 370 'type' => Controls_Manager::DIMENSIONS, 371 371 'size_units' => [ 'px', '%', 'em' ], 372 372 'selectors' => [ 373 373 '{{WRAPPER}} .wlspcial-banner .banner-content h2' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 374 374 ], 375 375 ] 376 376 ); 377 377 378 378 $this->end_controls_section(); 379 379 380 380 // Style Sub Title tab section 381 381 $this->start_controls_section( 382 382 'banner_sub_title_style_section', 383 383 [ 384 384 'label' => __( 'Sub Title', 'woolentor' ), 385 385 'tab' => Controls_Manager::TAB_STYLE, 386 386 'condition'=>[ 387 387 'banner_sub_title!'=>'', 388 388 ] 389 389 ] 390 390 ); 391 391 392 392 $this->add_control( 393 393 'banner_sub_title_color', 394 394 [ 395 395 'label' => __( 'Color', 'woolentor' ), 396 396 'type' => Controls_Manager::COLOR, 397 397 'default' => '#ffffff', 398 398 'selectors' => [ 399 399 '{{WRAPPER}} .wlspcial-banner .banner-content h6' => 'color: {{VALUE}};', 400 400 ] 401 401 ] 402 402 ); 403 403 404 404 $this->add_group_control( 405 405 Group_Control_Typography::get_type(), 406 406 [ 407 407 'name' => 'banner_sub_title_typography', 408 408 'label' => __( 'Typography', 'woolentor' ), 409 409 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h6', 410 410 ] 411 411 ); 412 412 413 413 $this->add_responsive_control( 414 414 'banner_sub_title_margin', 415 415 [ 416 416 'label' => __( 'Margin', 'woolentor' ), 417 417 'type' => Controls_Manager::DIMENSIONS, 418 418 'size_units' => [ 'px', '%', 'em' ], 419 419 'selectors' => [ 420 420 '{{WRAPPER}} .wlspcial-banner .banner-content h6' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 421 421 ], 422 422 ] 423 423 ); 424 424 425 425 $this->add_responsive_control( 426 426 'banner_sub_title_padding', 427 427 [ 428 428 'label' => __( 'Padding', 'woolentor' ), 429 429 'type' => Controls_Manager::DIMENSIONS, 430 430 'size_units' => [ 'px', '%', 'em' ], 431 431 'selectors' => [ 432 432 '{{WRAPPER}} .wlspcial-banner .banner-content h6' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 433 433 ], 434 434 ] 435 435 ); 436 436 437 437 $this->end_controls_section(); 438 438 439 439 // Style Description tab section 440 440 $this->start_controls_section( 441 441 'banner_description_style_section', 442 442 [ 443 443 'label' => __( 'Description', 'woolentor' ), 444 444 'tab' => Controls_Manager::TAB_STYLE, 445 445 'condition'=>[ 446 446 'banner_description!'=>'', 447 447 ] 448 448 ] 449 449 ); 450 450 451 451 $this->add_control( 452 452 'banner_description_color', 453 453 [ 454 454 'label' => __( 'Color', 'woolentor' ), 455 455 'type' => Controls_Manager::COLOR, 456 456 'default' => '#ffffff', 457 457 'selectors' => [ 458 458 '{{WRAPPER}} .wlspcial-banner .banner-content p' => 'color: {{VALUE}};', 459 459 ] 460 460 ] 461 461 ); 462 462 463 463 $this->add_group_control( 464 464 Group_Control_Typography::get_type(), 465 465 [ 466 466 'name' => 'banner_description_typography', 467 467 'label' => __( 'Typography', 'woolentor' ), 468 468 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content p', 469 469 ] 470 470 ); 471 471 472 472 $this->add_responsive_control( 473 473 'banner_description_margin', 474 474 [ 475 475 'label' => __( 'Margin', 'woolentor' ), 476 476 'type' => Controls_Manager::DIMENSIONS, 477 477 'size_units' => [ 'px', '%', 'em' ], 478 478 'selectors' => [ 479 479 '{{WRAPPER}} .wlspcial-banner .banner-content p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 480 480 ], 481 481 ] 482 482 ); 483 483 484 484 $this->add_responsive_control( 485 485 'banner_description_padding', 486 486 [ 487 487 'label' => __( 'Padding', 'woolentor' ), 488 488 'type' => Controls_Manager::DIMENSIONS, 489 489 'size_units' => [ 'px', '%', 'em' ], 490 490 'selectors' => [ 491 491 '{{WRAPPER}} .wlspcial-banner .banner-content p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 492 492 ], 493 493 ] 494 494 ); 495 495 496 496 $this->end_controls_section(); 497 497 498 498 // Style Offer tab section 499 499 $this->start_controls_section( 500 500 'banner_offer_style_section', 501 501 [ 502 502 'label' => __( 'Offer Amount', 'woolentor' ), 503 503 'tab' => Controls_Manager::TAB_STYLE, 504 504 'condition'=>[ 505 505 'banner_offer!'=>'', 506 506 ] 507 507 ] 508 508 ); 509 509 510 510 $this->add_control( 511 511 'banner_offer_color', 512 512 [ 513 513 'label' => __( 'Color', 'woolentor' ), 514 514 'type' => Controls_Manager::COLOR, 515 515 'default' => '#ffffff', 516 516 'selectors' => [ 517 517 '{{WRAPPER}} .wlspcial-banner .banner-content h5' => 'color: {{VALUE}};', 518 518 ] 519 519 ] 520 520 ); 521 521 522 522 $this->add_group_control( 523 523 Group_Control_Typography::get_type(), 524 524 [ 525 525 'name' => 'banner_offer_typography', 526 526 'label' => __( 'Typography', 'woolentor' ), 527 527 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h5', 528 528 ] 529 529 ); 530 530 531 531 $this->add_responsive_control( 532 532 'banner_offer_margin', 533 533 [ 534 534 'label' => __( 'Margin', 'woolentor' ), 535 535 'type' => Controls_Manager::DIMENSIONS, 536 536 'size_units' => [ 'px', '%', 'em' ], 537 537 'selectors' => [ 538 538 '{{WRAPPER}} .wlspcial-banner .banner-content h5' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 539 539 ], 540 540 ] 541 541 ); 542 542 543 543 $this->add_responsive_control( 544 544 'banner_offer_padding', 545 545 [ 546 546 'label' => __( 'Padding', 'woolentor' ), 547 547 'type' => Controls_Manager::DIMENSIONS, 548 548 'size_units' => [ 'px', '%', 'em' ], 549 549 'selectors' => [ 550 550 '{{WRAPPER}} .wlspcial-banner .banner-content h5' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 551 551 ], 552 552 ] 553 553 ); 554 554 555 555 $this->end_controls_section(); 556 556 557 557 // Style Offer Tag section 558 558 $this->start_controls_section( 559 559 'banner_offer_tag_style_section', 560 560 [ 561 561 'label' => __( 'Offer Tag Line', 'woolentor' ), 562 562 'tab' => Controls_Manager::TAB_STYLE, 563 563 'condition'=>[ 564 564 'banner_offer!'=>'', 565 565 ] 566 566 ] 567 567 ); 568 568 569 569 $this->add_control( 570 570 'banner_offer_tag_color', 571 571 [ 572 572 'label' => __( 'Color', 'woolentor' ), 573 573 'type' => Controls_Manager::COLOR, 574 574 'default' => '#ffffff', 575 575 'selectors' => [ 576 576 '{{WRAPPER}} .wlspcial-banner .banner-content h5 span' => 'color: {{VALUE}};', 577 577 ] 578 578 ] 579 579 ); 580 580 581 581 $this->add_group_control( 582 582 Group_Control_Typography::get_type(), 583 583 [ 584 584 'name' => 'banner_offer_tag_typography', 585 585 'label' => __( 'Typography', 'woolentor' ), 586 586 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h5 span', 587 587 ] 588 588 ); 589 589 590 590 $this->add_responsive_control( 591 591 'banner_offer_tag_margin', 592 592 [ 593 593 'label' => __( 'Margin', 'woolentor' ), 594 594 'type' => Controls_Manager::DIMENSIONS, 595 595 'size_units' => [ 'px', '%', 'em' ], 596 596 'selectors' => [ 597 597 '{{WRAPPER}} .wlspcial-banner .banner-content h5 span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 598 598 ], 599 599 ] 600 600 ); 601 601 602 602 $this->add_responsive_control( 603 603 'banner_offer_tag_padding', 604 604 [ 605 605 'label' => __( 'Padding', 'woolentor' ), 606 606 'type' => Controls_Manager::DIMENSIONS, 607 607 'size_units' => [ 'px', '%', 'em' ], 608 608 'selectors' => [ 609 609 '{{WRAPPER}} .wlspcial-banner .banner-content h5 span' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 610 610 ], 611 611 ] 612 612 ); 613 613 614 614 $this->end_controls_section(); 615 615 616 616 // Style Button tab section 617 617 $this->start_controls_section( 618 618 'banner_button_style_section', 619 619 [ 620 620 'label' => __( 'Button', 'woolentor' ), 621 621 'tab' => Controls_Manager::TAB_STYLE, 622 622 'condition'=>[ 623 623 'banner_button_txt!'=>'', 624 624 ] 625 625 ] 626 626 ); 627 627 628 628 $this->start_controls_tabs('button_style_tabs'); 629 629 630 630 $this->start_controls_tab( 631 631 'button_style_normal_tab', 632 632 [ 633 633 'label' => __( 'Normal', 'woolentor' ), 634 634 ] 635 635 ); 636 636 $this->add_control( 637 637 'button_text_color', 638 638 [ 639 639 'label' => __( 'Color', 'woolentor' ), 640 640 'type' => Controls_Manager::COLOR, 641 641 'default' =>'#ffffff', 642 642 'selectors' => [ 643 643 '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'color: {{VALUE}};', 644 644 ], 645 645 ] 646 646 ); 647 647 648 648 $this->add_group_control( 649 649 Group_Control_Typography::get_type(), 650 650 [ 651 651 'name' => 'button_typography', 652 652 'label' => __( 'Typography', 'woolentor' ), 653 653 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a', 654 654 ] 655 655 ); 656 656 657 657 $this->add_group_control( 658 658 Group_Control_Border::get_type(), 659 659 [ 660 660 'name' => 'button_border', 661 661 'label' => __( 'Border', 'woolentor' ), 662 662 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a', 663 663 ] 664 664 ); 665 665 666 666 $this->add_responsive_control( 667 667 'button_border_radius', 668 668 [ 669 669 'label' => __( 'Border Radius', 'woolentor' ), 670 670 'type' => Controls_Manager::DIMENSIONS, 671 671 'selectors' => [ 672 672 '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;', 673 673 ], 674 674 ] 675 675 ); 676 676 677 677 $this->add_group_control( 678 678 Group_Control_Background::get_type(), 679 679 [ 680 680 'name' => 'button_background', 681 681 'label' => __( 'Background', 'woolentor' ), 682 682 'types' => [ 'classic', 'gradient' ], 683 683 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a', 684 684 'separator' => 'before', 685 685 ] 686 686 ); 687 687 688 688 $this->add_responsive_control( 689 689 'button_padding', 690 690 [ 691 691 'label' => __( 'Padding', 'woolentor' ), 692 692 'type' => Controls_Manager::DIMENSIONS, 693 693 'size_units' => [ 'px', '%', 'em' ], 694 694 'selectors' => [ 695 695 '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 696 696 ], 697 697 'separator' => 'before', 698 698 ] 699 699 ); 700 700 701 701 $this->add_responsive_control( 702 702 'button_margin', 703 703 [ 704 704 'label' => __( 'Margin', 'woolentor' ), 705 705 'type' => Controls_Manager::DIMENSIONS, 706 706 'size_units' => [ 'px', '%', 'em' ], 707 707 'selectors' => [ 708 708 '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 709 709 ], 710 710 'separator' => 'before', 711 711 ] 712 712 ); 713 713 714 714 $this->end_controls_tab(); // Button Normal tab end 715 715 716 716 // Button Hover tab start 717 717 $this->start_controls_tab( 718 718 'button_style_hover_tab', 719 719 [ 720 720 'label' => __( 'Hover', 'woolentor' ), 721 721 ] 722 722 ); 723 723 724 724 $this->add_control( 725 725 'button_hover_text_color', 726 726 [ 727 727 'label' => __( 'Color', 'woolentor' ), 728 728 'type' => Controls_Manager::COLOR, 729 729 'default' =>'#ffffff', 730 730 'selectors' => [ 731 731 '{{WRAPPER}} .wlspcial-banner .banner-content a:hover' => 'color: {{VALUE}};', 732 732 ], 733 733 ] 734 734 ); 735 735 736 736 $this->add_group_control( 737 737 Group_Control_Border::get_type(), 738 738 [ 739 739 'name' => 'button_hover_border', 740 740 'label' => __( 'Border', 'woolentor' ), 741 741 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a:hover', 742 742 ] 743 743 ); 744 744 745 745 $this->add_responsive_control( 746 746 'button_hover_border_radius', 747 747 [ 748 748 'label' => __( 'Border Radius', 'woolentor' ), 749 749 'type' => Controls_Manager::DIMENSIONS, 750 750 'selectors' => [ 751 751 '{{WRAPPER}} .wlspcial-banner .banner-content a:hover' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;', 752 752 ], 753 753 ] 754 754 ); 755 755 756 756 $this->add_group_control( 757 757 Group_Control_Background::get_type(), 758 758 [ 759 759 'name' => 'button_hover_background', 760 760 'label' => __( 'Background', 'woolentor' ), 761 761 'types' => [ 'classic', 'gradient' ], 762 762 'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a:hover', 763 763 'separator' => 'before', 764 764 ] 765 765 ); 766 766 767 767 $this->end_controls_tab(); // Button Hover tab end 768 768 769 769 $this->end_controls_tabs(); 770 770 771 771 $this->end_controls_section(); 772 772 773 773 } 774 774 775 775 protected function render( $instance = [] ) { 776 776 777 777 $settings = $this->get_settings_for_display(); 778 778 779 779 $this->add_render_attribute( 'woolentor_banner', 'class', 'wlspcial-banner woolentor-banner-content-pos-'.$settings['banner_content_pos'] ); 780 780 781 781 // URL Generate 782 782 if ( ! empty( $settings['banner_link']['url'] ) ) { 783 783 784 $this->add_render_attribute( 'url', 'href', $settings['banner_link']['url']);784 $this->add_render_attribute( 'url', 'href', esc_url($settings['banner_link']['url']) ); 785 785 if ( $settings['banner_link']['is_external'] ) { 786 786 $this->add_render_attribute( 'url', 'target', '_blank' ); 787 787 } 788 788 789 789 if ( ! empty( $settings['banner_link']['nofollow'] ) ) { 790 790 $this->add_render_attribute( 'url', 'rel', 'nofollow' ); 791 791 } 792 792 } 793 793 794 794 ?> 795 795 <div <?php echo $this->get_render_attribute_string( 'woolentor_banner' ); ?>> 796 796 <div class="banner-thumb"> 797 797 <a <?php echo $this->get_render_attribute_string( 'url' ); ?>> 798 798 <?php 799 799 echo Group_Control_Image_Size::get_attachment_image_html( $settings, 'banner_image_size', 'banner_image' ); 800 800 ?> 801 801 </a> 802 802 </div> 803 803 <?php 804 804 if( !empty($settings['banner_badge_image']['url']) ){ 805 echo '<div class="wlbanner-badgeimage"><img src="' . $settings['banner_badge_image']['url']. '"></div>';805 echo '<div class="wlbanner-badgeimage"><img src="' . esc_url($settings['banner_badge_image']['url']) . '"></div>'; 806 806 } 807 807 ?> 808 808 <div class="banner-content"> 809 809 <?php 810 810 if( !empty( $settings['banner_title'] ) ){ 811 811 echo '<h2>'.$settings['banner_title'].'</h2>'; 812 812 } 813 813 if( !empty( $settings['banner_sub_title'] ) ){ 814 814 echo '<h6>'.$settings['banner_sub_title'].'</h6>'; 815 815 } 816 816 if( !empty( $settings['banner_offer'] ) ){ 817 817 echo '<h5>'.$settings['banner_offer'].'<span>'.$settings['banner_offer_tag_line'].'</span></h5>'; 818 818 } 819 819 if( !empty( $settings['banner_description'] ) ){ 820 820 echo '<p>'.$settings['banner_description'].'</p>'; 821 821 } 822 822 823 823 if( !empty( $settings['banner_button_txt'] ) ){ 824 824 echo '<a '.$this->get_render_attribute_string( 'url' ).'>'.esc_html__( $settings['banner_button_txt'],'woolentor' ).'</a>'; 825 825 } 826 826 ?> 827 827 </div> 828 828 </div> 829 829 830 830 <?php 831 831 832 832 } 833 833 834 834 } -
woolentor-addons/trunk/includes/addons/wb_product_image.php
r3037382 r3044764 1 1 <?php 2 2 namespace Elementor; 3 3 4 4 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 5 5 6 6 class Woolentor_Wb_Product_Image_Widget extends Widget_Base { 7 7 8 8 public function get_name() { 9 9 return 'wl-single-product-image'; 10 10 } 11 11 12 12 public function get_title() { 13 13 return __( 'WL: Product Image', 'woolentor' ); 14 14 } 15 15 16 16 public function get_icon() { 17 17 return 'eicon-product-images'; 18 18 } 19 19 20 20 public function get_categories() { 21 21 return array( 'woolentor-addons' ); 22 22 } 23 23 24 24 public function get_help_url() { 25 25 return 'https://woolentor.com/documentation/'; 26 26 } 27 27 28 28 public function get_style_depends(){ 29 29 return [ 30 30 'woolentor-widgets', 31 31 ]; 32 32 } 33 33 34 34 public function get_keywords(){ 35 35 return ['image','product image','product thumbnail']; 36 36 } 37 37 38 38 protected function register_controls() { 39 39 40 40 // Product Image Style 41 41 $this->start_controls_section( 42 42 'product_image_style_section', 43 43 array( 44 44 'label' => __( 'Image', 'woolentor' ), 45 45 'tab' => Controls_Manager::TAB_STYLE, 46 46 ) 47 47 ); 48 48 49 49 $this->add_group_control( 50 50 Group_Control_Border::get_type(), 51 51 [ 52 52 'name' => 'product_image_border', 53 53 'selector' => '.woocommerce {{WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, 54 54 .woocommerce {{WRAPPER}} .flex-viewport', 55 55 ] 56 56 ); 57 57 58 58 $this->add_responsive_control( 59 59 'product_image_border_radius', 60 60 [ 61 61 'label' => __( 'Border Radius', 'woolentor' ), 62 62 'type' => Controls_Manager::DIMENSIONS, 63 63 'size_units' => [ 'px', '%' ], 64 64 'selectors' => [ 65 65 '.woocommerce {{WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, 66 66 .woocommerce {{WRAPPER}} .flex-viewport' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow:hidden', 67 67 ], 68 68 ] 69 69 ); 70 70 71 71 $this->add_responsive_control( 72 72 'product_margin', 73 73 [ 74 74 'label' => __( 'Margin', 'woolentor' ), 75 75 'type' => Controls_Manager::DIMENSIONS, 76 76 'size_units' => [ 'px', 'em' ], 77 77 'selectors' => [ 78 78 '.woocommerce {{WRAPPER}} .flex-viewport:not(:last-child)' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 79 79 ], 80 80 ] 81 81 ); 82 82 83 83 $this->end_controls_section(); 84 84 85 85 // Product Thumbnails Style 86 86 $this->start_controls_section( 87 87 'product_thumbnails_image_style_section', 88 88 array( 89 89 'label' => __( 'Thumbnails', 'woolentor' ), 90 90 'tab' => Controls_Manager::TAB_STYLE, 91 91 ) 92 92 ); 93 93 94 94 $this->add_group_control( 95 95 Group_Control_Border::get_type(), 96 96 [ 97 97 'name' => 'product_thumbnails_border', 98 98 'label' => __( 'Thumbnails Border', 'woolentor' ), 99 99 'selector' => '.woocommerce {{WRAPPER}} .flex-control-thumbs img', 100 100 ] 101 101 ); 102 102 103 103 $this->add_responsive_control( 104 104 'product_thumbnails_border_radius', 105 105 [ 106 106 'label' => __( 'Border Radius', 'woolentor' ), 107 107 'type' => Controls_Manager::DIMENSIONS, 108 108 'size_units' => [ 'px', '%' ], 109 109 'selectors' => [ 110 110 '.woocommerce {{WRAPPER}} .flex-control-thumbs img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}', 111 111 ], 112 112 ] 113 113 ); 114 114 115 115 $this->add_control( 116 116 'product_thumbnails_spacing', 117 117 [ 118 118 'label' => __( 'Spacing', 'woolentor' ), 119 119 'type' => Controls_Manager::SLIDER, 120 120 'size_units' => [ 'px', 'em' ], 121 121 'selectors' => [ 122 122 '.woocommerce {{WRAPPER}} .flex-control-thumbs li' => 'padding-right: calc({{SIZE}}{{UNIT}} / 2); padding-left: calc({{SIZE}}{{UNIT}} / 2); padding-bottom: {{SIZE}}{{UNIT}}', 123 123 '.woocommerce {{WRAPPER}} .flex-control-thumbs' => 'margin-right: calc(-{{SIZE}}{{UNIT}} / 2); margin-left: calc(-{{SIZE}}{{UNIT}} / 2)', 124 124 ], 125 125 ] 126 126 ); 127 127 128 128 $this->end_controls_section(); 129 129 130 130 } 131 131 132 132 133 133 protected function render( $instance = [] ) { 134 134 135 135 $settings = $this->get_settings_for_display(); 136 136 global $product; 137 137 $product = wc_get_product(); 138 138 139 139 if( woolentor_is_preview_mode() ){ 140 140 echo \WooLentor_Default_Data::instance()->default( $this->get_name() ); 141 141 } else{ 142 142 if ( empty( $product ) ) { return; } 143 143 $current_theme = wp_get_theme(); 144 144 /** 145 145 * Hook: woocommerce_before_single_product_summary. 146 146 * 147 147 * @hooked woocommerce_show_product_sale_flash - 10 148 148 * @hooked woocommerce_show_product_images - 20 149 149 */ 150 150 if( $current_theme->get( 'TextDomain' ) == 'woostify' ){ 151 151 do_action( 'woocommerce_before_single_product_summary' ); 152 152 echo '</div></div></div>'; 153 }elseif( $current_theme->get( 'TextDomain' ) == 'blocksy' ){153 }elseif( $current_theme->get( 'TextDomain' ) == 'blocksy' || woolentor_current_theme_is_fse()){ 154 154 woocommerce_show_product_sale_flash(); 155 155 woocommerce_show_product_images(); 156 156 }else{ 157 157 do_action( 'woocommerce_before_single_product_summary' ); 158 158 } 159 159 160 160 } 161 161 162 162 } 163 163 164 164 } -
woolentor-addons/trunk/includes/admin/include/class.template-manager.php
r3037382 r3044764 1 1 <?php 2 2 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 3 3 require( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/include/class.template_cpt.php' ); 4 4 require( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/include/template-library/manager.php' ); 5 5 6 6 class Woolentor_Template_Manager{ 7 7 8 8 const CPTTYPE = 'woolentor-template'; 9 9 const CPT_META = 'woolentor_template_meta'; 10 10 public static $language_code = ''; 11 11 12 12 private static $_instance = null; 13 13 public static function instance(){ 14 14 if( is_null( self::$_instance ) ){ 15 15 self::$_instance = new self(); 16 16 } 17 17 return self::$_instance; 18 18 } 19 19 20 20 function __construct(){ 21 21 Woolentor_Template_CPT::instance(); 22 22 23 23 add_action('wp_loaded', function(){ 24 24 self::$language_code = apply_filters('woolentor_current_language_code', 'en'); 25 25 } ); 26 26 27 27 //Add Menu 28 28 add_action( 'admin_menu', [ $this, 'admin_menu' ], 225 ); 29 29 30 30 // Load Scripts 31 31 add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] ); 32 32 33 33 // Print template edit popup. 34 34 add_action( 'admin_footer', [ $this, 'print_popup' ] ); 35 35 36 36 // Template type column. 37 37 add_action( 'manage_' . self::CPTTYPE . '_posts_columns', [ $this, 'manage_columns' ] ); 38 38 add_action( 'manage_' . self::CPTTYPE . '_posts_custom_column', [ $this, 'columns_content' ], 10, 2 ); 39 39 40 40 // Print template tabs. 41 41 add_filter( 'views_edit-' . self::CPTTYPE, [ $this, 'print_tabs' ] ); 42 42 43 43 // query filter 44 44 add_filter( 'parse_query', [ $this, 'query_filter' ] ); 45 45 46 46 // Post Row Action 47 47 add_filter( 'post_row_actions', [ $this, 'row_actions' ], 10, 2 ); 48 48 49 49 add_filter('theme_'.self::CPTTYPE.'_templates', [ $this, 'add_page_templates' ], 999, 4 ); 50 50 51 51 // Template store ajax action 52 52 add_action( 'wp_ajax_woolentor_template_store', [ $this, 'template_store_request' ] ); 53 53 54 54 // Get template data Ajax action 55 55 add_action( 'wp_ajax_woolentor_get_template', [ $this, 'get_post_By_id' ] ); 56 56 57 57 // Manage Template Default Status 58 58 add_action( 'wp_ajax_woolentor_manage_default_template', [ $this, 'manage_template_status' ] ); 59 59 60 60 // Template Import 61 61 add_action( 'wp_ajax_woolentor_import_template', [ $this, 'template_import' ] ); 62 62 63 63 } 64 64 65 65 /** 66 66 * [admin_menu] Add Post type Submenu 67 67 * 68 68 * @return void 69 69 */ 70 70 public function admin_menu(){ 71 71 $link_custom_post = 'edit.php?post_type=' . self::CPTTYPE; 72 72 add_submenu_page( 73 73 'woolentor_page', 74 74 esc_html__('Template Builder', 'woolentor'), 75 75 esc_html__('Template Builder', 'woolentor'), 76 76 'manage_options', 77 77 $link_custom_post, 78 78 NULL 79 79 ); 80 80 } 81 81 82 82 /** 83 83 * Manage Post Table columns 84 84 * 85 85 * @param [array] $columns 86 86 * @return array 87 87 */ 88 88 public function manage_columns( $columns ) { 89 89 90 90 $column_author = $columns['author']; 91 91 $column_date = $columns['date']; 92 92 93 93 unset( $columns['date'] ); 94 94 unset( $columns['author'] ); 95 95 96 96 $columns['type'] = esc_html__('Type', 'woolentor'); 97 97 $columns['setdefault'] = esc_html__('Default', 'woolentor'); 98 98 $columns['author'] = esc_html( $column_author ); 99 99 $columns['date'] = esc_html( $column_date ); 100 100 101 101 return $columns; 102 102 } 103 103 104 104 /** 105 105 * Manage Custom column content 106 106 * 107 107 * @param [string] $column_name 108 108 * @param [int] $post_id 109 109 * @return void 110 110 */ 111 111 public function columns_content( $column_name, $post_id ) { 112 112 $tmpType = get_post_meta( $post_id, 'woolentor_template_meta_type', true ); 113 113 114 114 if( !array_key_exists( $tmpType, self::get_template_type() ) ){ 115 115 return; 116 116 } 117 117 118 118 // Tabs Group 119 119 if( strpos( $tmpType, 'cart' ) !== false ){ 120 120 $tmpTypeGroup = 'cart'; 121 121 }else if( strpos( $tmpType, 'myaccount' ) !== false ){ 122 122 $tmpTypeGroup = 'myaccount'; 123 123 }else if( strpos( $tmpType, 'checkout' ) !== false ){ 124 124 $tmpTypeGroup = 'checkout'; 125 125 }else{ 126 126 $tmpTypeGroup = $tmpType; 127 127 } 128 128 129 129 if( $column_name === 'type' ){ 130 130 $tabs = ''; 131 131 echo isset( self::get_template_type()[$tmpType] ) ? '<a class="column-tmptype" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$tmpType.'&tabs='.$tmpTypeGroup.'">'.self::get_template_type()[$tmpType]['label'].'</a>' : '-'; 132 132 }elseif( $column_name === 'setdefault' ){ 133 133 134 134 $value = $this->get_template_id( self::get_template_type()[$tmpType]['optionkey'] ); 135 135 $checked = checked( $value, $post_id, false ); 136 136 137 137 echo '<label class="woolentor-default-tmp-status-switch" id="woolentor-default-tmp-status-'.esc_attr( $tmpType ).'-'.esc_attr( $post_id ).'"><input class="woolentor-status-'.esc_attr( $tmpType ).'" id="woolentor-default-tmp-status-'.esc_attr( $tmpType ).'-'.esc_attr( $post_id ).'" type="checkbox" value="'.esc_attr( $post_id ).'" '.$checked.'/><span><span>'.esc_html__('NO','woolentor').'</span><span>'.esc_html__('YES','woolentor').'</span></span><a> </a></label>'; 138 138 139 139 } 140 140 141 141 } 142 142 143 143 /** 144 144 * Check WooLentor template screen 145 145 * 146 146 * @return boolean 147 147 */ 148 148 private function is_current_screen() { 149 149 global $pagenow, $typenow; 150 150 return 'edit.php' === $pagenow && self::CPTTYPE === $typenow; 151 151 } 152 152 153 153 /** 154 154 * Manage Template filter by template type 155 155 * 156 156 * @param \WP_Query $query 157 157 * @return void 158 158 */ 159 159 public function query_filter( \WP_Query $query ) { 160 160 if ( ! is_admin() || ! $this->is_current_screen() || ! empty( $query->query_vars['meta_key'] ) ) { 161 161 return; 162 162 } 163 163 164 164 if( isset( $_GET['template_type'] ) && $_GET['template_type'] != '' && $_GET['template_type'] != 'all') { 165 165 $type = isset( $_GET['template_type'] ) ? sanitize_key( $_GET['template_type'] ) : ''; 166 166 167 167 if ( ( 'emails' === $type ) && ( 'on' == woolentor_get_option( 'enable', 'woolentor_email_customizer_settings', 'off' ) ) ) { 168 168 $emails = woolentor_wc_get_emails( 'id' ); 169 169 $emails = array_map( function ( $id ) { return 'email_' . $id; }, $emails ); 170 170 171 171 $meta_query = [ 172 172 'relation' => 'OR' 173 173 ]; 174 174 175 175 foreach ( $emails as $email ) { 176 176 $meta_query[] = [ 177 177 'key' => self::CPT_META . '_type', 178 178 'value' => $email, 179 179 'compare' => '=', 180 180 ]; 181 181 } 182 182 $query->query_vars['meta_query'] = $meta_query; 183 183 184 184 } else { 185 185 $query->query_vars['meta_key'] = self::CPT_META . '_type'; 186 186 $query->query_vars['meta_value'] = $type; 187 187 $query->query_vars['meta_compare'] = '='; 188 188 } 189 189 } else { 190 190 // Meta query to fetch only the posts that doest not containt the meta key '_woolentor_order_bump' 191 191 $query->query_vars['meta_query'] = [ 192 192 [ 193 193 'key' => '_woolentor_order_bump', 194 194 'compare' => 'NOT EXISTS', 195 195 ], 196 196 ]; 197 197 } 198 198 } 199 199 200 200 /** 201 201 * Manage Row Action 202 202 * 203 203 * @param [array] $actions 204 204 * @param [object] $post 205 205 * @return array 206 206 */ 207 207 public function row_actions( $actions, $post ) { 208 208 if ( $post->post_type == self::CPTTYPE ) { 209 209 210 210 if( $this->edit_with_gutenberg( $post->ID ) ) { 211 211 $actions['woolentor_edit_with_gutenberg'] = '<a href="'.get_edit_post_link($post->ID).'">'.esc_html__('Edit With Gutenberg', 'woolentor').'</a>'; 212 212 } 213 213 214 214 } 215 215 return $actions; 216 216 } 217 217 218 218 /** 219 219 * Add page templates. 220 220 * 221 221 * Fired by `theme_self::CPTTYPE_templates` filter. 222 222 * 223 223 * @param array $page_templates Array of page templates. Keys are filenames, 224 224 * 225 225 * @param \WP_Theme $wp_theme 226 226 * @param \WP_Post $post 227 227 * 228 228 * @return array Page templates. 229 229 */ 230 230 public function add_page_templates( $page_templates, $wp_theme, $post ){ 231 231 unset( $page_templates['elementor_theme'] ); 232 232 233 233 $page_templates['woolentor_canvas'] = esc_html__('WooLentor Canvas', 'woolentor'); 234 234 $page_templates['woolentor_fullwidth'] = esc_html__('WooLentor Full width', 'woolentor'); 235 235 236 236 return $page_templates; 237 237 } 238 238 239 239 /** 240 240 * Check edit with gutenberg 241 241 * 242 242 * @param [ind] $id 243 243 * @return boolean 244 244 */ 245 245 public function edit_with_gutenberg( $id ){ 246 246 $editor = get_post_meta( $id, 'woolentor_template_meta_editor', true ); 247 247 if( ! empty( $editor ) && $editor === 'gutenberg' ){ 248 248 return true; 249 249 }else{ 250 250 return false; 251 251 } 252 252 } 253 253 254 254 /** 255 255 * Get Template Menu Tabs 256 256 * 257 257 * @return array 258 258 */ 259 259 public static function get_tabs(){ 260 260 261 261 $tabs = [ 262 262 'shop' => [ 263 263 'label' =>__('Shop','woolentor') 264 264 ], 265 265 'archive' => [ 266 266 'label' =>__('Archive','woolentor') 267 267 ], 268 268 'single' => [ 269 269 'label' => __('Single','woolentor') 270 270 ], 271 271 ]; 272 272 return apply_filters( 'woolentor_template_menu_tabs', $tabs ); 273 273 274 274 } 275 275 276 276 /** 277 277 * Get Template Type 278 278 * 279 279 * @return array 280 280 */ 281 281 public static function get_template_type(){ 282 282 283 283 $template_type = [ 284 284 'shop' => [ 285 285 'label' =>__('Shop','woolentor'), 286 286 'optionkey' => 'productarchivepage' 287 287 ], 288 288 'archive' => [ 289 289 'label' =>__('Archive','woolentor'), 290 290 'optionkey' =>'productallarchivepage' 291 291 ], 292 292 'single' => [ 293 293 'label' => __('Single','woolentor'), 294 294 'optionkey' => 'singleproductpage' 295 295 ], 296 296 ]; 297 297 return apply_filters( 'woolentor_template_types', $template_type ); 298 298 299 299 } 300 300 301 301 /** 302 302 * Get sample design from library 303 303 * 304 304 * @return array 305 305 */ 306 306 public function get_template_library(){ 307 307 308 308 // Delete transient data 309 309 if ( get_option( 'woolentor_do_activation_library_cache', FALSE ) ) { 310 310 delete_transient( 'woolentor_template_info' ); 311 311 delete_option('woolentor_do_activation_library_cache'); 312 312 } 313 313 314 314 $elementor_template = Woolentor_Template_Library_Manager::get_templates_info(); 315 315 $gutenberg_template = Woolentor_Template_Library_Manager::get_gutenberg_templates_info(); 316 316 $get_data = (!empty( $elementor_template['templates'] ) && !empty( $gutenberg_template['templates'] )) ? array_merge($elementor_template['templates'],$gutenberg_template['templates']) : []; 317 317 $data = []; 318 318 319 319 if( !empty( $get_data ) ){ 320 320 foreach( $get_data as $template ){ 321 321 322 322 if( $template['post_type'] === 'woolentor-template' ){ 323 323 $data[$template['type']][] = $template; 324 324 if( $template['shareId'] == 'Shop' ){ 325 325 $data['archive'][] = $template; 326 326 } 327 327 }else{ 328 328 if( $template['shareId'] == 'Shop'){ 329 329 $data['shop'][] = $template; 330 330 $data['archive'][] = $template; 331 331 }else if($template['shareId'] == 'Product Details'){ 332 332 $data['single'][] = $template; 333 333 }else if($template['shareId'] == 'Cart'){ 334 334 $data['cart'][] = $template; 335 335 }else if( $template['shareId'] == 'Checkout Page' ){ 336 336 $data['checkout'][] = $template; 337 337 } 338 338 else if( $template['shareId'] == 'My Account' ){ 339 339 $data['myaccount'][] = $template; 340 340 } 341 341 } 342 342 343 343 } 344 344 } 345 345 346 346 return $data; 347 347 348 348 } 349 349 350 350 /** 351 351 * Print Template edit popup 352 352 * 353 353 * @return void 354 354 */ 355 355 public function print_popup() { 356 356 if( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'woolentor-template' ){ 357 357 include_once( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/templates/template_edit_popup.php' ); 358 358 } 359 359 } 360 360 361 361 /** 362 362 * Print Admin Tab 363 363 * 364 364 * @param [array] $views 365 365 * @return array 366 366 */ 367 367 public function print_tabs( $views ) { 368 368 $active_class = 'nav-tab-active'; 369 369 $current_type = ''; 370 370 if( isset( $_GET['tabs'] ) ){ 371 371 $active_class = ''; 372 372 $current_type = sanitize_key( $_GET['tabs'] ); 373 373 } 374 374 ?> 375 375 <div id="woolentor-template-tabs-wrapper" class="nav-tab-wrapper"> 376 376 <div class="woolentor-menu-area"> 377 377 <a class="nav-tab <?php echo $active_class; ?>" href="edit.php?post_type=<?php echo self::CPTTYPE; ?>"><?php echo __('All','woolentor');?></a> 378 378 <?php 379 379 foreach( self::get_tabs() as $tabkey => $tab ){ 380 380 $active_class = ( $current_type == $tabkey ? 'nav-tab-active' : '' ); 381 381 echo '<a class="nav-tab '.$active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$tabkey.'&tabs='.$tabkey.'">'.$tab['label'].'</a>'; 382 382 } 383 383 ?> 384 384 </div> 385 385 <div class="woolentor-template-importer"> 386 386 <button type="button" class="button button-primary"> 387 387 <span class="dashicons dashicons-download"></span> 388 388 <span class="woolentor-template-importer-btn-text"><?php esc_html_e('Import Previously Assigned Templates','woolentor');?></span> 389 389 </button> 390 390 </div> 391 391 </div> 392 392 <?php 393 393 if( !empty( $current_type ) && isset( self::get_tabs()[$current_type]['submenu'] ) ){ 394 394 395 395 $sub_tab_active_class = 'woolentor-sub-tab-active'; 396 396 $current_sub_tab = ''; 397 397 if( isset( $_GET['tab'] ) ){ 398 398 $sub_tab_active_class = ''; 399 399 $current_sub_tab = sanitize_key( $_GET['tab'] ); 400 400 } 401 401 402 402 echo '<div class="woolentor-template-subtabs"><ul>'; 403 403 echo '<li><a class="woolentor-sub-tab '.$sub_tab_active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$current_type.'&tabs='.$current_type.'">'.self::get_tabs()[$current_type]['label'].'</a></li>'; 404 404 405 405 foreach( self::get_tabs()[$current_type]['submenu'] as $subtabkey => $subtab ){ 406 406 $sub_tab_active_class = ( $current_sub_tab == $subtabkey ? 'woolentor-sub-tab-active' : '' ); 407 407 echo '<li><a class="woolentor-sub-tab '.$sub_tab_active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$subtabkey.'&tabs='.$current_type.'&tab='.$subtabkey.'">'.$subtab['label'].'</a></li>'; 408 408 } 409 409 410 410 echo '</ul></div>'; 411 411 412 412 } 413 413 ?> 414 414 <?php 415 415 return $views; 416 416 } 417 417 418 418 /** 419 419 * Manage Scripts 420 420 * 421 421 * @param [string] $hook 422 422 * @return void 423 423 */ 424 424 public function enqueue_scripts( $hook ){ 425 425 426 426 if( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'woolentor-template' ){ 427 427 428 428 // CSS 429 429 wp_enqueue_style( 'woolentor-template-edit-manager', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/css/template_edit_manager.css' ); 430 430 wp_enqueue_style('woolentor-sweetalert'); 431 431 wp_enqueue_style('slick', WOOLENTOR_ADDONS_PL_URL . 'assets/css/slick.css' ); 432 432 433 433 // JS 434 434 wp_enqueue_script('woolentor-sweetalert'); 435 435 wp_enqueue_script('slick', WOOLENTOR_ADDONS_PL_URL . 'assets/js/slick.min.js', array('jquery'), WOOLENTOR_VERSION, true ); 436 436 wp_enqueue_script( 'woolentor-template-edit-manager', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/template_edit_manager.js', array('jquery', 'wp-util'), WOOLENTOR_VERSION, true ); 437 437 438 438 $localize_data = [ 439 439 'ajaxurl' => admin_url( 'admin-ajax.php' ), 440 440 'prostatus' => is_admin() ? is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') : false, 441 441 'nonce' => wp_create_nonce('woolentor_tmp_nonce'), 442 442 'templatetype' => self::get_template_type(), 443 443 'haselementor' => woolentor_is_elementor_editor() ? 'yes' : 'no', 444 444 'editor' => [ 445 445 'elementor' => __('Elementor','woolentor'), 446 446 'gutenberg' => __('Gutenberg','woolentor') 447 447 ], 448 448 'templatelist' => $this->get_template_library(), 449 449 'adminURL' => admin_url(), 450 450 'labels' => [ 451 451 'fields'=>[ 452 452 'name' => [ 453 453 'title' => __('Name','woolentor'), 454 454 'placeholder' => __('Enter a template name','woolentor') 455 455 ], 456 456 'type' => __('Type','woolentor'), 457 457 'editor' => __('Select Editor','woolentor'), 458 458 'setdefault' => __('Set Default','woolentor'), 459 459 ], 460 460 'head' => __('Template Settings','woolentor'), 461 461 'buttons' => [ 462 462 'elementor' => [ 463 463 'label' => __('Edit With Elementor','woolentor'), 464 464 'link' => '#' 465 465 ], 466 466 'gutenberg' => [ 467 467 'label' => __('Edit With Gutenberg','woolentor'), 468 468 'link' => '#' 469 469 ], 470 470 'save' => [ 471 471 'label' => __('Save Settings','woolentor'), 472 472 'saving' => __('Saving...','woolentor'), 473 473 'saved' => __('All Data Saved','woolentor'), 474 474 'link' => '#' 475 475 ] 476 476 ], 477 477 'sampledata' => [ 478 478 'visibility' => __('Sample Design','woolentor'), 479 479 'elementor' => __('Elementor','woolentor'), 480 480 'gutenberg' => __('Gutenberg','woolentor'), 481 481 'pro' => __('Pro','woolentor'), 482 482 ], 483 483 'importer' =>[ 484 484 'button' => [ 485 485 'importing' => __('Assigned Template Importing..','woolentor'), 486 486 'imported' => __('All Assigned Template has been imported','woolentor'), 487 487 ], 488 488 'message' =>[ 489 489 'title' => __( 'Are you sure?','woolentor' ), 490 490 'message' => __( 'It will import those templates that were created from the "Templates" menu of Elementor and assigned to corresponding WooCommerce pages.','woolentor' ) , 491 491 'yesbtn' => __('Yes','woolentor'), 492 492 'cancelbtn' => __('Cancel','woolentor') 493 493 ] 494 494 ] 495 495 ] 496 496 ]; 497 497 wp_localize_script( 'woolentor-template-edit-manager', 'WLTMCPT', $localize_data ); 498 498 499 499 } 500 500 501 501 } 502 502 503 503 /** 504 504 * Store Template 505 505 * 506 506 * @return void 507 507 */ 508 508 public function template_store_request(){ 509 509 if ( isset( $_POST ) ) { 510 510 511 if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){ 512 $errormessage = array( 513 'message' => __('You are unauthorize to adding template!','woolentor') 514 ); 515 wp_send_json_error( $errormessage ); 516 } 517 511 518 $nonce = $_POST['nonce']; 512 519 if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) { 513 520 $errormessage = array( 514 521 'message' => __('Nonce Varification Faild !','woolentor') 515 522 ); 516 523 wp_send_json_error( $errormessage ); 517 524 } 518 525 519 526 $title = !empty( $_POST['title'] ) ? sanitize_text_field( $_POST['title'] ) : esc_html__( 'WooLentor template '.time(), 'woolentor' ); 520 527 $tmpid = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : ''; 521 528 $tmpType = !empty( $_POST['tmpType'] ) ? sanitize_text_field( $_POST['tmpType'] ) : 'single'; 522 529 $tmpEditor = !empty( $_POST['tmpEditor'] ) ? sanitize_text_field( $_POST['tmpEditor'] ) : 'gutenberg'; 523 530 $setDefault = !empty( $_POST['setDefault'] ) ? sanitize_text_field( $_POST['setDefault'] ) : 'no'; 524 531 $sampleTmpID = !empty( $_POST['sampleTmpID'] ) ? sanitize_text_field( $_POST['sampleTmpID'] ) : ''; 525 532 $sampleTmpBuilder = !empty( $_POST['sampleTmpBuilder'] ) ? sanitize_text_field( $_POST['sampleTmpBuilder'] ) : ''; 526 533 527 534 $data = [ 528 535 'title' => $title, 529 536 'id' => $tmpid, 530 537 'tmptype' => $tmpType, 531 538 'setdefaullt' => $setDefault, 532 539 'sampletmpid' => $sampleTmpID, 533 540 'sampletmpbuilder' => $sampleTmpBuilder 534 541 ]; 535 542 536 543 if( empty( $tmpid ) ){ 537 544 $data['tmpeditor'] = $tmpEditor; 538 545 } 539 546 540 547 if( $tmpid ){ 541 548 $this->update( $data ); 542 549 }else{ 543 550 $this->insert( $data ); 544 551 } 545 552 546 553 }else{ 547 554 $errormessage = array( 548 555 'message' => __('Post request dose not found','woolentor') 549 556 ); 550 557 wp_send_json_error( $errormessage ); 551 558 } 552 559 553 560 } 554 561 555 562 /** 556 563 * Template Insert 557 564 * 558 565 * @param [array] $data 559 566 * @return void 560 567 */ 561 568 public function insert( $data ){ 562 569 563 570 $args = [ 564 571 'post_type' => self::CPTTYPE, 565 572 'post_status' => $data['tmptype'] == 'popup' ? 'draft' : 'publish', 566 573 'post_title' => $data['title'], 567 574 ]; 568 575 $new_post_id = wp_insert_post( $args ); 569 576 570 577 if( $new_post_id ){ 571 578 $return = array( 572 579 'message' => __('Template has been inserted','woolentor'), 573 580 'id' => $new_post_id, 574 581 ); 575 582 576 583 // Meta data 577 584 $template_slug = ( $data['tmpeditor'] === 'elementor' ) ? 'elementor_header_footer' : 'woolentor_fullwidth'; 578 585 $default_page_template = apply_filters( 'woolentor_default_page_template', $template_slug, $data['tmptype'] ); 579 586 580 587 update_post_meta( $new_post_id, self::CPT_META . '_type', $data['tmptype'] ); 581 588 update_post_meta( $new_post_id, self::CPT_META . '_editor', $data['tmpeditor'] ); 582 589 update_post_meta( $new_post_id, '_wp_page_template', $default_page_template ); 583 590 584 591 if( $data['tmpeditor'] === 'elementor' ){ 585 592 update_post_meta( $new_post_id, '_elementor_edit_mode', 'builder'); 586 593 } 587 594 588 595 // Sample data import 589 596 $this->sampleTemplateImport($data, $new_post_id); 590 597 591 598 // Update Default template if user is set default 592 599 if( $data['setdefaullt'] == 'yes' ) { 593 600 $data['id'] = $new_post_id; 594 601 $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], $new_post_id, $data ); 595 602 } 596 603 597 604 wp_send_json_success( $return ); 598 605 599 606 }else{ 600 607 $errormessage = array( 601 608 'message' => __('Some thing is worng !','woolentor') 602 609 ); 603 610 wp_send_json_error( $errormessage ); 604 611 } 605 612 606 613 } 607 614 608 615 /** 609 616 * Template Update 610 617 * 611 618 * @param [array] $data 612 619 * @return void 613 620 */ 614 621 public function update( $data ){ 615 622 616 623 $update_post_args = array( 617 624 'ID' => $data['id'], 618 625 'post_title' => $data['title'], 619 626 ); 620 627 wp_update_post( $update_post_args ); 621 628 622 629 // Update Meta data 623 630 update_post_meta( $data['id'], self::CPT_META . '_type', $data['tmptype'] ); 624 631 625 632 // Sample data import 626 633 $this->sampleTemplateImport( $data, $data['id'] ); 627 634 628 635 // Update Default template if user is set default 629 636 if( $data['setdefaullt'] == 'yes' ) { 630 637 $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], $data['id'], $data ); 631 638 }else{ 632 639 $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], '0', $data ); 633 640 } 634 641 635 642 $return = array( 636 643 'message' => __('Template has been updated','woolentor'), 637 644 'id' => $data['id'] 638 645 ); 639 646 wp_send_json_success( $return ); 640 647 641 648 } 642 649 643 650 /** 644 651 * Sample Desing Importer 645 652 * 646 653 * @return void 647 654 */ 648 655 public function sampleTemplateImport($data, $post_id){ 649 656 650 657 if( !empty( $data['sampletmpid'] ) ){ 651 658 652 659 $response_data = ($data['sampletmpbuilder'] == 'elementor') ? Woolentor_Template_Library_Manager::get_template_data('template', $data['sampletmpid']) : Woolentor_Template_Library_Manager::get_template_data('gutenberg', $data['sampletmpid']); 653 660 654 661 $this->popBuilderSettings( $response_data, $post_id ); 655 662 656 663 if( $data['sampletmpbuilder'] == 'elementor' ){ 657 664 $json_value = wp_slash( wp_json_encode( $response_data['content']['content'] ) ); 658 665 update_post_meta( $post_id, '_elementor_data', $json_value ); 659 666 }else{ 660 667 wp_update_post( ['ID' => $post_id, 'post_content'=> $response_data['content']] ); 661 668 } 662 669 } 663 670 664 671 } 665 672 666 673 /** 667 674 * Add PopupBuilder Additional Settings 668 675 * 669 676 * @param [type] $data 670 677 * @param [type] $post_id 671 678 * @return void 672 679 */ 673 680 public function popBuilderSettings( $data, $post_id ){ 674 681 if( !empty( $data['type'] ) && $data['type'] == 'popup' ){ 675 682 update_post_meta( $post_id, '_wlpb_popup_seetings', $data['popup_settings']); 676 683 } 677 684 } 678 685 679 686 /** 680 687 * Get Template data by id 681 688 * 682 689 * @return void 683 690 */ 684 691 public function get_post_By_id(){ 685 692 if ( isset( $_POST ) ) { 693 694 if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){ 695 $errormessage = array( 696 'message' => __('You are unauthorize to adding template!','woolentor') 697 ); 698 wp_send_json_error( $errormessage ); 699 } 686 700 687 701 $nonce = $_POST['nonce']; 688 702 if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) { 689 703 $errormessage = array( 690 704 'message' => __('Nonce Varification Faild !','woolentor') 691 705 ); 692 706 wp_send_json_error( $errormessage ); 693 707 } 694 708 695 709 $tmpid = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : ''; 696 710 $postdata = get_post( $tmpid ); 697 711 $tmpType = !empty( get_post_meta( $tmpid, self::CPT_META . '_type', true ) ) ? get_post_meta( $tmpid, self::CPT_META . '_type', true ) : 'single'; 698 712 $tmpEditor = !empty( get_post_meta( $tmpid, self::CPT_META . '_editor', true ) ) ? get_post_meta( $tmpid, self::CPT_META . '_editor', true ) : 'elementor'; 699 713 $data = [ 700 714 'tmpTitle' => $postdata->post_title, 701 715 'tmpType' => $tmpType, 702 716 'tmpEditor' => $tmpEditor, 703 717 'setDefault' => isset( self::get_template_type()[$tmpType]['optionkey'] ) ? $this->get_template_id(self::get_template_type()[$tmpType]['optionkey']) : '0', 704 718 ]; 705 719 wp_send_json_success( $data ); 706 720 707 721 }else{ 708 722 $errormessage = array( 709 723 'message' => __('Some thing is worng !','woolentor') 710 724 ); 711 725 wp_send_json_error( $errormessage ); 712 726 } 713 727 714 728 } 715 729 716 730 /** 717 731 * set_default_template_type function 718 732 * 719 733 * @return void 720 734 */ 721 735 public function manage_template_status(){ 722 736 723 737 if ( isset( $_POST ) ) { 724 738 739 if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){ 740 $errormessage = array( 741 'message' => __('You are unauthorize to adding template!','woolentor') 742 ); 743 wp_send_json_error( $errormessage ); 744 } 745 725 746 $nonce = $_POST['nonce']; 726 747 if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) { 727 748 $errormessage = array( 728 749 'message' => __('Nonce Varification Faild !','woolentor') 729 750 ); 730 751 wp_send_json_error( $errormessage ); 731 752 } 732 753 733 754 $tmpid = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : '0'; 734 755 $tmpType = !empty( $_POST['tmpType'] ) ? sanitize_text_field( $_POST['tmpType'] ) : 'single'; 735 756 736 757 $data = [ 737 758 'id' => $tmpid, 738 759 'tmptype' => $tmpType, 739 760 'setdefaullt' => ( $tmpid == '0' ) ? 'no' : 'yes', 740 761 ]; 741 762 742 763 $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$tmpType]['optionkey'], $tmpid, $data ); 743 764 744 765 $return = array( 745 766 'message' => __('Template has been updated','woolentor'), 746 767 'id' => $tmpid 747 768 ); 748 769 749 770 wp_send_json_success( $return ); 750 771 751 772 }else{ 752 773 $errormessage = array( 753 774 'message' => __('Some thing is worng !','woolentor') 754 775 ); 755 776 wp_send_json_error( $errormessage ); 756 777 } 757 778 758 779 } 759 780 760 781 /** 761 782 * option value Manage 762 783 * 763 784 * @return string 764 785 */ 765 786 766 787 public function template_id_manage( $option_value, $template_data ){ 767 788 $option_value = !empty( $option_value ) ? maybe_unserialize( $option_value ) : []; 768 789 769 790 $data = [ 'lang' => [] ]; 770 791 771 792 if( is_array( $option_value ) && isset( $option_value['lang'] ) && is_array( $option_value['lang'] ) && array_key_exists( self::$language_code, $option_value['lang'] ) ){ 772 793 $option_value['lang'][self::$language_code]['template_id'] = $template_data['id']; 773 794 $option_value['lang'][self::$language_code]['default'] = $template_data['setdefaullt']; 774 795 $data = $option_value; 775 796 }else{ 776 797 if( is_array( $option_value ) && isset( $option_value['lang'] ) ){ 777 798 $data['lang'] = $option_value['lang']; 778 799 } 779 800 $data['lang'][self::$language_code] = [ 780 801 'template_id' => $template_data['id'], 781 802 'default' => $template_data['setdefaullt'], 782 803 ]; 783 804 } 784 805 return serialize( $data ); 785 806 786 807 } 787 808 788 809 /** 789 810 * get_template_id function 790 811 * 791 812 * @return [int] 792 813 */ 793 814 public function get_template_id( $template_key, $callback = false ){ 794 815 $option_value = ( $callback && is_callable( $callback ) ) ? $callback( $template_key, 'woolentor_woo_template_tabs', '0' ) : woolentor_get_option( $template_key, 'woolentor_woo_template_tabs', '0' ); 795 816 $option_value = maybe_unserialize( $option_value ); 796 817 $template_id = 0; 797 818 if( is_array( $option_value ) && array_key_exists( self::$language_code, $option_value['lang'] ) ){ 798 819 $template_id = ( $option_value['lang'][self::$language_code]['template_id'] != '0' ) ? $option_value['lang'][self::$language_code]['template_id'] : $option_value['lang']['en']['template_id']; 799 820 }else{ 800 821 if( is_array( $option_value ) ){ 801 822 $template_id = isset( $option_value['lang']['en']['template_id'] ) ? $option_value['lang']['en']['template_id'] : '0'; 802 823 }else{ 803 824 $template_id = $option_value; 804 825 } 805 826 } 806 827 return $template_id; 807 828 } 808 829 809 830 /** 810 831 * update_option 811 832 * 812 833 * @return void 813 834 */ 814 835 public function update_option( $section, $option_key, $new_value, $template_data ){ 815 836 if( $new_value === Null ){ $new_value = ''; } 816 837 $options_datad = is_array( get_option( $section ) ) ? get_option( $section ) : array(); 817 838 if( defined( 'WOOLENTOR_VERSION_PRO' ) && ( '2.0.6' >= WOOLENTOR_VERSION_PRO ) ){ 818 839 $options_datad[$option_key] = $new_value; 819 840 }else{ 820 841 $options_data_value = isset( $options_datad[$option_key] ) ? $options_datad[$option_key] : ''; 821 842 $options_datad[$option_key] = $this->template_id_manage( $options_data_value, $template_data ); 822 843 } 823 844 update_option( $section, $options_datad ); 824 845 } 825 846 826 847 /** 827 848 * Template Importer 828 849 * 829 850 * @return void 830 851 */ 831 852 public function template_import(){ 832 853 if ( isset( $_POST ) ) { 854 855 if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){ 856 $errormessage = array( 857 'message' => __('You are unauthorize to adding template!','woolentor') 858 ); 859 wp_send_json_error( $errormessage ); 860 } 833 861 834 862 $nonce = $_POST['nonce']; 835 863 if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) { 836 864 $errormessage = array( 837 865 'message' => __('Nonce Varification Faild !','woolentor') 838 866 ); 839 867 wp_send_json_error( $errormessage ); 840 868 } 841 869 842 870 foreach( self::get_template_type() as $key => $template_type ){ 843 871 844 872 $tmp_id = $this->get_template_id( $template_type['optionkey'] ); 845 873 846 874 $get_args = array( 847 875 'p' => $tmp_id, 848 876 'post_type' => 'elementor_library' 849 877 ); 850 878 $templates_query = new \WP_Query( $get_args ); 851 879 wp_reset_query(); 852 880 853 881 if ( $templates_query->have_posts() ) { 854 882 855 883 $args = array( 856 884 'ID' => $tmp_id, 857 885 'post_type' => self::CPTTYPE, 858 886 ); 859 887 $update_id = wp_update_post( $args ); 860 888 861 889 if( ! is_wp_error( $update_id ) ){ 862 890 update_post_meta( $update_id, self::CPT_META . '_type', $key ); 863 891 } 864 892 865 893 } 866 894 867 895 } 868 896 869 897 $return = array( 870 898 'message' => __('Template has been imported','woolentor'), 871 899 ); 872 900 873 901 wp_send_json_success( $return ); 874 902 875 903 }else{ 876 904 $errormessage = array( 877 905 'message' => __('Some thing is worng !','woolentor') 878 906 ); 879 907 wp_send_json_error( $errormessage ); 880 908 } 881 909 882 910 } 883 911 884 912 885 913 } 886 914 887 915 Woolentor_Template_Manager::instance(); -
woolentor-addons/trunk/includes/admin/include/template-library/manager.php
r3037382 r3044764 1 1 <?php 2 2 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 3 3 4 4 class Woolentor_Template_Library_Manager{ 5 5 6 6 // Remote URL 7 7 const REST_ROUTE_URL = 'https://library.shoplentor.com/wp-json/woolentor'; 8 8 9 9 // Transient Key 10 10 const TRANSIENT_KEYES = [ 11 11 'template' => 'woolentor_template_info', 12 12 'gutenberg' => 'woolentor_gutenberg_template_info', 13 13 'pattern' => 'woolentor_gutenberg_patterns_info' 14 14 ]; 15 15 16 16 // API Endpoint 17 17 const API_ENDPOINT = [ 18 18 'template' => 'v1/templates', 19 19 'singletemplate'=> 'v1/templates/%s', 20 20 'gutenberg' => 'v1/gutenbergtemplates', 21 21 'pattern' => 'v1/gutenbergpatterns' 22 22 ]; 23 23 24 24 private static $_instance = null; 25 25 /** 26 26 * Class Instance 27 27 */ 28 28 public static function instance(){ 29 29 if( is_null( self::$_instance ) ){ 30 30 self::$_instance = new self(); 31 31 } 32 32 return self::$_instance; 33 33 } 34 34 35 35 /** 36 36 * Get Template Endpoint 37 37 */ 38 38 public static function get_api_endpoint(){ 39 39 if( is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && function_exists('woolentor_pro_template_endpoint') ){ 40 40 return woolentor_pro_template_endpoint(); 41 41 } 42 42 return self::get_remote_url('template'); 43 43 } 44 44 45 45 /** 46 46 * Get Template API 47 47 * @todo We will remove in Future 48 48 */ 49 49 public static function get_api_templateapi(){ 50 50 if( is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && function_exists('woolentor_pro_template_url') ){ 51 51 return woolentor_pro_template_url(); 52 52 } 53 53 return self::get_remote_url('singletemplate'); 54 54 } 55 55 56 56 /** 57 57 * Get Remote URL 58 58 * 59 59 * @param [type] $name 60 60 */ 61 61 public static function get_remote_url( $name ){ 62 62 return sprintf('%s/%s', self::REST_ROUTE_URL, self::API_ENDPOINT[$name]); 63 63 } 64 64 65 65 /** 66 66 * Set data to transient 67 67 * 68 68 * @param string $url 69 69 * @param string $transient_key 70 70 * @param boolean $force_update 71 71 * @return void 72 72 */ 73 73 public static function set_templates_info( $url = '', $transient_key = '', $force_update = false ) { 74 74 $transient = get_transient( $transient_key ); 75 75 if ( ! $transient || $force_update ) { 76 76 $info = self::get_content_remote_request( $url ); 77 77 set_transient( $transient_key, wp_json_encode( $info ), WEEK_IN_SECONDS ); 78 78 } 79 79 } 80 80 81 81 /** 82 82 * Get Remote Template List 83 83 * 84 84 * @param [type] $type 85 85 * @param [type] $endpoint 86 86 * @param boolean $force_update 87 87 * @return void 88 88 */ 89 89 public static function get_template_remote_data( $type, $endpoint = null, $force_update = false ){ 90 90 $transient_key = self::TRANSIENT_KEYES[$type]; 91 91 $endpoint = $endpoint !== null ? $endpoint : self::get_remote_url($type); 92 92 if ( !get_transient( $transient_key ) || $force_update ) { 93 93 self::set_templates_info( $endpoint, $transient_key, true ); 94 94 } 95 95 return is_array( get_transient( $transient_key ) ) ? get_transient( $transient_key ) : json_decode( get_transient( $transient_key ), JSON_OBJECT_AS_ARRAY ); 96 96 } 97 97 98 98 /** 99 99 * Get Template List 100 100 * 101 101 * @param boolean $force_update 102 102 * @return void 103 103 */ 104 104 public static function get_templates_info($force_update = false) { 105 105 return self::get_template_remote_data('template', self::get_api_endpoint(), $force_update); 106 106 } 107 107 108 108 /** 109 109 * Get Gutenberg Template List 110 110 * 111 111 * @param boolean $force_update 112 112 * @return void 113 113 */ 114 114 public static function get_gutenberg_templates_info($force_update = false) { 115 return self::get_template_remote_data('gutenberg', $force_update);115 return self::get_template_remote_data('gutenberg', self::get_remote_url('gutenberg'), $force_update); 116 116 } 117 117 118 118 /** 119 119 * Get Gutenberg Patterns list 120 120 * 121 121 * @param boolean $force_update 122 122 * @return void 123 123 */ 124 124 public static function get_gutenberg_patterns_info($force_update = false) { 125 return self::get_template_remote_data('pattern', $force_update);125 return self::get_template_remote_data('pattern', self::get_remote_url('pattern'), $force_update); 126 126 } 127 127 128 128 /** 129 129 * Get Template content by Template ID 130 130 * 131 131 * @param [type] $type template | gutenberg | pattern 132 132 * @param [type] $template_id 133 133 */ 134 134 public static function get_template_data( $type, $template_id ){ 135 135 $templateurl = sprintf( '%s/%s', self::get_remote_url($type), $template_id); 136 136 $response_data = self::get_content_remote_request( $templateurl ); 137 137 return $response_data; 138 138 } 139 139 140 140 /** 141 141 * Handle remote request 142 142 * 143 143 * @param [type] $request_url 144 144 */ 145 145 public static function get_content_remote_request( $request_url ){ 146 146 global $wp_version; 147 147 148 148 $response = wp_remote_get( 149 149 $request_url, 150 150 array( 151 151 'timeout' => 25, 152 152 'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url() 153 153 ) 154 154 ); 155 155 156 156 if ( is_wp_error( $response ) || 200 !== (int) wp_remote_retrieve_response_code( $response ) ) { 157 157 return []; 158 158 } 159 159 160 160 $result = json_decode( wp_remote_retrieve_body( $response ), true ); 161 161 return $result; 162 162 163 163 } 164 164 165 165 166 166 } -
woolentor-addons/trunk/includes/helper-function.php
r3037382 r3044764 1 1 <?php 2 2 3 3 // Exit if accessed directly 4 4 if( ! defined( 'ABSPATH' ) ) exit(); 5 5 6 6 /** 7 7 * [woolentor_is_woocommerce] 8 8 * @return [boolean] 9 9 */ 10 10 function woolentor_is_woocommerce() { 11 11 return class_exists( 'WooCommerce' ); 12 12 } 13 13 14 14 /** 15 15 * [woolentor_is_pro] 16 16 * @return [boolean] 17 17 */ 18 18 function woolentor_is_pro() { 19 19 return class_exists( '\WooLentorPro\Base' ); 20 20 } 21 21 22 22 /** 23 23 * Elementor Version check 24 24 * @return [boolean] 25 25 */ 26 26 function woolentor_is_elementor_version( $operator = '<', $version = '2.6.0' ) { 27 27 return defined( 'ELEMENTOR_VERSION' ) && version_compare( ELEMENTOR_VERSION, $version, $operator ); 28 28 } 29 29 30 30 /** 31 31 * Get elementor instance 32 32 * @return [\Elementor\Plugin] 33 33 */ 34 34 function woolentor_elementor() { 35 35 return \Elementor\Plugin::instance(); 36 36 } 37 37 38 38 /** 39 39 * Is Elementor check 40 40 * @return [boolean] 41 41 */ 42 42 function woolentor_is_elementor_editor(){ 43 43 return class_exists('\Elementor\Plugin') ? true : false; 44 44 } 45 45 46 46 /** 47 47 * Elementor editor mode 48 48 * @return [boolean] 49 49 */ 50 50 function woolentor_is_elementor_editor_mode(){ 51 51 if( woolentor_is_elementor_editor() && \Elementor\Plugin::instance()->editor->is_edit_mode() ){ 52 52 return true; 53 53 }else{ 54 54 return false; 55 55 } 56 56 } 57 57 58 58 /** 59 59 * Template Preview mode 60 60 * @return boolean 61 61 */ 62 62 function woolentor_is_preview_mode(){ 63 63 if( woolentor_is_elementor_editor_mode() || get_post_type() === 'woolentor-template' ){ 64 64 return true; 65 65 }else{ 66 66 return false; 67 67 } 68 68 } 69 69 /** 70 70 * Has Elementor action 71 71 * 72 72 * @return [void] 73 73 */ 74 74 function woolentor_is_elementor_active() { 75 75 return did_action('elementor/loaded'); 76 76 } 77 77 78 78 /** 79 79 * Build Page Conntent 80 80 * 81 81 * @param [ind] $page_id 82 82 * @return [HTML] 83 83 */ 84 84 function woolentor_build_page_content( $page_id ){ 85 85 return class_exists('\Elementor\Plugin') ? \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $page_id ) : ''; 86 } 87 88 /** 89 * Checked Current theme is FSE 90 */ 91 function woolentor_current_theme_is_fse() { 92 if ( function_exists( 'wp_is_block_theme' ) ) { 93 return (bool) wp_is_block_theme(); 94 } 95 if ( function_exists( 'gutenberg_is_fse_theme' ) ) { 96 return (bool) gutenberg_is_fse_theme(); 97 } 98 99 return false; 86 100 } 87 101 88 102 /** 89 103 * [movepro_render_icon] 90 104 * @param array $settings 91 105 * @param string $new_icon new icon id 92 106 * @param string $old_icon Old icon id 93 107 * @param array $attributes icon attributes 94 108 * @return [html] html | false 95 109 */ 96 110 function woolentor_render_icon( $settings = [], $new_icon = 'selected_icon', $old_icon = 'icon', $attributes = [] ){ 97 111 98 112 $migrated = isset( $settings['__fa4_migrated'][$new_icon] ); 99 113 $is_new = empty( $settings[$old_icon] ) && \Elementor\Icons_Manager::is_migration_allowed(); 100 114 101 115 $attributes['aria-hidden'] = 'true'; 102 116 $output = ''; 103 117 104 118 if ( woolentor_is_elementor_version( '>=', '2.6.0' ) && ( $is_new || $migrated ) ) { 105 119 106 120 if ( empty( $settings[$new_icon]['library'] ) ) { 107 121 return false; 108 122 } 109 123 110 124 $tag = 'i'; 111 125 // handler SVG Icon 112 126 if ( 'svg' === $settings[$new_icon]['library'] ) { 113 127 if ( ! isset( $settings[$new_icon]['value']['id'] ) ) { 114 128 return ''; 115 129 } 116 130 $output = Elementor\Core\Files\File_Types\Svg::get_inline_svg( $settings[$new_icon]['value']['id'] ); 117 131 118 132 } else { 119 133 $icon_types = \Elementor\Icons_Manager::get_icon_manager_tabs(); 120 134 if ( isset( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'] ) && is_callable( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'] ) ) { 121 135 return call_user_func_array( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'], [ $settings[$new_icon], $attributes, $tag ] ); 122 136 } 123 137 124 138 if ( empty( $attributes['class'] ) ) { 125 139 $attributes['class'] = $settings[$new_icon]['value']; 126 140 } else { 127 141 if ( is_array( $attributes['class'] ) ) { 128 142 $attributes['class'][] = $settings[$new_icon]['value']; 129 143 } else { 130 144 $attributes['class'] .= ' ' . $settings[$new_icon]['value']; 131 145 } 132 146 } 133 147 $output = '<' . $tag . ' ' . \Elementor\Utils::render_html_attributes( $attributes ) . '></' . $tag . '>'; 134 148 } 135 149 136 150 } else { 137 151 if ( empty( $attributes['class'] ) ) { 138 152 $attributes['class'] = $settings[ $old_icon ]; 139 153 } else { 140 154 if ( is_array( $attributes['class'] ) ) { 141 155 $attributes['class'][] = $settings[ $old_icon ]; 142 156 } else { 143 157 $attributes['class'] .= ' ' . $settings[ $old_icon ]; 144 158 } 145 159 } 146 160 $output = sprintf( '<i %s></i>', \Elementor\Utils::render_html_attributes( $attributes ) ); 147 161 } 148 162 149 163 return $output; 150 164 151 165 } 152 166 153 167 /** 154 168 * [woolentor_get_cookie_name] Get Compare cookie name 155 169 * @return [string] 156 170 */ 157 171 function woolentor_get_cookie_name( $name ) { 158 172 $name = 'woolentor_'.$name; 159 173 if ( is_multisite() ){ 160 174 $name .= '_' . get_current_blog_id(); 161 175 } 162 176 return $name; 163 177 } 164 178 165 179 /** 166 180 * [woolentor_set_views_count] 167 181 * @param [int] $postid 168 182 * @param [string] $posttype 169 183 * @return [null] 170 184 */ 171 185 function woolentor_set_views_count( $postid, $posttype ) { 172 186 173 187 $count_key = 'woolentor_views_count_'.$posttype; 174 188 $count = get_post_meta( $postid, $count_key, true ); 175 189 176 190 $cookie_name = woolentor_get_cookie_name( 'already_views_count_'.$posttype ); 177 191 $products_list = isset( $_COOKIE[$cookie_name] ) ? unserialize( $_COOKIE[ $cookie_name ], ['allowed_classes' => false] ) : []; 178 192 $timestamp = time(); 179 193 180 194 if( $count == '' ){ 181 195 $count = 1; 182 196 delete_post_meta( $postid, $count_key ); 183 197 add_post_meta( $postid, $count_key, '1' ); 184 198 $products_list[$timestamp] = $postid; 185 199 }else{ 186 200 // if the post has already been stored under the cookie 187 201 if ( ( $key = array_search( $postid, $products_list ) ) == false ) { 188 202 $count++; 189 203 update_post_meta( $postid, $count_key, $count ); 190 204 $products_list[$timestamp] = $postid; 191 205 } 192 206 } 193 207 setcookie( $cookie_name, serialize( $products_list ), 0, COOKIEPATH, COOKIE_DOMAIN, false, false ); 194 208 195 209 } 196 210 197 211 /** 198 212 * [woolentor_get_views_count] 199 213 * @param [int] $postid 200 214 * @param [string] $posttype 201 215 * @return [string] 202 216 */ 203 217 function woolentor_get_views_count( $postid, $posttype ){ 204 218 205 219 $count_key = 'woolentor_views_count_'.$posttype; 206 220 207 221 $count = get_post_meta( $postid, $count_key, true ); 208 222 if( $count == '' ){ 209 223 delete_post_meta( $postid, $count_key ); 210 224 add_post_meta( $postid, $count_key, '0' ); 211 225 return "0"; 212 226 } 213 227 return $count; 214 228 215 229 } 216 230 217 231 /** 218 232 * Get User Track data 219 233 * 220 234 * @return array 221 235 */ 222 236 function woolentor_get_track_user_data(){ 223 237 224 238 $user_id = get_current_user_id(); 225 239 $cookie_name = woolentor_get_cookie_name( 'viewed_products_list' ); 226 240 if (! $user_id) { 227 241 $products_list = isset( $_COOKIE[$cookie_name] ) ? unserialize( $_COOKIE[ $cookie_name ], ['allowed_classes' => false] ) : []; 228 242 } else { 229 243 $get_meta_data = get_user_meta( $user_id, $cookie_name, true ); 230 244 $products_list = ! empty( $get_meta_data ) ? $get_meta_data : []; 231 245 } 232 246 233 247 return $products_list; 234 248 } 235 249 236 250 /** 237 251 * [woolentor_product_query] 238 252 * @param array $query_args 239 253 * @return [array] Generate query 240 254 */ 241 255 function woolentor_product_query( $query_args = [] ){ 242 256 243 257 $meta_query = $tax_query = array(); 244 258 245 259 $per_page = !empty( $query_args['per_page'] ) ? $query_args['per_page'] : 3; 246 260 247 261 // Tex Query 248 262 // 249 263 // Categories wise 250 264 if( isset( $query_args['categories'] ) ){ 251 265 $field_name = 'slug'; 252 266 $tax_query[] = array( 253 267 'taxonomy' => 'product_cat', 254 268 'terms' => $query_args['categories'], 255 269 'field' => $field_name, 256 270 'include_children' => false 257 271 ); 258 272 } 259 273 260 274 // Tag wise 261 275 if( isset( $query_args['tags'] ) ){ 262 276 $field_name = 'slug'; 263 277 $tax_query[] = array( 264 278 'taxonomy' => 'product_tag', 265 279 'terms' => $query_args['tags'], 266 280 'field' => $field_name, 267 281 'include_children' => false 268 282 ); 269 283 } 270 284 271 285 // Feature Product 272 286 if( $query_args['product_type'] == 'featured' ){ 273 287 $tax_query[] = array( 274 288 'taxonomy' => 'product_visibility', 275 289 'field' => 'name', 276 290 'terms' => 'featured', 277 291 'operator' => 'IN', 278 292 ); 279 293 } 280 294 281 295 // Hide Hidden Item 282 296 if( isset( $query_args['hidden'] ) && $query_args['hidden'] === true ){ 283 297 $tax_query[] = array( 284 298 'taxonomy' => 'product_visibility', 285 299 'field' => 'name', 286 300 'terms' => array('exclude-from-search', 'exclude-from-catalog'), 287 301 'operator' => 'NOT IN', 288 302 'include_children' => false, 289 303 ); 290 304 } 291 305 292 306 // Meta Query 293 307 /** 294 308 * [$hide_out_of_stock] Check ( WooCommerce > Settings > Products > Inventory ) 295 309 */ 296 310 $hide_out_of_stock = ( isset( $query_args['hide_out_of_stock'] ) && $query_args['hide_out_of_stock'] === true ) ? 'yes' : get_option( 'woocommerce_hide_out_of_stock_items', 'no' ); 297 311 if( 'yes' === $hide_out_of_stock ){ 298 312 $meta_query[] = array( 299 313 'key' => '_stock_status', 300 314 'value' => 'instock', 301 315 'compare' => '==', 302 316 ); 303 317 } 304 318 305 319 $args = array( 306 320 'post_type' => 'product', 307 321 'post_status' => 'publish', 308 322 'ignore_sticky_posts' => 1, 309 323 'posts_per_page' => $per_page, 310 324 'meta_query' => $meta_query, 311 325 'tax_query' => $tax_query, 312 326 ); 313 327 314 328 // Product Type Check 315 329 switch( $query_args['product_type'] ){ 316 330 317 331 case 'sale': 318 332 $args['post__in'] = array_merge( array( 0 ), wc_get_product_ids_on_sale() ); 319 333 break; 320 334 321 335 case 'best_selling': 322 336 $args['meta_key'] = 'total_sales'; 323 337 $args['orderby'] = 'meta_value_num'; 324 338 $args['order'] = 'desc'; 325 339 break; 326 340 327 341 case 'top_rated': 328 342 $args['meta_key'] = '_wc_average_rating'; 329 343 $args['orderby'] = 'meta_value_num'; 330 344 $args['order'] = 'desc'; 331 345 break; 332 346 333 347 case 'mixed_order': 334 348 $args['orderby'] = 'rand'; 335 349 break; 336 350 337 351 case 'show_byid': 338 352 $args['post__in'] = $query_args['product_ids']; 339 353 $args['orderby'] = $query_args['product_ids']; 340 354 break; 341 355 342 356 case 'show_byid_manually': 343 357 $args['post__in'] = $query_args['product_ids']; 344 358 $args['orderby'] = $query_args['product_ids']; 345 359 break; 346 360 347 361 default: /* Recent */ 348 362 $args['orderby'] = 'date'; 349 363 $args['order'] = 'desc'; 350 364 break; 351 365 352 366 } 353 367 354 368 /** 355 369 * Custom Order 356 370 */ 357 371 if( isset( $query_args['custom_order'] ) ){ 358 372 $args['orderby'] = $query_args['custom_order']['orderby']; 359 373 $args['order'] = $query_args['custom_order']['order']; 360 374 } 361 375 362 376 return $args; 363 377 364 378 } 365 379 366 380 /** 367 381 * Get all menu list 368 382 * return array 369 383 */ 370 384 function woolentor_get_all_create_menus() { 371 385 $raw_menus = wp_get_nav_menus(); 372 386 $menus = wp_list_pluck( $raw_menus, 'name', 'term_id' ); 373 387 $parent = isset( $_GET['parent_menu'] ) ? absint( $_GET['parent_menu'] ) : 0; 374 388 if ( 0 < $parent && isset( $menus[ $parent ] ) ) { 375 389 unset( $menus[ $parent ] ); 376 390 } 377 391 return $menus; 378 392 } 379 393 380 394 /** 381 395 * Taxonomy List 382 396 * @return array 383 397 */ 384 398 function woolentor_taxonomy_list( $taxonomy = 'product_cat', $option_value = 'slug' ){ 385 399 $terms = get_terms( array( 386 400 'taxonomy' => $taxonomy, 387 401 'hide_empty' => true, 388 402 )); 389 403 $options = []; 390 404 if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){ 391 405 foreach ( $terms as $term ) { 392 406 $options[ $term->$option_value ] = $term->name; 393 407 } 394 408 } 395 409 return $options; 396 410 } 397 411 398 412 /* 399 413 * Get Post Type 400 414 * return array 401 415 */ 402 416 function woolentor_get_post_types( $args = [] ) { 403 417 $post_type_args = [ 404 418 'show_in_nav_menus' => true, 405 419 ]; 406 420 if ( ! empty( $args['post_type'] ) ) { 407 421 $post_type_args['name'] = $args['post_type']; 408 422 } 409 423 $_post_types = get_post_types( $post_type_args , 'objects' ); 410 424 411 425 $post_types = []; 412 426 if( !empty( $args['defaultadd'] ) ){ 413 427 $post_types[ strtolower($args['defaultadd']) ] = ucfirst($args['defaultadd']); 414 428 } 415 429 foreach ( $_post_types as $post_type => $object ) { 416 430 $post_types[ $post_type ] = $object->label; 417 431 } 418 432 return $post_types; 419 433 } 420 434 421 435 422 436 /** 423 437 * Get Post List 424 438 * return array 425 439 */ 426 440 function woolentor_post_name( $post_type = 'post', $args = [] ){ 427 441 $options = array(); 428 442 $options['0'] = __('Select','woolentor'); 429 443 $perpage = !empty( $args['limit'] ) ? $args['limit'] : woolentor_get_option( 'loadproductlimit', 'woolentor_others_tabs', '20' ); 430 444 $all_post = array( 'posts_per_page' => $perpage, 'post_type'=> $post_type ); 431 445 $post_terms = get_posts( $all_post ); 432 446 if ( ! empty( $post_terms ) && ! is_wp_error( $post_terms ) ){ 433 447 foreach ( $post_terms as $term ) { 434 448 $options[ $term->ID ] = $term->post_title; 435 449 } 436 450 return $options; 437 451 } 438 452 } 439 453 440 454 /* 441 455 * Elementor Templates List 442 456 * return array 443 457 */ 444 458 function woolentor_elementor_template() { 445 459 $templates = ''; 446 460 if( class_exists('\Elementor\Plugin') ){ 447 461 $templates = \Elementor\Plugin::instance()->templates_manager->get_source( 'local' )->get_items(); 448 462 } 449 463 $types = array(); 450 464 if ( empty( $templates ) ) { 451 465 $template_lists = [ '0' => __( 'No saved templates found.', 'woolentor' ) ]; 452 466 } else { 453 467 $template_lists = [ '0' => __( 'Select Template', 'woolentor' ) ]; 454 468 foreach ( $templates as $template ) { 455 469 $template_lists[ $template['template_id'] ] = $template['title'] . ' (' . $template['type'] . ')'; 456 470 } 457 471 } 458 472 return $template_lists; 459 473 } 460 474 461 475 /* 462 476 * Woolentor Templates List 463 477 * return array 464 478 */ 465 479 function woolentor_wltemplate_list( $type = [] ){ 466 480 $template_lists = []; 467 481 468 482 $args = array( 469 483 'post_type' => 'woolentor-template', 470 484 'post_status' => 'publish', 471 485 'ignore_sticky_posts' => 1, 472 486 'posts_per_page' => -1, 473 487 ); 474 488 475 489 if( is_array( $type ) && count( $type ) > 0 ){ 476 490 $args['meta_key'] = 'woolentor_template_meta_type'; 477 491 $args['meta_value'] = $type; 478 492 $args['meta_compare'] = 'IN'; 479 493 } 480 494 481 495 $templates = new WP_Query( $args ); 482 496 483 497 if( $templates->have_posts() ){ 484 498 foreach ( $templates->get_posts() as $post ) { 485 499 $template_lists[ $post->ID ] = $post->post_title; 486 500 } 487 501 } 488 502 wp_reset_query(); 489 503 return $template_lists; 490 504 491 505 } 492 506 493 507 /* 494 508 * Plugisn Options value 495 509 * return on/off 496 510 */ 497 511 function woolentor_get_option( $option, $section, $default = '' ){ 498 512 $options = get_option( $section ); 499 513 if ( isset( $options[$option] ) ) { 500 514 return $options[$option]; 501 515 } 502 516 return $default; 503 517 } 504 518 505 519 function woolentor_get_option_label_text( $option, $section, $default = '' ){ 506 520 $options = get_option( $section ); 507 521 if ( isset( $options[$option] ) ) { 508 522 if( !empty($options[$option]) ){ 509 523 return $options[$option]; 510 524 } 511 525 return $default; 512 526 } 513 527 return $default; 514 528 } 515 529 516 530 /** 517 531 * [woolentor_update_option] 518 532 * @param [string] $option 519 533 * @param [string] $section 520 534 * @param string $new_value 521 535 * @return [string] 522 536 */ 523 537 function woolentor_update_option( $section, $option_key, $new_value ){ 524 538 $options_data = get_option( $section ); 525 539 if( isset( $options_data[$option_key] ) ){ 526 540 $options_data[$option_key] = $new_value; 527 541 }else{ 528 542 $options_data = array( $option_key => $new_value ); 529 543 } 530 544 update_option( $section, $options_data ); 531 545 } 532 546 533 547 /** 534 548 * [woolentor_clean] 535 549 * @param [JSON] $var 536 550 * @return [array] 537 551 */ 538 552 function woolentor_clean( $var ) { 539 553 if ( is_array( $var ) ) { 540 554 return array_map( 'woolentor_clean', $var ); 541 555 } else { 542 556 return is_scalar( $var ) ? sanitize_text_field( $var ) : $var; 543 557 } 544 558 } 545 559 546 560 /** 547 561 * Block Template Locate 548 562 * @param [string] $tmp_name Template name 549 563 * @return [Template path] 550 564 */ 551 565 function woolentor_locate_template( $tmp_name, $template_path ) { 552 566 $woo_tmp_base = WC()->template_path(); 553 567 554 568 $woo_tmp_path = $woo_tmp_base .'woolentor/'. $tmp_name; //active theme directory/woocommerce/ 555 569 $theme_tmp_path = 'woolentor/' . $tmp_name; //active theme root directory 556 570 $plugin_tmp_path = $template_path . $tmp_name . '.php'; 557 571 558 572 $located = locate_template( [ $woo_tmp_path, $theme_tmp_path ] ); 559 573 560 574 if ( ! $located && file_exists( $plugin_tmp_path ) ) { 561 575 return apply_filters( 'woolentor_locate_template', $plugin_tmp_path, $tmp_name ); 562 576 } 563 577 564 578 return apply_filters( 'woolentor_locate_template', $located, $tmp_name ); 565 579 } 566 580 567 581 /** 568 582 * get Template 569 583 * @param [string] $tmp_name Template name 570 584 * @param [array] $args template argument array 571 585 * @param boolean $echo 572 586 * @return [void] 573 587 */ 574 588 function woolentor_get_template( $tmp_name, $args = null, $echo = true, $template_path = WOOLENTOR_TEMPLATE ) { 575 589 $located = woolentor_locate_template( $tmp_name, $template_path ); 576 590 577 591 if ( $args && is_array( $args ) ) { 578 592 extract( $args ); 579 593 } 580 594 581 595 if ( $echo !== true ) { ob_start(); } 582 596 583 597 // include file located. 584 598 include( $located ); 585 599 586 600 if ( $echo !== true ) { return ob_get_clean(); } 587 601 588 602 } 589 603 590 604 /** 591 605 * Call a shortcode function by tag name. 592 606 * 593 607 * @param string $tag The shortcode whose function to call. 594 608 * @param array $atts The attributes to pass to the shortcode function. Optional. 595 609 * @param array $content The shortcode's content. Default is null (none). 596 610 * 597 611 * @return string|bool False on failure, the result of the shortcode on success. 598 612 */ 599 613 function woolentor_do_shortcode( $tag, array $atts = array(), $content = null ) { 600 614 global $shortcode_tags; 601 615 602 616 if ( ! isset( $shortcode_tags[ $tag ] ) ) { 603 617 return false; 604 618 } 605 619 606 620 return call_user_func( $shortcode_tags[ $tag ], $atts, $content, $tag ); 607 621 } 608 622 609 623 /** 610 624 * Woocommerce Product last product id return 611 625 */ 612 626 function woolentor_get_last_product_id(){ 613 627 global $wpdb; 614 628 615 629 // Getting last Product ID (max value) 616 630 $results = $wpdb->get_col( " 617 631 SELECT MAX(ID) FROM {$wpdb->prefix}posts 618 632 WHERE post_type LIKE 'product' 619 633 AND post_status = 'publish'" 620 634 ); 621 635 return reset($results); 622 636 } 623 637 624 638 /* 625 639 * HTML Tag list 626 640 * return array 627 641 */ 628 642 function woolentor_html_tag_lists() { 629 643 $html_tag_list = [ 630 644 'h1' => __( 'H1', 'woolentor' ), 631 645 'h2' => __( 'H2', 'woolentor' ), 632 646 'h3' => __( 'H3', 'woolentor' ), 633 647 'h4' => __( 'H4', 'woolentor' ), 634 648 'h5' => __( 'H5', 'woolentor' ), 635 649 'h6' => __( 'H6', 'woolentor' ), 636 650 'p' => __( 'p', 'woolentor' ), 637 651 'div' => __( 'div', 'woolentor' ), 638 652 'span' => __( 'span', 'woolentor' ), 639 653 ]; 640 654 return $html_tag_list; 641 655 } 642 656 643 657 /* 644 658 * HTML Tag Validation 645 659 * return strig 646 660 */ 647 661 function woolentor_validate_html_tag( $tag ) { 648 662 $allowed_html_tags = [ 649 663 'article', 650 664 'aside', 651 665 'footer', 652 666 'header', 653 667 'section', 654 668 'nav', 655 669 'main', 656 670 'div', 657 671 'h1', 658 672 'h2', 659 673 'h3', 660 674 'h4', 661 675 'h5', 662 676 'h6', 663 677 'p', 664 678 'span', 665 679 ]; 666 680 return in_array( strtolower( $tag ), $allowed_html_tags ) ? $tag : 'div'; 667 681 } 668 682 669 683 /* 670 684 * All list of allowed html tags. 671 685 * 672 686 * @param string $tag_type Allowed levels are title and desc 673 687 * @return array 674 688 */ 675 689 function woolentor_get_html_allowed_tags($tag_type = 'title') { 676 690 $accept_html_tags = [ 677 691 'span' => [ 678 692 'class' => [], 679 693 'id' => [], 680 694 'style' => [], 681 695 ], 682 696 'strong' => [ 683 697 'class' => [], 684 698 'id' => [], 685 699 'style' => [], 686 700 ], 687 701 'br' => [ 688 702 'class' => [], 689 703 'id' => [], 690 704 'style' => [], 691 705 ], 692 706 'b' => [ 693 707 'class' => [], 694 708 'id' => [], 695 709 'style' => [], 696 710 ], 697 711 'sub' => [ 698 712 'class' => [], 699 713 'id' => [], 700 714 'style' => [], 701 715 ], 702 716 'sup' => [ 703 717 'class' => [], 704 718 'id' => [], 705 719 'style' => [], 706 720 ], 707 721 'i' => [ 708 722 'class' => [], 709 723 'id' => [], 710 724 'style' => [], 711 725 ], 712 726 'u' => [ 713 727 'class' => [], 714 728 'id' => [], 715 729 'style' => [], 716 730 ], 717 731 's' => [ 718 732 'class' => [], 719 733 'id' => [], 720 734 'style' => [], 721 735 ], 722 736 'em' => [ 723 737 'class' => [], 724 738 'id' => [], 725 739 'style' => [], 726 740 ], 727 741 'del' => [ 728 742 'class' => [], 729 743 'id' => [], 730 744 'style' => [], 731 745 ], 732 746 'ins' => [ 733 747 'class' => [], 734 748 'id' => [], 735 749 'style' => [], 736 750 ], 737 751 738 752 'code' => [ 739 753 'class' => [], 740 754 'id' => [], 741 755 'style' => [], 742 756 ], 743 757 'mark' => [ 744 758 'class' => [], 745 759 'id' => [], 746 760 'style' => [], 747 761 ], 748 762 'small' => [ 749 763 'class' => [], 750 764 'id' => [], 751 765 'style' => [], 752 766 ], 753 767 'strike' => [ 754 768 'class' => [], 755 769 'id' => [], 756 770 'style' => [], 757 771 ], 758 772 'abbr' => [ 759 773 'title' => [], 760 774 'class' => [], 761 775 'id' => [], 762 776 'style' => [], 763 777 ], 764 778 ]; 765 779 766 780 if ('desc' === $tag_type) { 767 781 $desc_tags = [ 768 782 'h1' => [ 769 783 'class' => [], 770 784 'id' => [], 771 785 'style' => [], 772 786 ], 773 787 'h2' => [ 774 788 'class' => [], 775 789 'id' => [], 776 790 'style' => [], 777 791 ], 778 792 'h3' => [ 779 793 'class' => [], 780 794 'id' => [], 781 795 'style' => [], 782 796 ], 783 797 'h4' => [ 784 798 'class' => [], 785 799 'id' => [], 786 800 'style' => [], 787 801 ], 788 802 'h5' => [ 789 803 'class' => [], 790 804 'id' => [], 791 805 'style' => [], 792 806 ], 793 807 'h6' => [ 794 808 'class' => [], 795 809 'id' => [], 796 810 'style' => [], 797 811 ], 798 812 'p' => [ 799 813 'class' => [], 800 814 'id' => [], 801 815 'style' => [], 802 816 ], 803 817 'a' => [ 804 818 'href' => [], 805 819 'title' => [], 806 820 'class' => [], 807 821 'id' => [], 808 822 'style' => [], 809 823 ], 810 824 'q' => [ 811 825 'cite' => [], 812 826 'class' => [], 813 827 'id' => [], 814 828 'style' => [], 815 829 ], 816 830 'img' => [ 817 831 'src' => [], 818 832 'alt' => [], 819 833 'height' => [], 820 834 'width' => [], 821 835 'class' => [], 822 836 'id' => [], 823 837 'title' => [], 824 838 'style' => [], 825 839 ], 826 840 'dfn' => [ 827 841 'title' => [], 828 842 'class' => [], 829 843 'id' => [], 830 844 'style' => [], 831 845 ], 832 846 'time' => [ 833 847 'datetime' => [], 834 848 'class' => [], 835 849 'id' => [], 836 850 'style' => [], 837 851 ], 838 852 'cite' => [ 839 853 'title' => [], 840 854 'class' => [], 841 855 'id' => [], 842 856 'style' => [], 843 857 ], 844 858 'acronym' => [ 845 859 'title' => [], 846 860 'class' => [], 847 861 'id' => [], 848 862 'style' => [], 849 863 ], 850 864 'hr' => [ 851 865 'class' => [], 852 866 'id' => [], 853 867 'style' => [], 854 868 ], 855 869 'div' => [ 856 870 'class' => [], 857 871 'id' => [], 858 872 'style' => [] 859 873 ], 860 874 861 875 'button' => [ 862 876 'class' => [], 863 877 'id' => [], 864 878 'style' => [], 865 879 ], 866 880 867 881 ]; 868 882 869 883 $accept_html_tags = array_merge($accept_html_tags, $desc_tags); 870 884 } 871 885 872 886 return $accept_html_tags; 873 887 } 874 888 875 889 /* 876 890 * Category list 877 891 * return first one 878 892 */ 879 893 function woolentor_get_product_category_list( $id = null, $taxonomy = 'product_cat', $limit = 1 ) { 880 894 $terms = get_the_terms( $id, $taxonomy ); 881 895 $i = 0; 882 896 if ( is_wp_error( $terms ) ) 883 897 return $terms; 884 898 885 899 if ( empty( $terms ) ) 886 900 return false; 887 901 888 902 foreach ( $terms as $term ) { 889 903 $i++; 890 904 $link = get_term_link( $term, $taxonomy ); 891 905 if ( is_wp_error( $link ) ) { 892 906 return $link; 893 907 } 894 908 echo '<a href="' . esc_url( $link ) . '">' . $term->name . '</a>'; 895 909 if( $i == $limit ){ 896 910 break; 897 911 }else{ continue; } 898 912 } 899 913 900 914 } 901 915 902 916 /** 903 917 * Get archive title data 904 918 * 905 919 * @return array 906 920 */ 907 921 function woolentor_get_archive_data() { 908 922 909 923 $data = [ 910 924 'title' => '', 911 925 'desc' => '', 912 926 'image_url' => '' 913 927 ]; 914 928 915 929 if ( is_archive() ) { 916 930 if ( is_product_category() ) { 917 931 $get_obj = get_queried_object(); 918 932 $attachment_id = get_term_meta( $get_obj->term_id, 'thumbnail_id', true ); 919 933 $data['title'] = $get_obj->name; 920 934 $data['desc'] = $get_obj->description; 921 935 $data['image_url'] = $attachment_id ? wp_get_attachment_url( $attachment_id ) : ''; 922 936 } else if ( is_product_tag() || is_tag() ) { 923 937 $get_obj = get_queried_object(); 924 938 $data['title'] = $get_obj->name; 925 939 $data['desc'] = $get_obj->description; 926 940 } else if ( is_date() ) { 927 941 $date = ''; 928 942 if ( is_year() ) { 929 943 $date = get_the_date('Y'); 930 944 } else if ( is_month() ) { 931 945 $date = get_the_date('F Y'); 932 946 } else if ( is_day() ) { 933 947 $date = get_the_date('F j, Y'); 934 948 } 935 949 $data['title'] = $date; 936 950 937 951 } else if ( is_author() ) { 938 952 $data['title'] = get_the_author_meta( 'display_name' ); 939 953 $data['image'] = get_avatar_url( get_the_author_meta( 'ID' ) ); 940 954 $data['desc'] = get_the_author_meta( 'user_email' ); 941 955 } else if ( is_tax() ) { 942 956 $get_obj = get_queried_object(); 943 957 $attachment_id = get_term_meta( $get_obj->term_id, 'thumbnail_id', true ); 944 958 $data['title'] = $get_obj->name; 945 959 $data['desc'] = $get_obj->description; 946 960 $data['image_url'] = $attachment_id ? wp_get_attachment_url( $attachment_id ) : ''; 947 961 }else{ 948 962 $data['title'] = woocommerce_page_title( false ); 949 963 } 950 964 } else if ( is_search() ) { 951 965 $data['title'] = get_search_query(); 952 966 } else if ( is_page() || is_singular() ) { 953 967 $data['title'] = single_post_title( '', false ); 954 968 } 955 969 956 970 return $data; 957 971 958 972 } 959 973 960 974 /* 961 975 * If Active WooCommerce 962 976 */ 963 977 if( class_exists('WooCommerce') ){ 964 978 965 979 /* Custom product badge */ 966 980 function woolentor_custom_product_badge( $show = 'yes' ){ 967 981 global $product; 968 982 $custom_saleflash_text = get_post_meta( get_the_ID(), '_saleflash_text', true ); 969 983 if( $show == 'yes' && is_a( $product, 'WC_Product' ) ){ 970 984 if( !empty( $custom_saleflash_text ) && $product->is_in_stock() ){ 971 985 if( $product->is_featured() ){ 972 986 echo '<span class="ht-product-label ht-product-label-left hot">' . esc_html( $custom_saleflash_text ) . '</span>'; 973 987 }else{ 974 988 echo '<span class="ht-product-label ht-product-label-left">' . esc_html( $custom_saleflash_text ) . '</span>'; 975 989 } 976 990 } 977 991 } 978 992 } 979 993 980 994 /* Sale Flash for Single Product page */ 981 995 function woolentor_show_product_sale_flash( $echo = true ){ 982 996 global $post, $product; 983 997 if( is_a( $product, 'WC_Product' ) ){ 984 998 985 999 if( $echo == false ){ ob_start(); } 986 1000 987 1001 if( $product->is_on_sale() && $product->is_in_stock() ){ 988 1002 echo apply_filters( 'woocommerce_sale_flash', '<span class="onsale">' . esc_html__( 'Sale!', 'woolentor' ) . '</span>', $post, $product ); 989 1003 }else{ 990 1004 $out_of_stock = get_post_meta( get_the_ID(), '_stock_status', true ); 991 1005 $out_of_stock_text = apply_filters( 'woolentor_shop_out_of_stock_text', __( 'Out of stock', 'woolentor' ) ); 992 1006 if ( 'outofstock' === $out_of_stock ) { 993 1007 echo '<span class="outofstock onsale">'.esc_html( $out_of_stock_text ).'</span>'; 994 1008 } 995 1009 } 996 1010 997 1011 if( $echo == false ){ return ob_get_clean(); } 998 1012 999 1013 } 1000 1014 } 1001 1015 1002 1016 /* Sale badge */ 1003 1017 function woolentor_sale_flash( $offertype = 'default', $echo = true, $outofstocktxt = '' ){ 1004 1018 global $product; 1005 1019 if( $echo == false ){ ob_start(); } 1006 1020 if( $product->is_on_sale() && $product->is_in_stock() ){ 1007 1021 if( $offertype !='default' && $product->get_regular_price() > 0 ){ 1008 1022 $_off_percent = (1 - round($product->get_price() / $product->get_regular_price(), 2))*100; 1009 1023 $_off_price = round($product->get_regular_price() - $product->get_price(), 0); 1010 1024 $_price_symbol = get_woocommerce_currency_symbol(); 1011 1025 $symbol_pos = get_option('woocommerce_currency_pos', 'left'); 1012 1026 $price_display = ''; 1013 1027 switch( $symbol_pos ){ 1014 1028 case 'left': 1015 1029 $price_display = '-'.$_price_symbol.$_off_price; 1016 1030 break; 1017 1031 case 'right': 1018 1032 $price_display = '-'.$_off_price.$_price_symbol; 1019 1033 break; 1020 1034 case 'left_space': 1021 1035 $price_display = '-'.$_price_symbol.' '.$_off_price; 1022 1036 break; 1023 1037 default: /* right_space */ 1024 1038 $price_display = '-'.$_off_price.' '.$_price_symbol; 1025 1039 break; 1026 1040 } 1027 1041 if( $offertype == 'number' ){ 1028 1042 echo '<span class="ht-product-label ht-product-label-right">'.$price_display.'</span>'; 1029 1043 }elseif( $offertype == 'percent'){ 1030 1044 echo '<span class="ht-product-label ht-product-label-right">'.$_off_percent.'%</span>'; 1031 1045 }else{ echo ' '; } 1032 1046 1033 1047 }else{ 1034 1048 $sale_badge_text = apply_filters( 'woolentor_sale_badge_text', __( 'Sale!', 'woolentor' ) ); 1035 1049 echo '<span class="ht-product-label ht-product-label-right">'.esc_html( $sale_badge_text ).'</span>'; 1036 1050 } 1037 1051 }else{ 1038 1052 $out_of_stock = get_post_meta( get_the_ID(), '_stock_status', true ); 1039 1053 $out_of_stock_text = !empty( $outofstocktxt ) ? esc_html( $outofstocktxt ) : apply_filters( 'woolentor_shop_out_of_stock_text', __( 'Out of stock', 'woolentor' ) ); 1040 1054 if ( 'outofstock' === $out_of_stock ) { 1041 1055 echo '<span class="ht-stockout ht-product-label ht-product-label-right">'.esc_html( $out_of_stock_text ).'</span>'; 1042 1056 } 1043 1057 } 1044 1058 if( $echo == false ){ return ob_get_clean(); } 1045 1059 1046 1060 } 1047 1061 1048 1062 // Shop page header result count 1049 1063 function woolentor_product_result_count( $total, $perpage, $paged ){ 1050 1064 wc_set_loop_prop( 'total', $total ); 1051 1065 wc_set_loop_prop( 'per_page', $perpage ); 1052 1066 wc_set_loop_prop( 'current_page', $paged ); 1053 1067 $geargs = array( 1054 1068 'total' => wc_get_loop_prop( 'total' ), 1055 1069 'per_page' => wc_get_loop_prop( 'per_page' ), 1056 1070 'current' => wc_get_loop_prop( 'current_page' ), 1057 1071 ); 1058 1072 wc_get_template( 'loop/result-count.php', $geargs ); 1059 1073 } 1060 1074 1061 1075 // product shorting 1062 1076 function woolentor_product_shorting( $getorderby ){ 1063 1077 ?> 1064 1078 <form class="woocommerce-ordering" method="get"> 1065 1079 <select name="orderby" class="orderby"> 1066 1080 <?php 1067 1081 $catalog_orderby = apply_filters( 'woocommerce_catalog_orderby', array( 1068 1082 'menu_order' => __( 'Default sorting', 'woolentor' ), 1069 1083 'popularity' => __( 'Sort by popularity', 'woolentor' ), 1070 1084 'rating' => __( 'Sort by average rating', 'woolentor' ), 1071 1085 'date' => __( 'Sort by latest', 'woolentor' ), 1072 1086 'price' => __( 'Sort by price: low to high', 'woolentor' ), 1073 1087 'price-desc' => __( 'Sort by price: high to low', 'woolentor' ), 1074 1088 ) ); 1075 1089 foreach ( $catalog_orderby as $id => $name ){ 1076 1090 echo '<option value="' . esc_attr( $id ) . '" ' . selected( $getorderby, $id, false ) . '>' . esc_attr( $name ) . '</option>'; 1077 1091 } 1078 1092 ?> 1079 1093 </select> 1080 1094 <?php 1081 1095 // Keep query string vars intact 1082 1096 foreach ( $_GET as $key => $val ) { 1083 1097 if ( 'orderby' === $key || 'submit' === $key ) 1084 1098 continue; 1085 1099 if ( is_array( $val ) ) { 1086 1100 foreach( $val as $innerVal ) { 1087 1101 echo '<input type="hidden" name="' . esc_attr( $key ) . '[]" value="' . esc_attr( $innerVal ) . '" />'; 1088 1102 } 1089 1103 } else { 1090 1104 echo '<input type="hidden" name="' . esc_attr( $key ) . '" value="' . esc_attr( $val ) . '" />'; 1091 1105 } 1092 1106 } 1093 1107 ?> 1094 1108 </form> 1095 1109 <?php 1096 1110 } 1097 1111 1098 1112 // Custom page pagination 1099 1113 function woolentor_custom_pagination( $totalpage ){ 1100 1114 echo '<div class="ht-row woocommerce"><div class="ht-col-xs-12"><nav class="woocommerce-pagination">'; 1101 1115 echo paginate_links( apply_filters( 1102 1116 'woocommerce_pagination_args', array( 1103 1117 'base'=> esc_url( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ), 1104 1118 'format' => '', 1105 1119 'current' => max( 1, get_query_var( 'paged' ) ), 1106 1120 'total' => $totalpage, 1107 1121 'prev_text' => '←', 1108 1122 'next_text' => '→', 1109 1123 'type' => 'list', 1110 1124 'end_size' => 3, 1111 1125 'mid_size' => 3 1112 1126 ) 1113 1127 ) 1114 1128 ); 1115 1129 echo '</div></div></div>'; 1116 1130 } 1117 1131 1118 1132 // Change Product Per page 1119 1133 if( woolentor_get_option( 'enablecustomlayout', 'woolentor_woo_template_tabs', 'on' ) == 'on' ){ 1120 1134 function woolentor_custom_number_of_posts() { 1121 1135 $limit = woolentor_get_option( 'shoppageproductlimit', 'woolentor_woo_template_tabs', 2 ); 1122 1136 $postsperpage = apply_filters( 'product_custom_limit', $limit ); 1123 1137 return $postsperpage; 1124 1138 } 1125 1139 add_filter( 'loop_shop_per_page', 'woolentor_custom_number_of_posts' ); 1126 1140 } 1127 1141 1128 1142 // Customize rating html 1129 1143 if( !function_exists('woolentor_wc_get_rating_html') ){ 1130 1144 function woolentor_wc_get_rating_html( $block = '' ){ 1131 1145 if ( get_option( 'woocommerce_enable_review_rating' ) === 'no' ) { return; } 1132 1146 global $product; 1133 1147 $rating_count = $product->get_rating_count(); 1134 1148 $average = $product->get_average_rating(); 1135 1149 $rating_whole = floor($average); 1136 1150 $rating_fraction = $average - $rating_whole; 1137 1151 $flug = 0; 1138 1152 1139 1153 $icon_svg = get_option('elementor_experiment-e_font_icon_svg','default'); 1140 1154 $icon_prefix = ( $icon_svg == 'active' || $block == 'yes' ) ? 'fa' : 'fas'; 1141 1155 1142 1156 if ( $rating_count > 0 ) { 1143 1157 $wrapper_class = is_single() ? 'rating-number' : 'top-rated-rating'; 1144 1158 ob_start(); 1145 1159 ?> 1146 1160 <div class="<?php echo esc_attr( $wrapper_class ); ?>"> 1147 1161 <span class="ht-product-ratting"> 1148 1162 <span class="ht-product-user-ratting"> 1149 1163 <?php for($i = 1; $i <= 5; $i++){ 1150 1164 if( $i <= $rating_whole ){ 1151 1165 echo '<i class="'.$icon_prefix.' fa-star"></i>'; 1152 1166 } else { 1153 1167 if( $rating_fraction > 0 && $flug == 0 ){ 1154 1168 if( $icon_svg == 'active' || $block == 'yes' ){ 1155 1169 echo '<i class="fa fa-star-half-o"></i>'; 1156 1170 }else{ 1157 1171 echo '<i class="fas fa-star-half-alt"></i>'; 1158 1172 } 1159 1173 $flug = 1; 1160 1174 } else { 1161 1175 if( $icon_svg == 'active' || $block == 'yes' ){ 1162 1176 echo '<i class="fa fa-star-o"></i>'; 1163 1177 }else{ 1164 1178 echo '<i class="far fa-star empty"></i>'; 1165 1179 } 1166 1180 } 1167 1181 } 1168 1182 } ?> 1169 1183 </span> 1170 1184 </span> 1171 1185 </div> 1172 1186 <?php 1173 1187 $html = ob_get_clean(); 1174 1188 } else { 1175 1189 $html = ''; 1176 1190 } 1177 1191 1178 1192 return $html; 1179 1193 } 1180 1194 } 1181 1195 1182 1196 // HTML Markup Render in footer 1183 1197 function woolentor_html_render_infooter(){ 1184 1198 if ( true === apply_filters( 'woolentor_footer_content_visibility', true ) ) { 1185 1199 do_action( 'woolentor_footer_render_content' ); 1186 1200 } 1187 1201 } 1188 1202 add_action( 'wp_footer', 'woolentor_html_render_infooter' ); 1189 1203 1190 1204 /** 1191 1205 * [woolentor_stock_status] 1192 1206 */ 1193 1207 function woolentor_stock_status( $order_text, $available_text, $product_id ){ 1194 1208 1195 1209 if ( get_post_meta( $product_id, '_manage_stock', true ) == 'yes' ) { 1196 1210 1197 1211 $total_stock = get_post_meta( $product_id, 'woolentor_total_stock_quantity', true ); 1198 1212 1199 1213 if ( ! $total_stock ) { echo '<div class="stock-management-progressbar">'.__( 'Set the initial stock amount from', 'woolentor' ).' <a href="'.get_edit_post_link( $product_id ).'" target="_blank">'.__( 'here', 'woolentor' ).'</a></div>'; return; } 1200 1214 1201 1215 $current_stock = round( get_post_meta( $product_id, '_stock', true ) ); 1202 1216 1203 1217 $total_sold = $total_stock > $current_stock ? $total_stock - $current_stock : 0; 1204 1218 $percentage = $total_sold > 0 ? round( $total_sold / $total_stock * 100 ) : 0; 1205 1219 1206 1220 if ( $current_stock > 0 ) { 1207 1221 echo '<div class="woolentor-stock-progress-bar">'; 1208 1222 echo '<div class="wlstock-info">'; 1209 1223 echo '<div class="wltotal-sold">' . __( $order_text, 'woolentor' ) . '<span>' . esc_html( $total_sold ) . '</span></div>'; 1210 1224 echo '<div class="wlcurrent-stock">' . __( $available_text, 'woolentor' ) . '<span>' . esc_html( $current_stock ) . '</span></div>'; 1211 1225 echo '</div>'; 1212 1226 echo '<div class="wlprogress-area" title="' . __( 'Sold', 'woolentor' ) . ' ' . esc_attr( $percentage ) . '%">'; 1213 1227 echo '<div class="wlprogress-bar"style="width:' . esc_attr( $percentage ) . '%;"></div>'; 1214 1228 echo '</div>'; 1215 1229 echo '</div>'; 1216 1230 }else{ 1217 1231 echo '<div class="stock-management-progressbar">'.__( 'Set the initial stock amount from', 'woolentor' ).' <a href="'.get_edit_post_link( $product_id ).'" target="_blank">'.__( 'here', 'woolentor' ).'</a></div>'; 1218 1232 } 1219 1233 1220 1234 } 1221 1235 1222 1236 } 1223 1237 1224 1238 /** 1225 1239 * [woolentor_minmax_price_limit] 1226 1240 * @return [array] Price Limit 1227 1241 */ 1228 1242 function woolentor_minmax_price_limit() { 1229 1243 global $wpdb; 1230 1244 $min_query = "SELECT MIN( CAST( meta_value as UNSIGNED ) ) FROM {$wpdb->postmeta} WHERE meta_key = '_price'"; 1231 1245 $max_query = "SELECT MAX( CAST( meta_value as UNSIGNED ) ) FROM {$wpdb->postmeta} WHERE meta_key = '_price'"; 1232 1246 $value_min = $wpdb->get_var( $min_query ); 1233 1247 $value_max = $wpdb->get_var( $max_query ); 1234 1248 return [ 1235 1249 'min' => (int)$value_min, 1236 1250 'max' => (int)$value_max, 1237 1251 ]; 1238 1252 } 1239 1253 1240 1254 } 1241 1255 1242 1256 /** 1243 1257 * [woolentor_pro_get_taxonomies] 1244 1258 * @return [array] product texonomies 1245 1259 */ 1246 1260 function woolentor_get_taxonomies( $object = 'product', $skip_terms = false ) { 1247 1261 $all_taxonomies = get_object_taxonomies( $object ); 1248 1262 $taxonomies_list = []; 1249 1263 foreach ( $all_taxonomies as $taxonomy_data ) { 1250 1264 $taxonomy = get_taxonomy( $taxonomy_data ); 1251 1265 if( $skip_terms === true ){ 1252 1266 if( ( $taxonomy->show_ui ) && ( 'pa_' !== substr( $taxonomy_data, 0, 3 ) ) ) { 1253 1267 $taxonomies_list[ $taxonomy_data ] = $taxonomy->label; 1254 1268 } 1255 1269 }else{ 1256 1270 if( $taxonomy->show_ui ) { 1257 1271 $taxonomies_list[ $taxonomy_data ] = $taxonomy->label; 1258 1272 } 1259 1273 } 1260 1274 } 1261 1275 return $taxonomies_list; 1262 1276 } 1263 1277 1264 1278 /** 1265 1279 * [woolentor_order_by_opts] 1266 1280 * @return [array] [description] 1267 1281 */ 1268 1282 function woolentor_order_by_opts() { 1269 1283 $options = [ 1270 1284 'none' => esc_html__( 'None', 'woolentor' ), 1271 1285 'ID' => esc_html__( 'ID', 'woolentor' ), 1272 1286 'date' => esc_html__( 'Date', 'woolentor' ), 1273 1287 'name' => esc_html__( 'Name', 'woolentor' ), 1274 1288 'title' => esc_html__( 'Title', 'woolentor' ), 1275 1289 'comment_count' => esc_html__( 'Comment count', 'woolentor' ), 1276 1290 'rand' => esc_html__( 'Random', 'woolentor' ), 1277 1291 'featured' => esc_html__( 'Featured', 'woolentor' ), 1278 1292 '_price' => esc_html__( 'Product Price', 'woolentor' ), 1279 1293 'total_sales' => esc_html__( 'Top Seller', 'woolentor' ), 1280 1294 '_wc_average_rating' => esc_html__( 'Top Rated', 'woolentor' ), 1281 1295 ]; 1282 1296 return apply_filters( 'woolentor_order_by_opts', $options ); 1283 1297 1284 1298 } 1285 1299 1286 1300 /** 1287 1301 * [woolentor_exist_compare_plugin] 1288 1302 * @return [bool] 1289 1303 */ 1290 1304 function woolentor_exist_compare_plugin(){ 1291 1305 if( class_exists('Ever_Compare') || class_exists('Woolentor_Ever_Compare') ){ 1292 1306 return true; 1293 1307 }elseif( class_exists('YITH_Woocompare') ){ 1294 1308 return true; 1295 1309 }else{ 1296 1310 return false; 1297 1311 } 1298 1312 } 1299 1313 1300 1314 /** 1301 1315 * Usages: Compare button shortcode [yith_compare_button] From "YITH WooCommerce Compare" plugins. 1302 1316 * Plugins URL: https://wordpress.org/plugins/yith-woocommerce-compare/ 1303 1317 * File Path: yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php 1304 1318 * The Function "woolentor_compare_button" Depends on YITH WooCommerce Compare plugins. If YITH WooCommerce Compare is installed and actived, then it will work. 1305 1319 */ 1306 1320 function woolentor_compare_button( $button_arg = array() ){ 1307 1321 1308 1322 global $product; 1309 1323 1310 1324 if( $product === null ){ 1311 1325 $product = function_exists('wc_get_product') ? wc_get_product( woolentor_get_last_product_id() ) : null; 1312 1326 } 1313 1327 1314 1328 $product_id = $product->get_id(); 1315 1329 1316 1330 $button_style = !empty( $button_arg['style'] ) ? $button_arg['style'] : 1; 1317 1331 1318 1332 $button_title = !empty( $button_arg['title'] ) ? $button_arg['title'] : esc_html__('Add to Compare','woolentor'); 1319 1333 $button_text = !empty( $button_arg['btn_text'] ) ? $button_arg['btn_text'] : esc_html__('Add to Compare','woolentor'); 1320 1334 $button_added_text = !empty( $button_arg['btn_added_txt'] ) ? $button_arg['btn_added_txt'] : esc_html__( 'Product Added','woolentor' ); 1321 1335 1322 1336 if( class_exists('Ever_Compare') || class_exists('Woolentor_Ever_Compare') ){ 1323 1337 1324 1338 if( !empty( $button_arg['btn_text_type'] ) && $button_arg['btn_text_type'] === 'text'){ 1325 1339 $button_text = woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' ); 1326 1340 $button_added_text = woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' ); 1327 1341 $button_title = $button_text; 1328 1342 } 1329 1343 1330 1344 $comp_link = \EverCompare\Frontend\Manage_Compare::instance()->get_compare_page_url(); 1331 1345 echo '<a title="'.esc_attr( $button_title ).'" href="'.esc_url( $comp_link ).'" class="htcompare-btn woolentor-compare" data-added-text="'.esc_attr( $button_added_text ).'" data-product_id="'.esc_attr( $product_id ).'" aria-label="'.esc_attr__('Compare','woolentor-pro').'" rel="nofollow">'.$button_text.'</a>'; 1332 1346 1333 1347 }elseif( class_exists('YITH_Woocompare') ){ 1334 1348 $comp_link = home_url() . '?action=yith-woocompare-add-product'; 1335 1349 $comp_link = add_query_arg('id', $product_id, $comp_link); 1336 1350 1337 1351 if( $button_style == 1 ){ 1338 1352 if( class_exists('YITH_Woocompare_Frontend') ){ 1339 1353 echo do_shortcode('[yith_compare_button]'); 1340 1354 } 1341 1355 }else{ 1342 1356 echo '<a title="'. esc_attr__('Add to Compare', 'woolentor') .'" href="'. esc_url( $comp_link ) .'" class="woolentor-compare compare" data-product_id="'. esc_attr( $product_id ) .'" aria-label="'.esc_attr__('Compare','woolentor-pro').'" rel="nofollow">'.esc_html__( 'Compare', 'woolentor' ).'</a>'; 1343 1357 } 1344 1358 }else{ 1345 1359 return 0; 1346 1360 } 1347 1361 1348 1362 } 1349 1363 1350 1364 1351 1365 1352 1366 /** 1353 1367 * [woolentor_has_wishlist_plugin] 1354 1368 * @return [bool] 1355 1369 */ 1356 1370 function woolentor_has_wishlist_plugin(){ 1357 1371 if( class_exists('WishSuite_Base') || class_exists('Woolentor_WishSuite_Base') ){ 1358 1372 return true; 1359 1373 }elseif( class_exists('YITH_WCWL') ){ 1360 1374 return true; 1361 1375 }elseif( class_exists('TInvWL_Public_AddToWishlist') ){ 1362 1376 return true; 1363 1377 }else{ 1364 1378 return apply_filters('woolentor_has_wishlist_plugin', false); 1365 1379 } 1366 1380 } 1367 1381 1368 1382 /** 1369 1383 * Usages: "woolentor_add_to_wishlist_button()" function is used to modify the wishlist button from "YITH WooCommerce Wishlist" plugins. 1370 1384 * Plugins URL: https://wordpress.org/plugins/yith-woocommerce-wishlist/ 1371 1385 * File Path: yith-woocommerce-wishlist/templates/add-to-wishlist.php 1372 1386 * The below Function depends on YITH WooCommerce Wishlist plugins. If YITH WooCommerce Wishlist is installed and actived, then it will work. 1373 1387 */ 1374 1388 1375 1389 function woolentor_add_to_wishlist_button( $normalicon = '<i class="fa fa-heart-o"></i>', $addedicon = '<i class="fa fa-heart"></i>', $tooltip = 'no' ) { 1376 1390 global $product; 1377 1391 1378 1392 if( $product === null ){ 1379 1393 $product = function_exists('wc_get_product') ? wc_get_product( woolentor_get_last_product_id() ) : null; 1380 1394 } 1381 1395 1382 1396 $output = ''; 1383 1397 1384 1398 if( class_exists('WishSuite_Base') || class_exists('Woolentor_WishSuite_Base') ){ 1385 1399 1386 1400 $button_class = ' wishlist'.( $tooltip == 'yes' ? '' : ' wltooltip_no' ); 1387 1401 1388 1402 $button_args = [ 1389 1403 'btn_class' => $button_class 1390 1404 ]; 1391 1405 1392 1406 add_filter( 'wishsuite_button_arg', function( $button_arg ) use ( $button_args ) { 1393 1407 if( strpos( $button_arg['button_class'], 'wishlist' ) == false ){ 1394 1408 $button_arg['button_class'] .= $button_args['btn_class']; 1395 1409 } 1396 1410 return $button_arg; 1397 1411 }, 90, 1 ); 1398 1412 1399 1413 $output .= do_shortcode('[wishsuite_button]'); 1400 1414 return $output; 1401 1415 1402 1416 }elseif( class_exists('TInvWL_Public_AddToWishlist') ){ 1403 1417 ob_start(); 1404 1418 TInvWL_Public_AddToWishlist::instance()->htmloutput(); 1405 1419 $output .= ob_get_clean(); 1406 1420 return $output; 1407 1421 1408 1422 }elseif( class_exists( 'YITH_WCWL' ) ){ 1409 1423 1410 1424 if( !empty( get_option( 'yith_wcwl_wishlist_page_id' ) ) ){ 1411 1425 global $yith_wcwl; 1412 1426 $url = YITH_WCWL()->get_wishlist_url(); 1413 1427 $product_type = $product->get_type(); 1414 1428 $exists = $yith_wcwl->is_product_in_wishlist( $product->get_id() ); 1415 1429 $classes = 'class="add_to_wishlist"'; 1416 1430 $add = get_option( 'yith_wcwl_add_to_wishlist_text' ); 1417 1431 $browse = get_option( 'yith_wcwl_browse_wishlist_text' ); 1418 1432 $added = get_option( 'yith_wcwl_product_added_text' ); 1419 1433 1420 1434 $output .= '<div class="'.( $tooltip == 'yes' ? '' : 'tooltip_no' ).' wishlist button-default yith-wcwl-add-to-wishlist add-to-wishlist-' . esc_attr( $product->get_id() ) . '">'; 1421 1435 $output .= '<div class="yith-wcwl-add-button'; 1422 1436 $output .= $exists ? ' hide" style="display:none;"' : ' show"'; 1423 1437 $output .= '><a href="' . esc_url( htmlspecialchars( YITH_WCWL()->get_wishlist_url() ) ) . '" data-product-id="' . esc_attr( $product->get_id() ) . '" data-product-type="' . esc_attr( $product_type ) . '" ' . $classes . ' aria-label="'.esc_attr__('Wishlist','woolentor-pro').'" rel="nofollow">'.$normalicon.'<span class="ht-product-action-tooltip">'.esc_html( $add ).'</span></a>'; 1424 1438 $output .= '<i class="fa fa-spinner fa-pulse ajax-loading" style="visibility:hidden"></i>'; 1425 1439 $output .= '</div>'; 1426 1440 1427 1441 $output .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><a class="" href="' . esc_url( $url ) . '" aria-label="'.esc_attr__('Wishlist','woolentor-pro').'" rel="nofollow">'.$addedicon.'<span class="ht-product-action-tooltip">'.esc_html( $browse ).'</span></a></div>'; 1428 1442 $output .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><a href="' . esc_url( $url ) . '" class="" aria-label="'.esc_attr__('Wishlist','woolentor-pro').'" rel="nofollow">'.$addedicon.'<span class="ht-product-action-tooltip">'.esc_html( $added ).'</span></a></div>'; 1429 1443 $output .= '</div>'; 1430 1444 1431 1445 return $output; 1432 1446 } 1433 1447 1434 1448 }else{ 1435 1449 return apply_filters('woolentor_add_to_wishlist_output', 0 ,$normalicon , $addedicon , $tooltip); 1436 1450 } 1437 1451 1438 1452 1439 1453 } 1440 1454 1441 1455 /* 1442 1456 * Ajax login Action 1443 1457 */ 1444 1458 global $user; 1445 1459 if ( empty( $user->ID ) ) { 1446 1460 add_action('init', 'woolentor_ajax_login_init' ); 1447 1461 } 1448 1462 1449 1463 function woolentor_ajax_login_init() { 1450 1464 add_action( 'wp_ajax_nopriv_woolentor_ajax_login', 'woolentor_ajax_login' ); 1451 1465 } 1452 1466 1453 1467 /* 1454 1468 * ajax login 1455 1469 */ 1456 1470 function woolentor_ajax_login(){ 1457 1471 1458 1472 // $message = WC_Form_Handler::process_login(); 1459 1473 1460 1474 $all_notices = wc_print_notices( true ); 1461 1475 1462 1476 wp_send_json_success( 1463 1477 array( 1464 1478 'notices' => $all_notices, 1465 1479 ) 1466 1480 ); 1467 1481 1468 1482 wp_die(); 1469 1483 1470 1484 } 1471 1485 1472 1486 /** 1473 1487 * Get Image Sizes 1474 1488 */ 1475 1489 function woolentor_get_image_size() { 1476 1490 $sizes = get_intermediate_image_sizes(); 1477 1491 $filter = array('full' => 'Full'); 1478 1492 foreach ( $sizes as $value ) { 1479 1493 $filter[$value] = ucwords( str_replace( array('_', '-'), array(' ', ' '), $value ) ); 1480 1494 } 1481 1495 return $filter; 1482 1496 } 1483 1497 1484 1498 /** 1485 1499 * Get Themes 1486 1500 * 1487 1501 * @return boolean 1488 1502 */ 1489 1503 function woolentor_get_theme_byname( $name ){ 1490 1504 $current_theme = wp_get_theme( $name ); 1491 1505 return $current_theme->exists(); 1492 1506 } 1493 1507 /** 1494 1508 * Get the directory name of the current theme regardless of the child theme. 1495 1509 * 1496 1510 * @return The directory name of the theme's "stylesheet" files, inside the theme root. 1497 1511 */ 1498 1512 function woolentor_get_current_theme_directory(){ 1499 1513 $current_theme_dir = ''; 1500 1514 $current_theme = wp_get_theme(); 1501 1515 if( $current_theme->exists() && $current_theme->parent() ){ 1502 1516 $parent_theme = $current_theme->parent(); 1503 1517 1504 1518 if( $parent_theme->exists() ){ 1505 1519 $current_theme_dir = $parent_theme->get_stylesheet(); 1506 1520 } 1507 1521 } elseif( $current_theme->exists() ) { 1508 1522 $current_theme_dir = $current_theme->get_stylesheet(); 1509 1523 } 1510 1524 1511 1525 return $current_theme_dir; 1512 1526 } 1513 1527 1514 1528 /* 1515 1529 * Products not found content. 1516 1530 */ 1517 1531 function woolentor_products_not_found_content(){ 1518 1532 return '<div class="products-not-found"><p class="woocommerce-info">' . esc_html__( 'No products were found matching your selection.','woolentor' ) . '</p></div>'; 1519 1533 } 1520 1534 1521 1535 /** 1522 1536 * Get countries 1523 1537 */ 1524 1538 if( !function_exists('woolentor_get_countries') ){ 1525 1539 function woolentor_get_countries(){ 1526 1540 $output = array(); 1527 1541 1528 1542 if( class_exists('WC_Countries') ){ 1529 1543 $countries = new WC_Countries(); 1530 1544 1531 1545 if ( is_object( $countries ) && ! empty( $countries ) ) { 1532 1546 $countries = $countries->get_countries(); 1533 1547 1534 1548 if ( is_array( $countries ) && ! empty( $countries ) ) { 1535 1549 $output = $countries; 1536 1550 } 1537 1551 } 1538 1552 } 1539 1553 1540 1554 return $output; 1541 1555 } 1542 1556 } 1543 1557 1544 1558 /** 1545 1559 * Get users 1546 1560 */ 1547 1561 if( !function_exists('woolentor_get_users') ){ 1548 1562 function woolentor_get_users(){ 1549 1563 $options = array(); 1550 1564 1551 1565 $query = new WP_User_Query( array( 'fields' => array( 'display_name', 'ID' ) ) ); 1552 1566 if ( ! is_wp_error( $query ) && ! empty( $query->get_results() ) ) { 1553 1567 foreach ( $query->get_results() as $item ) { 1554 1568 $options[$item->ID] = $item->display_name; 1555 1569 } 1556 1570 } 1557 1571 1558 1572 return $options; 1559 1573 } 1560 1574 } 1561 1575 1562 1576 /** 1563 1577 * Get user roles 1564 1578 */ 1565 1579 if( !function_exists('woolentor_get_user_roles') ){ 1566 1580 function woolentor_get_user_roles(){ 1567 1581 global $wp_roles; 1568 1582 $options = array(); 1569 1583 1570 1584 if ( ! empty( $wp_roles ) ) { 1571 1585 if ( ! empty( $wp_roles->roles ) ) { 1572 1586 foreach ( $wp_roles->roles as $role_key => $role_value ) { 1573 1587 $options[$role_key] = $role_value['name']; 1574 1588 } 1575 1589 } 1576 1590 } 1577 1591 1578 1592 return $options; 1579 1593 } 1580 1594 } -
woolentor-addons/trunk/includes/modules/compare/assets/js/frontend.js
r3037382 r3044764 1 1 (function ($) { 2 2 "use strict"; 3 3 4 4 var $body = $("body"), 5 5 $popup = $(".htcompare-popup"); 6 6 7 7 // Add product in compare table 8 8 $body.on("click", "a.htcompare-btn", function (e) { 9 9 var $this = $(this), 10 10 id = $this.data("product_id"), 11 11 addedText = $this.data("added-text"); 12 12 13 13 if (evercompare.popup === "yes") { 14 14 e.preventDefault(); 15 15 if ($this.hasClass("added")) { 16 16 $body.find(".htcompare-popup").addClass("open"); 17 17 return true; 18 18 } 19 19 } else { 20 20 if ($this.hasClass("added")) return true; 21 21 } 22 22 23 23 e.preventDefault(); 24 24 25 25 $this.addClass("loading"); 26 26 27 27 $.ajax({ 28 28 url: evercompare.ajaxurl, 29 29 data: { 30 30 action: "ever_compare_add_to_compare", 31 31 id: id, 32 32 }, 33 33 dataType: "json", 34 34 method: "GET", 35 35 success: function (response) { 36 36 if (response.table) { 37 37 updateCompareData(response); 38 38 if (evercompare.popup === "yes") { 39 39 $popup.addClass("open"); 40 40 } else { 41 41 window.location.replace(evercompare.tableurl); 42 42 } 43 43 } else { 44 44 console.log("Something wrong loading compare data"); 45 45 } 46 46 }, 47 47 error: function (data) { 48 48 console.log("Something wrong with AJAX response."); 49 49 }, 50 50 complete: function () { 51 51 $this.removeClass("loading").addClass("added"); 52 52 $this.html('<span class="htcompare-btn-text">' + addedText + "</span>"); 53 53 }, 54 54 }); 55 55 }); 56 56 57 57 // Remove data from compare table 58 58 $body.on("click", "a.htcompare-remove", function (e) { 59 59 var $table = $(".htcompare-table"); 60 60 61 61 e.preventDefault(); 62 62 var $this = $(this), 63 63 id = $this.data("product_id"); 64 64 65 65 $table.addClass("loading"); 66 66 $this.addClass("loading"); 67 67 68 68 jQuery.ajax({ 69 69 url: evercompare.ajaxurl, 70 70 data: { 71 71 action: "ever_compare_remove_from_compare", 72 72 id: id, 73 73 }, 74 74 dataType: "json", 75 75 method: "GET", 76 76 success: function (response) { 77 77 if (response.table) { 78 78 updateCompareData(response); 79 79 } else { 80 80 console.log("Something wrong loading compare data"); 81 81 } 82 82 }, 83 83 error: function (data) { 84 84 console.log("Something wrong with AJAX response."); 85 85 }, 86 86 complete: function () { 87 87 $table.removeClass("loading"); 88 88 $this.addClass("loading"); 89 89 }, 90 90 }); 91 91 }); 92 92 93 93 // Update table HTML 94 94 function updateCompareData(data) { 95 95 if ($(".htcompare-table").length > 0) { 96 96 $(".htcompare-table").replaceWith(data.table); 97 97 $(".evercompare-copy-link").on("click", function (e) { 98 98 evercompareCopyToClipboard( 99 99 $(this) 100 100 .closest(".ever-compare-shareable-link") 101 101 .find(".evercompare-share-link"), 102 102 this 103 103 ); 104 104 }); 105 105 } 106 106 } 107 107 108 108 // Close popup 109 109 $body.on("click", ".htcompare-popup-close", function (e) { 110 $(this).parents(".htcompare-popup.open").removeClass("open"); 110 111 $popup.removeClass("open"); 111 112 }); 112 113 113 114 // Copy Shareable link 114 115 $(".evercompare-copy-link").on("click", function (e) { 115 116 evercompareCopyToClipboard( 116 117 $(this) 117 118 .closest(".ever-compare-shareable-link") 118 119 .find(".evercompare-share-link"), 119 120 this 120 121 ); 121 122 }); 122 123 function evercompareCopyToClipboard(element, button) { 123 124 var $tempdata = $("<input>"); 124 125 $("body").append($tempdata); 125 126 $tempdata.val($(element).text()).select(); 126 127 document.execCommand("copy"); 127 128 $tempdata.remove(); 128 129 $(button).text($(button).data("copytext")); 129 130 setTimeout(function () { 130 131 $(button).text($(button).data("btntext")); 131 132 }, 1000); 132 133 } 133 134 })(jQuery); -
woolentor-addons/trunk/includes/modules/compare/assets/js/frontend.min.js
r3037382 r3044764 1 !function(e){"use strict";var a=e("body"),o=e(".htcompare-popup");function t(a){e(".htcompare-table").length>0&&(e(".htcompare-table").replaceWith(a.table),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)})))}function n(a,o){var t=e("<input>");e("body").append(t),t.val(e(a).text()).select(),document.execCommand("copy"),t.remove(),e(o).text(e(o).data("copytext")),setTimeout((function(){e(o).text(e(o).data("btntext"))}),1e3)}a.on("click","a.htcompare-btn",(function(n){var r=e(this),c=r.data("product_id"), l=r.data("added-text");if("yes"===evercompare.popup){if(n.preventDefault(),r.hasClass("added"))return a.find(".htcompare-popup").addClass("open"),!0}else if(r.hasClass("added"))return!0;n.preventDefault(),r.addClass("loading"),e.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_add_to_compare",id:c},dataType:"json",method:"GET",success:function(e){e.table?(t(e),"yes"===evercompare.popup?o.addClass("open"):window.location.replace(evercompare.tableurl)):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){r.removeClass("loading").addClass("added"),r.html('<span class="htcompare-btn-text">'+l+"</span>")}})})),a.on("click","a.htcompare-remove",(function(a){var o=e(".htcompare-table");a.preventDefault();var n=e(this),r=n.data("product_id");o.addClass("loading"),n.addClass("loading"),jQuery.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_remove_from_compare",id:r},dataType:"json",method:"GET",success:function(e){e.table?t(e):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){o.removeClass("loading"),n.addClass("loading")}})})),a.on("click",".htcompare-popup-close",(function(e){o.removeClass("open")})),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)}))}(jQuery);1 !function(e){"use strict";var a=e("body"),o=e(".htcompare-popup");function t(a){e(".htcompare-table").length>0&&(e(".htcompare-table").replaceWith(a.table),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)})))}function n(a,o){var t=e("<input>");e("body").append(t),t.val(e(a).text()).select(),document.execCommand("copy"),t.remove(),e(o).text(e(o).data("copytext")),setTimeout((function(){e(o).text(e(o).data("btntext"))}),1e3)}a.on("click","a.htcompare-btn",(function(n){var r=e(this),c=r.data("product_id"),p=r.data("added-text");if("yes"===evercompare.popup){if(n.preventDefault(),r.hasClass("added"))return a.find(".htcompare-popup").addClass("open"),!0}else if(r.hasClass("added"))return!0;n.preventDefault(),r.addClass("loading"),e.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_add_to_compare",id:c},dataType:"json",method:"GET",success:function(e){e.table?(t(e),"yes"===evercompare.popup?o.addClass("open"):window.location.replace(evercompare.tableurl)):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){r.removeClass("loading").addClass("added"),r.html('<span class="htcompare-btn-text">'+p+"</span>")}})})),a.on("click","a.htcompare-remove",(function(a){var o=e(".htcompare-table");a.preventDefault();var n=e(this),r=n.data("product_id");o.addClass("loading"),n.addClass("loading"),jQuery.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_remove_from_compare",id:r},dataType:"json",method:"GET",success:function(e){e.table?t(e):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){o.removeClass("loading"),n.addClass("loading")}})})),a.on("click",".htcompare-popup-close",(function(a){e(this).parents(".htcompare-popup.open").removeClass("open"),o.removeClass("open")})),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)}))}(jQuery); -
woolentor-addons/trunk/includes/modules/compare/includes/classes/Frontend/Shortcode.php
r3037382 r3044764 1 1 <?php 2 2 namespace EverCompare\Frontend; 3 3 /** 4 4 * Shortcode handler class 5 5 */ 6 6 class Shortcode { 7 7 8 8 /** 9 9 * [$_instance] 10 10 * @var null 11 11 */ 12 12 private static $_instance = null; 13 13 14 14 /** 15 15 * [instance] Initializes a singleton instance 16 16 * @return [Base] 17 17 */ 18 18 public static function instance() { 19 19 if ( is_null( self::$_instance ) ) { 20 20 self::$_instance = new self(); 21 21 } 22 22 return self::$_instance; 23 23 } 24 24 25 25 /** 26 26 * Initializes the class 27 27 */ 28 28 function __construct() { 29 29 add_shortcode( 'evercompare_button', [ $this, 'button_shortcode' ] ); 30 30 add_shortcode( 'evercompare_table', [ $this, 'table_shortcode' ] ); 31 31 } 32 32 33 33 /** 34 34 * [button_shortcode] Compare Button Shortcode callable function 35 35 * @param [type] $atts 36 36 * @param string $content 37 37 * @return [HTML] 38 38 */ 39 39 public function button_shortcode( $atts, $content = '' ){ 40 40 41 41 wp_enqueue_style( 'evercompare-frontend' ); 42 42 wp_enqueue_script( 'evercompare-frontend' ); 43 43 44 44 global $product; 45 $product_id = is_a( $product, 'WC_Product' ) ? $product->get_id() : get_the_ID(); 45 46 46 47 // Fetch option data 47 48 $button_text = woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' ); 48 49 $button_added_text = woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' ); 49 50 50 51 $shop_page_btn_position = woolentor_get_option( 'shop_btn_position', 'ever_compare_settings_tabs', 'after_cart_btn' ); 51 52 $product_page_btn_position = woolentor_get_option( 'product_btn_position', 'ever_compare_settings_tabs', 'after_cart_btn' ); 52 53 $button_style = woolentor_get_option( 'button_style', 'ever_compare_style_tabs', 'theme' ); 53 54 54 55 $button_class = array( 55 56 'htcompare-btn', 56 57 'htcompare-btn-style-'.$button_style, 57 58 'htcompare-shop-'.$shop_page_btn_position, 58 59 'htcompare-product-'.$product_page_btn_position, 59 60 ); 60 61 61 62 if( $button_style === 'theme' ){ 62 63 $button_class[] = 'button'; 63 64 } 64 65 65 66 $button_icon = $this->get_icon(); 66 67 $added_button_icon = $this->get_icon('added_'); 67 68 68 69 if( !empty( $button_text ) ){ 69 70 $button_text = '<span class="evercompare-btn-text">'.$button_text.'</span>'; 70 71 } 71 72 72 73 if( !empty( $button_added_text ) ){ 73 74 $button_added_text = '<span class="evercompare-btn-text">'.$button_added_text.'</span>'; 74 75 } 75 76 76 77 // Shortcode atts 77 78 $default_atts = array( 78 'product_id' => $product ->get_id(),79 'product_id' => $product_id, 79 80 'button_url' => Manage_Compare::instance()->get_compare_page_url(), 80 81 'button_class' => implode(' ', $button_class ), 81 82 'button_text' => $button_icon.$button_text, 82 83 'button_added_text' => $added_button_icon.$button_added_text, 83 84 'template_name' => 'add', 84 85 ); 85 86 86 87 $atts = shortcode_atts( $default_atts, $atts, $content ); 87 88 return Manage_Compare::instance()->button_html( $atts ); 88 89 89 90 } 90 91 91 92 /** 92 93 * [table_shortcode] Compare table shortcode callable function 93 94 * @param [type] $atts 94 95 * @param string $content 95 96 * @return [HTML] 96 97 */ 97 98 public function table_shortcode( $atts, $content = '' ){ 98 99 99 100 wp_enqueue_style( 'evercompare-frontend' ); 100 101 wp_enqueue_script( 'evercompare-frontend' ); 101 102 102 103 /* Fetch From option data */ 103 104 $empty_compare_text = woolentor_get_option('empty_table_text','ever_compare_table_settings_tabs'); 104 105 $return_shop_button = woolentor_get_option('shop_button_text','ever_compare_table_settings_tabs','Return to shop'); 105 106 106 107 /* Product and Field */ 107 108 $products = Manage_Compare::instance()->get_compared_products_data(); 108 109 $fields = Manage_Compare::instance()->get_compare_fields(); 109 110 110 111 $custom_heading = !empty( woolentor_get_option( 'table_heading', 'ever_compare_table_settings_tabs' ) ) ? woolentor_get_option( 'table_heading', 'ever_compare_table_settings_tabs' ) : array(); 111 112 112 113 $default_atts = array( 113 114 'evercompare' => Manage_Compare::instance(), 114 115 'products' => $products, 115 116 'fields' => $fields, 116 117 'return_shop_button'=> $return_shop_button, 117 118 'heading_txt' => $custom_heading, 118 119 'empty_compare_text'=> $empty_compare_text, 119 120 ); 120 121 121 122 $atts = shortcode_atts( $default_atts, $atts, $content ); 122 123 return Manage_Compare::instance()->table_html( $atts ); 123 124 124 125 } 125 126 126 127 /** 127 128 * [get_icon] 128 129 * @param string $type 129 130 * @return [HTML] 130 131 */ 131 132 public function get_icon( $type = '' ){ 132 133 133 134 $default_icon = ever_compare_icon_list('default'); 134 135 $default_loader = '<span class="ever-compare-loader">'.ever_compare_icon_list('loading').'</span>'; 135 136 136 137 $button_text = ( $type === 'added' ) ? woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' ) : woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' ); 137 138 138 139 $button_icon_type = woolentor_get_option( $type.'button_icon_type', 'ever_compare_settings_tabs', 'default' ); 139 140 140 141 if( $button_icon_type === 'custom' ){ 141 142 $button_icon = woolentor_get_option( $type.'button_custom_icon','ever_compare_settings_tabs', '' ); 142 143 }elseif( $button_icon_type === 'default' ){ 143 144 return $default_icon; 144 145 }else{ 145 146 $button_icon = ''; 146 147 } 147 148 148 149 if( !empty( $button_icon ) ){ 149 150 $button_icon = '<span class="ever-compare-btn-image"><img src="'.esc_url( $button_icon ).'" alt="'.esc_attr( $button_text ).'"></span>'; 150 151 } 151 152 152 153 return $default_loader.$button_icon; 153 154 154 155 } 155 156 156 157 157 158 } -
woolentor-addons/trunk/includes/modules/compare/includes/templates/evercompare-button-add.php
r3037382 r3044764 1 <span class="htcompare-button-area"><a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo $button_class; ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'ever-compare'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo $button_text; ?></a></span>1 <span class="htcompare-button-area"><a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo esc_attr__($button_class); ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'ever-compare'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo __($button_text); ?></a></span> -
woolentor-addons/trunk/includes/modules/wishlist/includes/templates/wishsuite-button-add.php
r3037382 r3044764 1 <a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo $button_class; ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo $button_text; ?></a>1 <a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo esc_attr( $button_class ); ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo __($button_text); ?></a> -
woolentor-addons/trunk/includes/modules/wishlist/includes/templates/wishsuite-button-exist.php
r3037382 r3044764 1 <a href="<?php echo esc_url( $button_url ); ?>" class="wishsuite-btn-exist <?php echo $button_class; ?>" data-added-text="<?php echo esc_attr__( $button_exist_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo $button_exist_text; ?></a>1 <a href="<?php echo esc_url( $button_url ); ?>" class="wishsuite-btn-exist <?php echo esc_attr($button_class); ?>" data-added-text="<?php echo esc_attr__( $button_exist_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo __($button_exist_text); ?></a> -
woolentor-addons/trunk/languages/woolentor.pot
r3037382 r3044764 1 1 #, fuzzy 2 2 msgid "" 3 3 msgstr "" 4 4 "Project-Id-Version: ShopLentor – WooCommerce Builder for Elementor & " 5 5 "Gutenberg\n" 6 6 "Report-Msgid-Bugs-To: \n" 7 "POT-Creation-Date: 2024-0 2-18 06:07+0000\n"7 "POT-Creation-Date: 2024-03-03 05:31+0000\n" 8 8 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 9 9 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 10 10 "Language-Team: \n" 11 11 "Language: \n" 12 12 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 13 13 "MIME-Version: 1.0\n" 14 14 "Content-Type: text/plain; charset=UTF-8\n" 15 15 "Content-Transfer-Encoding: 8bit\n" 16 16 "X-Generator: Loco https://localise.biz/\n" 17 17 "X-Loco-Version: 2.6.6; wp-6.4.3\n" 18 18 "X-Domain: woolentor" 19 19 20 20 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:392 21 21 msgid " Starts With" 22 22 msgstr "" 23 23 24 24 #. %s: Product title 25 25 #: includes/modules/variation-swatch/includes/ajax-actions.php:88 26 26 #, php-format 27 27 msgid "\"%1$s\" has been added to your cart. %2$s" 28 28 msgstr "" 29 29 30 30 #. 1: Plugin name 2: PHP 3: Required PHP version 31 31 #: includes/base.php:174 32 32 #, php-format 33 33 msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater." 34 34 msgstr "" 35 35 36 36 #: includes/addons/product_flash_sale.php:626 37 37 msgid "\"Out of stock\" BG Color" 38 38 msgstr "" 39 39 40 40 #: includes/addons/product_flash_sale.php:614 41 41 msgid "\"Out of stock\" Text Color" 42 42 msgstr "" 43 43 44 44 #: includes/addons/wl_onepage_slider.php:476 45 45 #: includes/addons/wl_onepage_slider.php:481 46 46 #: includes/addons/wl_onepage_slider.php:486 47 47 msgid "#" 48 48 msgstr "" 49 49 50 50 #: includes/base.php:149 51 51 #, php-format 52 52 msgid "" 53 53 "%1$sShopLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s " 54 54 "plugin to be active. Please activate WooCommerce to continue." 55 55 msgstr "" 56 56 57 57 #: includes/base.php:153 58 58 #, php-format 59 59 msgid "" 60 60 "%1$sShopLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s " 61 61 "plugin to be installed and activated. Please install WooCommerce to continue." 62 62 msgstr "" 63 63 64 64 #: classes/class.default_data.php:310 65 65 #, php-format 66 66 msgid "%s customer review" 67 67 msgid_plural "%s customer reviews" 68 68 msgstr[0] "" 69 69 msgstr[1] "" 70 70 71 71 #: woolentor-blocks/src/blocks/product-reviews/index.php:26 72 72 #: woolentor-blocks/src/blocks/product-reviews/index.php:47 73 73 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:26 74 74 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:47 75 75 msgid "*" 76 76 msgstr "" 77 77 78 78 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:186 79 79 msgid "+ Add Condition" 80 80 msgstr "" 81 81 82 82 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:188 83 83 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:203 84 84 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:217 85 85 msgid "-------" 86 86 msgstr "" 87 87 88 88 #: includes/admin/templates/dashboard-sidebar.php:25 89 89 msgid ". Which will motivate us a lot." 90 90 msgstr "" 91 91 92 92 #: includes/addons/product_flash_sale.php:105 93 93 #: includes/addons/product_curvy.php:82 includes/addons/product_curvy.php:100 94 94 #: includes/addons/product_tabs.php:96 95 95 #: woolentor-blocks/src/blocks/product-reviews/index.php:29 96 96 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:29 97 97 msgid "1" 98 98 msgstr "" 99 99 100 100 #: includes/admin/templates/dashboard-sidebar.php:13 101 101 msgid "10+ Custom Shop Page Templates" 102 102 msgstr "" 103 103 104 104 #: includes/admin/templates/dashboard-sidebar.php:11 105 105 msgid "100+ Elementor Elements" 106 106 msgstr "" 107 107 108 108 #: includes/addons/wb_product_call_for_price.php:63 109 109 #: includes/addons/wb_product_call_for_price.php:64 110 110 msgid "123-456-7890" 111 111 msgstr "" 112 112 113 113 #: includes/admin/templates/dashboard-sidebar.php:12 114 114 msgid "15+ Product Custom Templates" 115 115 msgstr "" 116 116 117 117 #: includes/addons/product_flash_sale.php:106 118 118 #: includes/addons/product_curvy.php:83 includes/addons/product_curvy.php:101 119 119 #: includes/addons/product_tabs.php:97 120 120 #: woolentor-blocks/src/blocks/product-reviews/index.php:30 121 121 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:30 122 122 msgid "2" 123 123 msgstr "" 124 124 125 125 #: includes/addons/product_flash_sale.php:107 126 126 #: includes/addons/product_curvy.php:84 includes/addons/product_tabs.php:98 127 127 #: woolentor-blocks/src/blocks/product-reviews/index.php:31 128 128 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:31 129 129 msgid "3" 130 130 msgstr "" 131 131 132 132 #: includes/addons/product_flash_sale.php:108 133 133 #: includes/addons/product_curvy.php:85 includes/addons/product_tabs.php:99 134 134 #: woolentor-blocks/src/blocks/product-reviews/index.php:32 135 135 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:32 136 136 msgid "4" 137 137 msgstr "" 138 138 139 139 #: includes/modules/popup-builder/includes/class-repeater-helper.php:179 140 140 msgid "404 Page" 141 141 msgstr "" 142 142 143 143 #: includes/addons/product_flash_sale.php:109 144 144 #: includes/addons/product_tabs.php:100 145 145 #: woolentor-blocks/src/blocks/product-reviews/index.php:33 146 146 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:33 147 147 msgid "5" 148 148 msgstr "" 149 149 150 150 #: includes/addons/special_day_offer.php:115 151 151 msgid "50%" 152 152 msgstr "" 153 153 154 154 #: includes/addons/product_flash_sale.php:110 155 155 #: includes/addons/product_tabs.php:101 156 156 msgid "6" 157 157 msgstr "" 158 158 159 159 #: includes/addons/product_tabs.php:1501 includes/addons/product_tabs.php:1631 160 160 #: woolentor-blocks/src/blocks/product-tab/loop-item.php:39 161 161 #: woolentor-blocks/production/src/blocks/product-tab/loop-item.php:39 162 162 msgid ":" 163 163 msgstr "" 164 164 165 165 #: woolentor-blocks/src/blocks/product-curvy/index.php:98 166 166 #: woolentor-blocks/production/src/blocks/product-curvy/index.php:98 167 167 msgid "<i class=\"fa fa-shopping-cart\"></i>" 168 168 msgstr "" 169 169 170 170 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:79 171 171 msgid "Action" 172 172 msgstr "" 173 173 174 174 #: includes/addons/product_tabs.php:1125 175 175 msgid "Action Button" 176 176 msgstr "" 177 177 178 178 #: includes/addons/product_flash_sale.php:642 179 179 #: includes/addons/product_image_accordion.php:522 180 180 #: includes/addons/product_accordion.php:601 181 181 #: includes/addons/product_curvy.php:726 182 182 msgid "Action Button Style" 183 183 msgstr "" 184 184 185 185 #: includes/admin/include/template-library.php:190 186 186 #: includes/admin/include/template-library.php:243 187 187 #: includes/admin/include/class.extension-manager.php:159 188 188 #: includes/admin/include/class.extension-manager.php:226 189 189 msgid "Activate" 190 190 msgstr "" 191 191 192 192 #: includes/base.php:148 193 193 msgid "Activate WooCommerce" 194 194 msgstr "" 195 195 196 196 #: includes/admin/include/template-library.php:202 197 197 #: includes/admin/include/template-library.php:254 198 198 #: includes/admin/include/class.extension-manager.php:170 199 199 #: includes/admin/include/class.extension-manager.php:237 200 200 msgid "Activated" 201 201 msgstr "" 202 202 203 203 #: classes/class.assest_management.php:372 204 204 msgid "Activating.." 205 205 msgstr "" 206 206 207 207 #: classes/class.assest_management.php:373 includes/addons/wl_faq.php:464 208 208 #: includes/addons/wl_faq.php:760 includes/addons/wb_product_data_tab.php:187 209 209 #: includes/addons/wb_archive_product.php:758 210 210 msgid "Active" 211 211 msgstr "" 212 212 213 213 #: includes/addons/wl_product_filter.php:582 214 214 msgid "Active Slider Background" 215 215 msgstr "" 216 216 217 217 #: includes/addons/product_image_accordion.php:73 218 218 #: includes/addons/product_accordion.php:94 219 219 #: includes/addons/product_curvy.php:129 220 220 msgid "Add ID Manually" 221 221 msgstr "" 222 222 223 223 #: includes/admin/include/admin_field-manager.php:451 224 224 msgid "Add Item" 225 225 msgstr "" 226 226 227 227 #: includes/admin/include/class.template_cpt.php:54 228 228 msgid "Add New" 229 229 msgstr "" 230 230 231 231 #: includes/admin/include/class.template_cpt.php:53 232 232 msgid "Add New Template" 233 233 msgstr "" 234 234 235 235 #: includes/addons/wl_recently_viewed_products.php:406 236 236 #: includes/addons/wb_wishsuite_table.php:347 237 #: woolentor-blocks/includes/classes/Api/Api.php: 191238 #: woolentor-blocks/production/includes/classes/Api/Api.php: 191237 #: woolentor-blocks/includes/classes/Api/Api.php:223 238 #: woolentor-blocks/production/includes/classes/Api/Api.php:223 239 239 msgid "Add To Cart" 240 240 msgstr "" 241 241 242 242 #: includes/addons/wb_product_add_to_cart.php:1020 243 243 #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:1025 244 244 msgid "Add to Cart" 245 245 msgstr "" 246 246 247 247 #: includes/addons/wb_archive_product.php:542 248 248 msgid "Add To Cart Button" 249 249 msgstr "" 250 250 251 251 #: includes/addons/product_image_accordion.php:200 252 252 #: includes/addons/product_accordion.php:221 253 253 #: includes/addons/product_curvy.php:244 254 254 msgid "Add to Cart Button Icon" 255 255 msgstr "" 256 256 257 257 #: includes/addons/product_image_accordion.php:189 258 258 #: includes/addons/product_accordion.php:209 259 259 msgid "Add to Cart Button Text" 260 260 msgstr "" 261 261 262 #: includes/helper-function.php:13 18 includes/helper-function.php:1319263 #: includes/helper-function.php:13 42262 #: includes/helper-function.php:1332 includes/helper-function.php:1333 263 #: includes/helper-function.php:1356 264 264 #: woolentor-blocks/includes/helper-functions.php:593 265 265 #: woolentor-blocks/includes/helper-functions.php:594 266 266 #: woolentor-blocks/includes/helper-functions.php:610 267 267 #: woolentor-blocks/production/includes/helper-functions.php:593 268 268 #: woolentor-blocks/production/includes/helper-functions.php:594 269 269 #: woolentor-blocks/production/includes/helper-functions.php:610 270 270 msgid "Add to Compare" 271 271 msgstr "" 272 272 273 273 #: includes/class.product_video_gallery.php:30 274 274 msgid "Add Youtube / Vimeo URL" 275 275 msgstr "" 276 276 277 277 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:330 278 278 msgid "add_to_cart" 279 279 msgstr "" 280 280 281 281 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:205 282 282 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:206 283 283 msgid "Added" 284 284 msgstr "" 285 285 286 286 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:249 287 287 msgid "Added button custom icon" 288 288 msgstr "" 289 289 290 290 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:236 291 291 msgid "Added button icon type" 292 292 msgstr "" 293 293 294 294 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:202 295 295 msgid "Added button text" 296 296 msgstr "" 297 297 298 298 #: includes/modules/shopify-like-checkout/templates/form-shipping.php:44 299 299 msgid "Additional information" 300 300 msgstr "" 301 301 302 302 #: includes/addons/wl_faq.php:183 303 303 #: includes/addons/wl_product_horizontal_filter.php:242 304 304 #: includes/addons/wl_product_filter.php:87 305 305 msgid "Additional Options" 306 306 msgstr "" 307 307 308 308 #: classes/class.widgets_control.php:228 309 309 msgid "Adds Banner" 310 310 msgstr "" 311 311 312 312 #: includes/addons/wb_product_suggest_price.php:87 313 313 #: includes/addons/wb_product_suggest_price.php:88 314 314 msgid "admin@domain.com" 315 315 msgstr "" 316 316 317 317 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:111 318 318 msgid "Advanced" 319 319 msgstr "" 320 320 321 321 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:123 322 322 msgid "After" 323 323 msgstr "" 324 324 325 325 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:96 326 326 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:143 327 327 msgid "After Add To Cart" 328 328 msgstr "" 329 329 330 330 #: includes/addons/wb_product_add_to_cart.php:503 331 331 msgid "After Add to Cart" 332 332 msgstr "" 333 333 334 334 #: includes/addons/wl_category_grid.php:649 335 335 msgid "After Border Color" 336 336 msgstr "" 337 337 338 338 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:144 339 339 msgid "After Image" 340 340 msgstr "" 341 341 342 342 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:286 343 343 msgid "After Inactivity" 344 344 msgstr "" 345 345 346 346 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:145 347 347 msgid "After Summary" 348 348 msgstr "" 349 349 350 350 #: includes/addons/wl_faq.php:246 351 351 msgid "After Title" 352 352 msgstr "" 353 353 354 354 #: includes/admin/templates/dashboard-freevspro.php:71 355 355 msgid "Ajax Add to Cart (In Product Detail Page)" 356 356 msgstr "" 357 357 358 358 #: includes/admin/templates/dashboard-freevspro.php:109 359 359 msgid "Ajax Search Widget" 360 360 msgstr "" 361 361 362 362 #: includes/addons/wl_faq.php:350 includes/addons/wl_faq.php:573 363 363 #: includes/addons/wb_product_short_description.php:53 364 364 #: includes/addons/wl_breadcrumbs.php:74 365 365 #: includes/addons/wb_wishsuite_counter.php:65 366 366 #: includes/addons/wl_product_horizontal_filter.php:790 367 367 #: includes/addons/wl_onepage_slider.php:169 368 368 #: includes/addons/special_day_offer.php:269 369 369 #: includes/addons/wl_store_features.php:139 370 370 #: includes/addons/wb_product_data_tab.php:156 371 371 #: includes/addons/wb_archive_product.php:233 372 372 #: includes/addons/wl_archive_title.php:108 373 373 #: includes/addons/wb_product_qr_code.php:87 374 374 #: includes/addons/wb_product_related.php:165 375 375 #: includes/addons/wb_archive_result_count.php:79 376 376 #: includes/addons/wb_product_description.php:51 377 377 #: includes/addons/wl_category.php:309 includes/addons/wl_brand.php:294 378 378 #: includes/addons/wb_product_categories.php:60 379 379 #: includes/addons/wb_product_rating.php:96 380 380 #: includes/addons/wb_product_title.php:103 381 381 #: includes/addons/wb_product_sku.php:60 382 382 #: includes/addons/wb_customer_review.php:286 383 383 #: includes/addons/wl_recently_viewed_products.php:246 384 384 #: includes/addons/product_tabs.php:241 includes/addons/product_tabs.php:962 385 385 #: includes/addons/product_tabs.php:1041 386 386 #: includes/addons/wl_category_grid.php:730 387 387 #: includes/addons/wb_product_tags.php:60 388 388 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:55 389 389 msgid "Alignment" 390 390 msgstr "" 391 391 392 392 #: includes/admin/include/template-library/templates_list.php:29 393 393 msgid "ALL" 394 394 msgstr "" 395 395 396 396 #: includes/addons/wb_wc_multicurrency.php:58 397 397 #: includes/admin/include/class.template-manager.php:377 398 398 #: includes/modules/popup-builder/includes/class-repeater-helper.php:99 399 399 msgid "All" 400 400 msgstr "" 401 401 402 402 #: includes/modules/popup-builder/includes/class-repeater-helper.php:156 403 403 msgid "All Archives" 404 404 msgstr "" 405 405 406 406 #: includes/admin/include/class.template-manager.php:486 407 407 msgid "All Assigned Template has been imported" 408 408 msgstr "" 409 409 410 410 #: includes/admin/include/template-library/templates_list.php:18 411 411 msgid "All Builders" 412 412 msgstr "" 413 413 414 414 #: includes/addons/wl_category_grid.php:75 415 415 #: includes/modules/ajax-search/base.php:133 416 416 msgid "All Categories" 417 417 msgstr "" 418 418 419 419 #: includes/addons/wl_category.php:97 includes/addons/wl_category_grid.php:76 420 420 msgid "All Categories (Parent Only)" 421 421 msgstr "" 422 422 423 423 #: includes/admin/include/class.template-manager.php:473 424 424 msgid "All Data Saved" 425 425 msgstr "" 426 426 427 427 #: includes/admin/templates/dashboard-freevspro.php:226 428 428 #: includes/admin/templates/dashboard-freevspro.php:273 429 429 msgid "All Features" 430 430 msgstr "" 431 431 432 432 #: classes/class.assest_management.php:361 433 433 msgid "All Items have been Loaded" 434 434 msgstr "" 435 435 436 436 #: includes/modules/popup-builder/includes/class-repeater-helper.php:173 437 437 msgid "All Singular" 438 438 msgstr "" 439 439 440 440 #: includes/addons/wb_archive_product.php:99 441 441 msgid "Allow Order" 442 442 msgstr "" 443 443 444 444 #: includes/addons/wb_product_add_to_cart.php:1279 445 445 #: woolentor-blocks/src/blocks/product-addtocart/manager.php:116 446 446 #: woolentor-blocks/production/src/blocks/product-addtocart/manager.php:116 447 447 msgid "Already Compared" 448 448 msgstr "" 449 449 450 450 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:59 451 451 msgid "Already have an account?" 452 452 msgstr "" 453 453 454 454 #. Description of the plugin 455 455 msgid "" 456 456 "An all-in-one WooCommerce solution to create a beautiful WooCommerce store." 457 457 msgstr "" 458 458 459 459 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:269 460 460 msgid "Animation" 461 461 msgstr "" 462 462 463 463 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:389 464 464 msgid "Animation Duration (sec)" 465 465 msgstr "" 466 466 467 467 #: includes/addons/wl_testimonial.php:84 includes/addons/wl_testimonial.php:145 468 468 msgid "Anna Miller" 469 469 msgstr "" 470 470 471 471 #: includes/modules/shopify-like-checkout/templates/form-coupon.php:21 472 472 msgid "Apply" 473 473 msgstr "" 474 474 475 475 #: includes/modules/shopify-like-checkout/templates/form-coupon.php:21 476 476 msgid "Apply coupon" 477 477 msgstr "" 478 478 479 479 #: includes/admin/include/class.template-manager.php:266 480 480 #: includes/admin/include/class.template-manager.php:289 481 481 msgid "Archive" 482 482 msgstr "" 483 483 484 484 #: classes/class.widgets_control.php:408 485 485 msgid "Archive Catalog Ordering" 486 486 msgstr "" 487 487 488 488 #: includes/addons/wl_archive_title.php:226 489 489 msgid "Archive Description" 490 490 msgstr "" 491 491 492 492 #: classes/class.widgets_control.php:400 493 493 #: woolentor-blocks/includes/classes/Blocks_List.php:230 494 494 #: woolentor-blocks/production/includes/classes/Blocks_List.php:230 495 495 msgid "Archive Layout Default" 496 496 msgstr "" 497 497 498 498 #: includes/addons/wb_archive_product.php:43 499 499 msgid "Archive Product" 500 500 msgstr "" 501 501 502 502 #: classes/class.widgets_control.php:404 503 503 msgid "Archive Result Count" 504 504 msgstr "" 505 505 506 506 #: classes/class.widgets_control.php:268 507 507 #: includes/addons/wl_archive_title.php:43 508 508 #: includes/addons/wl_archive_title.php:224 509 509 #: woolentor-blocks/includes/classes/Blocks_List.php:89 510 510 #: woolentor-blocks/production/includes/classes/Blocks_List.php:89 511 511 msgid "Archive Title" 512 512 msgstr "" 513 513 514 514 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:139 515 515 msgid "Archives" 516 516 msgstr "" 517 517 518 518 #: includes/modules/popup-builder/includes/class-repeater-helper.php:24 519 519 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:151 520 520 msgid "Archives (Pro)" 521 521 msgstr "" 522 522 523 523 #: includes/admin/include/template-library.php:87 524 524 #: includes/admin/include/class.notice.php:42 525 525 msgid "Are you cheating?" 526 526 msgstr "" 527 527 528 528 #: classes/class.assest_management.php:337 529 529 #: includes/admin/include/class.template-manager.php:489 530 530 msgid "Are you sure?" 531 531 msgstr "" 532 532 533 533 #: includes/addons/wl_product_horizontal_filter.php:347 534 534 #: includes/addons/wl_onepage_slider.php:160 535 535 #: includes/addons/wl_store_features.php:131 536 536 #: includes/addons/wb_customer_review.php:278 537 537 #: includes/addons/wl_category_grid.php:500 538 538 msgid "Area" 539 539 msgstr "" 540 540 541 541 #: includes/addons/wl_onepage_slider.php:202 542 542 msgid "Area Background Type" 543 543 msgstr "" 544 544 545 545 #: includes/addons/wl_store_features.php:206 546 546 msgid "Area Margin" 547 547 msgstr "" 548 548 549 549 #: includes/addons/wl_store_features.php:193 550 550 msgid "Area Padding" 551 551 msgstr "" 552 552 553 553 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:254 554 554 msgid "Arrow Color" 555 555 msgstr "" 556 556 557 557 #: includes/addons/wl_product_horizontal_filter.php:92 558 558 #: includes/addons/wb_product_upsell.php:84 559 559 #: includes/addons/wb_archive_product.php:148 560 560 #: includes/addons/wb_product_related.php:99 561 561 #: includes/addons/wl_product_filter.php:118 562 562 msgid "ASC" 563 563 msgstr "" 564 564 565 565 #: includes/addons/product_flash_sale.php:154 566 566 #: includes/addons/product_image_accordion.php:167 567 567 #: includes/addons/product_accordion.php:188 568 568 #: includes/addons/wl_category.php:137 includes/addons/product_curvy.php:223 569 569 #: includes/addons/wl_recently_viewed_products.php:64 570 570 #: includes/addons/product_tabs.php:182 571 571 #: includes/addons/wl_category_grid.php:129 572 572 msgid "Ascending" 573 573 msgstr "" 574 574 575 575 #: includes/addons/wl_product_horizontal_filter.php:89 576 576 #: includes/addons/wl_product_filter.php:115 577 577 msgid "Ascending order label" 578 578 msgstr "" 579 579 580 580 #: includes/admin/include/class.template-manager.php:485 581 581 msgid "Assigned Template Importing.." 582 582 msgstr "" 583 583 584 584 #: includes/admin/include/diagnostic-data.php:490 585 585 #, php-format 586 586 msgid "" 587 587 "At %2$s%1$s%3$s, we prioritize continuous improvement and compatibility. To " 588 588 "achieve this, we gather non-sensitive diagnostic information and details " 589 589 "about plugin usage. This includes your site's URL, the versions of WordPress " 590 590 "and PHP you're using, and a list of your installed plugins and themes. We " 591 591 "also require your email address to provide you with exclusive discount " 592 592 "coupons and updates. This data collection is crucial for ensuring that " 593 593 "%2$s%1$s%3$s remains up-to-date and compatible with the most widely-used " 594 594 "plugins and themes. Rest assured, your privacy is our priority – no spam, " 595 595 "guaranteed. %4$sPrivacy Policy%5$s" 596 596 msgstr "" 597 597 598 598 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:110 599 599 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:115 600 600 msgid "Auto convert Dropdown to Image Swatch" 601 601 msgstr "" 602 602 603 603 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:104 604 604 msgid "Auto convert Dropdowns to Label Swatch" 605 605 msgstr "" 606 606 607 607 #: includes/addons/wl_testimonial.php:367 includes/addons/product_tabs.php:515 608 608 #: includes/addons/wl_category_grid.php:392 609 609 msgid "Autoplay animation speed" 610 610 msgstr "" 611 611 612 612 #: includes/addons/wl_testimonial.php:354 includes/addons/product_tabs.php:502 613 613 #: includes/addons/wl_category_grid.php:380 614 614 msgid "Autoplay speed" 615 615 msgstr "" 616 616 617 617 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:332 618 618 msgid "availability" 619 619 msgstr "" 620 620 621 621 #: includes/addons/product_flash_sale.php:363 622 622 msgid "Available Custom Text" 623 623 msgstr "" 624 624 625 625 #: includes/addons/product_flash_sale.php:931 626 626 msgid "Available Number Color" 627 627 msgstr "" 628 628 629 629 #: includes/addons/product_flash_sale.php:365 630 630 #: includes/addons/product_flash_sale.php:1038 631 631 msgid "Available:" 632 632 msgstr "" 633 633 634 634 #: woolentor-blocks/src/blocks/product-reviews/index.php:40 635 635 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:40 636 636 msgid "Average" 637 637 msgstr "" 638 638 639 639 #: includes/addons/wl_category_grid.php:1171 640 640 msgid "Awaiting category image" 641 641 msgstr "" 642 642 643 643 #: classes/class.default_data.php:343 644 644 msgid "Awaiting product image" 645 645 msgstr "" 646 646 647 647 #: includes/admin/include/template-library/templates_list.php:49 648 648 msgid "Back to Library" 649 649 msgstr "" 650 650 651 651 #: includes/addons/wl_faq.php:308 includes/addons/wl_faq.php:386 652 652 #: includes/addons/wl_faq.php:471 includes/addons/wl_faq.php:649 653 653 #: includes/addons/wl_faq.php:784 includes/addons/product_flash_sale.php:911 654 654 #: includes/addons/wl_product_horizontal_filter.php:401 655 655 #: includes/addons/wl_product_horizontal_filter.php:588 656 656 #: includes/addons/wl_product_horizontal_filter.php:775 657 657 #: includes/addons/wl_product_horizontal_filter.php:862 658 658 #: includes/addons/wl_product_horizontal_filter.php:893 659 659 #: includes/addons/wl_onepage_slider.php:196 660 660 #: includes/addons/wl_onepage_slider.php:347 661 661 #: includes/addons/wl_onepage_slider.php:553 662 662 #: includes/addons/wl_onepage_slider.php:569 663 663 #: includes/addons/special_day_offer.php:681 664 664 #: includes/addons/special_day_offer.php:760 665 665 #: includes/addons/wl_testimonial.php:989 666 666 #: includes/addons/wl_store_features.php:219 667 667 #: includes/addons/wl_store_features.php:321 668 668 #: includes/addons/wl_store_features.php:385 669 669 #: includes/addons/product_image_accordion.php:293 670 670 #: includes/addons/product_image_accordion.php:564 671 671 #: includes/addons/product_image_accordion.php:623 672 672 #: includes/addons/product_accordion.php:358 673 673 #: includes/addons/product_accordion.php:371 674 674 #: includes/addons/product_accordion.php:635 675 675 #: includes/addons/product_accordion.php:682 676 676 #: includes/addons/product_curvy.php:384 includes/addons/product_curvy.php:397 677 677 #: includes/addons/product_curvy.php:735 includes/addons/product_curvy.php:767 678 678 #: includes/addons/product_curvy.php:811 includes/addons/wb_just_table.php:123 679 679 #: includes/addons/wb_product_suggest_price.php:236 680 680 #: includes/addons/wb_product_suggest_price.php:335 681 681 #: includes/addons/wb_product_suggest_price.php:433 682 682 #: includes/addons/wb_product_suggest_price.php:510 683 683 #: includes/addons/wl_product_filter.php:279 684 684 #: includes/addons/wl_product_filter.php:349 685 685 #: includes/addons/wl_product_filter.php:399 686 686 #: includes/addons/wl_product_filter.php:566 687 687 #: includes/addons/wl_product_filter.php:577 688 688 #: includes/addons/wl_product_filter.php:626 689 689 #: includes/addons/wl_product_filter.php:719 690 690 #: includes/addons/wl_product_filter.php:783 691 691 #: includes/addons/wb_image_marker.php:51 692 692 #: includes/addons/wb_image_marker.php:207 693 693 #: includes/addons/wb_image_marker.php:260 694 694 #: includes/addons/wb_customer_review.php:327 695 695 #: includes/addons/wb_wishsuite_table.php:398 696 696 #: includes/addons/wb_wishsuite_table.php:430 697 697 #: includes/addons/product_tabs.php:785 698 698 #: includes/addons/wl_category_grid.php:530 699 699 #: includes/addons/wl_category_grid.php:998 700 700 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:174 701 701 msgid "Background" 702 702 msgstr "" 703 703 704 704 #: includes/addons/wl_testimonial.php:855 705 705 #: includes/addons/wl_testimonial.php:929 706 706 #: includes/addons/wl_testimonial.php:1029 707 707 #: includes/addons/wb_product_data_tab.php:113 708 708 #: includes/addons/wb_product_data_tab.php:205 709 709 #: includes/addons/wb_archive_product.php:571 710 710 #: includes/addons/wb_archive_product.php:660 711 711 #: includes/addons/wb_archive_product.php:744 712 712 #: includes/addons/wb_archive_product.php:777 713 713 #: includes/addons/wb_archive_product.php:837 714 714 #: includes/addons/wb_archive_catalog_ordering.php:72 715 715 #: includes/addons/wb_product_call_for_price.php:156 716 716 #: includes/addons/wb_product_call_for_price.php:188 717 717 #: includes/addons/product_accordion.php:65 718 718 #: includes/addons/wb_product_suggest_price.php:629 719 719 #: includes/addons/wb_product_suggest_price.php:661 720 720 #: includes/addons/wb_product_suggest_price.php:772 721 721 #: includes/addons/wb_product_suggest_price.php:804 722 722 #: includes/addons/wl_recently_viewed_products.php:458 723 723 #: includes/addons/wl_recently_viewed_products.php:510 724 724 #: includes/addons/wl_recently_viewed_products.php:614 725 725 #: includes/addons/wl_recently_viewed_products.php:689 726 726 #: includes/addons/wb_wishsuite_table.php:231 727 727 #: includes/addons/product_tabs.php:670 includes/addons/product_tabs.php:722 728 728 #: includes/addons/product_tabs.php:826 includes/addons/product_tabs.php:1155 729 729 #: includes/addons/product_tabs.php:1215 730 730 #: includes/addons/wb_product_add_to_cart.php:1117 731 731 #: includes/addons/wb_product_add_to_cart.php:1151 732 732 #: includes/addons/wl_category_grid.php:634 733 733 #: includes/addons/wl_category_grid.php:864 734 734 #: includes/addons/wl_category_grid.php:938 735 735 #: includes/addons/wl_category_grid.php:1038 736 736 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:221 737 737 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:455 738 738 msgid "Background Color" 739 739 msgstr "" 740 740 741 741 #: includes/addons/wl_onepage_slider.php:353 742 742 #: includes/addons/wl_onepage_slider.php:559 743 743 #: includes/addons/product_accordion.php:61 744 744 msgid "Background Type" 745 745 msgstr "" 746 746 747 747 #: includes/admin/templates/dashboard-freevspro.php:125 748 748 msgid "Backorder" 749 749 msgstr "" 750 750 751 751 #: includes/modules/backorder/class.backorder.php:509 752 752 msgid "Backorder Availability" 753 753 msgstr "" 754 754 755 755 #: includes/modules/backorder/class.backorder.php:496 756 756 msgid "Backorder Limit" 757 757 msgstr "" 758 758 759 759 #: includes/modules/backorder/class.backorder.php:500 760 760 msgid "" 761 761 "Backorder limit. If this is a variable product this value will be used to " 762 762 "control backorder limit for all variations, unless you define backorder " 763 763 "limit at variation level." 764 764 msgstr "" 765 765 766 766 #: includes/modules/backorder/class.backorder.php:104 767 767 msgid "Backordered" 768 768 msgstr "" 769 769 770 770 #: includes/addons/wl_recently_viewed_products.php:547 771 771 msgid "Badge" 772 772 msgstr "" 773 773 774 774 #: includes/addons/special_day_offer.php:165 775 775 msgid "Badge Image" 776 776 msgstr "" 777 777 778 778 #: includes/addons/special_day_offer.php:43 includes/addons/add_banner.php:43 779 779 msgid "Banner" 780 780 msgstr "" 781 781 782 782 #: includes/addons/special_day_offer.php:155 783 783 msgid "Banner Badge" 784 784 msgstr "" 785 785 786 786 #: includes/addons/special_day_offer.php:106 787 787 msgid "Banner Description" 788 788 msgstr "" 789 789 790 790 #: includes/addons/add_banner.php:77 791 791 msgid "Banner image" 792 792 msgstr "" 793 793 794 794 #: includes/addons/special_day_offer.php:131 795 795 msgid "Banner Link" 796 796 msgstr "" 797 797 798 798 #: includes/addons/special_day_offer.php:97 includes/addons/add_banner.php:105 799 799 msgid "Banner Sub Title" 800 800 msgstr "" 801 801 802 802 #: includes/addons/special_day_offer.php:88 includes/addons/add_banner.php:97 803 803 msgid "Banner Title" 804 804 msgstr "" 805 805 806 806 #: includes/addons/wb_product_add_to_cart.php:502 807 807 msgid "Befor Add to Cart" 808 808 msgstr "" 809 809 810 810 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:119 811 811 msgid "Before" 812 812 msgstr "" 813 813 814 814 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:95 815 815 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:142 816 816 msgid "Before Add To Cart" 817 817 msgstr "" 818 818 819 819 #: includes/addons/wl_category_grid.php:778 820 820 msgid "Before Border Color" 821 821 msgstr "" 822 822 823 823 #: includes/addons/wl_faq.php:245 824 824 msgid "Before Title" 825 825 msgstr "" 826 826 827 827 #: includes/addons/product_image_accordion.php:68 828 828 #: includes/addons/product_accordion.php:89 829 829 #: includes/addons/product_curvy.php:124 includes/addons/product_tabs.php:81 830 830 msgid "Best Selling Products" 831 831 msgstr "" 832 832 833 833 #: includes/modules/shopify-like-checkout/templates/form-billing.php:26 834 834 msgid "Billing & Shipping" 835 835 msgstr "" 836 836 837 837 #: includes/modules/shopify-like-checkout/templates/form-billing.php:28 838 838 msgid "Billing address" 839 839 msgstr "" 840 840 841 841 #: includes/admin/templates/dashboard-gutenberg.php:14 842 842 msgid "Blocks" 843 843 msgstr "" 844 844 845 845 #: includes/admin/templates/dashboard-widget.php:88 846 846 msgid "Blog" 847 847 msgstr "" 848 848 849 849 #: includes/addons/wl_onepage_slider.php:473 850 850 msgid "Boho Dreams" 851 851 msgstr "" 852 852 853 853 #: includes/addons/wl_faq.php:288 includes/addons/wl_faq.php:409 854 854 #: includes/addons/wl_faq.php:493 includes/addons/wl_faq.php:678 855 855 #: includes/addons/wl_faq.php:813 856 856 #: includes/addons/wl_product_horizontal_filter.php:356 857 857 #: includes/addons/wl_product_horizontal_filter.php:454 858 858 #: includes/addons/wl_product_horizontal_filter.php:521 859 859 #: includes/addons/wl_product_horizontal_filter.php:607 860 860 #: includes/addons/wl_product_horizontal_filter.php:730 861 861 #: includes/addons/wl_onepage_slider.php:532 862 862 #: includes/addons/special_day_offer.php:661 863 863 #: includes/addons/special_day_offer.php:740 864 864 #: includes/addons/wl_testimonial.php:484 865 865 #: includes/addons/wl_testimonial.php:540 866 866 #: includes/addons/wl_testimonial.php:867 867 867 #: includes/addons/wl_testimonial.php:941 868 868 #: includes/addons/wl_testimonial.php:1001 869 869 #: includes/addons/wl_testimonial.php:1042 870 870 #: includes/addons/wl_store_features.php:171 871 871 #: includes/addons/wl_store_features.php:331 872 872 #: includes/addons/wl_store_features.php:395 873 873 #: includes/addons/wl_store_features.php:419 874 874 #: includes/addons/wb_product_data_tab.php:53 875 875 #: includes/addons/wb_archive_product.php:180 876 876 #: includes/addons/wb_archive_product.php:275 877 877 #: includes/addons/wb_archive_product.php:584 878 878 #: includes/addons/wb_archive_product.php:673 879 879 #: includes/addons/wb_archive_catalog_ordering.php:99 880 880 #: includes/addons/wb_product_call_for_price.php:137 881 881 #: includes/addons/wl_category.php:301 includes/addons/wl_brand.php:250 882 882 #: includes/addons/wl_brand.php:331 883 883 #: includes/addons/wb_product_suggest_price.php:271 884 884 #: includes/addons/wb_product_suggest_price.php:370 885 885 #: includes/addons/wb_product_suggest_price.php:468 886 886 #: includes/addons/wb_product_suggest_price.php:520 887 887 #: includes/addons/wb_product_suggest_price.php:610 888 888 #: includes/addons/wb_product_suggest_price.php:753 889 889 #: includes/addons/wl_product_filter.php:212 890 890 #: includes/addons/wl_product_filter.php:298 891 891 #: includes/addons/wl_product_filter.php:370 892 892 #: includes/addons/wl_product_filter.php:409 893 893 #: includes/addons/wl_product_filter.php:492 894 894 #: includes/addons/wl_product_filter.php:637 895 895 #: includes/addons/wl_product_filter.php:730 896 896 #: includes/addons/wl_product_filter.php:794 897 897 #: includes/addons/wb_image_marker.php:217 898 898 #: includes/addons/wb_image_marker.php:270 899 899 #: includes/addons/wb_image_marker.php:331 900 900 #: includes/addons/wb_customer_review.php:337 901 901 #: includes/addons/wb_customer_review.php:370 902 902 #: includes/addons/wl_recently_viewed_products.php:216 903 903 #: includes/addons/wl_recently_viewed_products.php:286 904 904 #: includes/addons/wl_recently_viewed_products.php:470 905 905 #: includes/addons/wl_recently_viewed_products.php:522 906 906 #: includes/addons/wl_recently_viewed_products.php:626 907 907 #: includes/addons/wb_wishsuite_table.php:99 908 908 #: includes/addons/wb_wishsuite_table.php:127 909 909 #: includes/addons/product_tabs.php:317 includes/addons/product_tabs.php:398 910 910 #: includes/addons/product_tabs.php:683 includes/addons/product_tabs.php:735 911 911 #: includes/addons/product_tabs.php:798 includes/addons/product_tabs.php:840 912 912 #: includes/addons/product_tabs.php:887 913 913 #: includes/addons/wb_product_add_to_cart.php:612 914 914 #: includes/addons/wb_product_add_to_cart.php:706 915 915 #: includes/addons/wb_product_add_to_cart.php:1097 916 916 #: includes/addons/wl_category_grid.php:577 917 917 #: includes/addons/wl_category_grid.php:876 918 918 #: includes/addons/wl_category_grid.php:950 919 919 #: includes/addons/wl_category_grid.php:1010 920 920 #: includes/addons/wl_category_grid.php:1051 921 921 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:207 922 922 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:324 923 923 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:157 924 924 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:246 925 925 msgid "Border" 926 926 msgstr "" 927 927 928 928 #: includes/addons/wb_product_data_tab.php:124 929 929 #: includes/addons/wb_product_data_tab.php:216 930 930 #: includes/addons/wb_archive_product.php:709 931 931 #: includes/addons/product_image_accordion.php:551 932 932 #: includes/addons/product_image_accordion.php:608 933 933 #: includes/addons/wb_product_call_for_price.php:199 934 934 #: includes/addons/product_accordion.php:395 935 935 #: includes/addons/product_curvy.php:352 includes/addons/product_curvy.php:368 936 936 #: includes/addons/wb_product_suggest_price.php:672 937 937 #: includes/addons/wb_product_suggest_price.php:815 938 938 #: includes/addons/wb_wishsuite_table.php:241 939 939 #: includes/addons/wb_product_add_to_cart.php:1163 940 940 #: includes/addons/wb_ever_compare_table.php:187 941 941 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:512 942 942 msgid "Border Color" 943 943 msgstr "" 944 944 945 945 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:542 946 946 msgid "Border color" 947 947 msgstr "" 948 948 949 949 #: includes/addons/wl_faq.php:296 includes/addons/wl_faq.php:417 950 950 #: includes/addons/wl_faq.php:501 includes/addons/wl_faq.php:689 951 951 #: includes/addons/wl_faq.php:824 includes/addons/product_flash_sale.php:707 952 952 #: includes/addons/product_flash_sale.php:970 953 953 #: includes/addons/wl_product_horizontal_filter.php:364 954 954 #: includes/addons/wl_product_horizontal_filter.php:615 955 955 #: includes/addons/wl_product_horizontal_filter.php:738 956 956 #: includes/addons/wl_onepage_slider.php:540 957 957 #: includes/addons/special_day_offer.php:669 958 958 #: includes/addons/special_day_offer.php:748 959 959 #: includes/addons/wl_testimonial.php:492 960 960 #: includes/addons/wl_testimonial.php:548 961 961 #: includes/addons/wl_testimonial.php:875 962 962 #: includes/addons/wl_testimonial.php:949 963 963 #: includes/addons/wl_testimonial.php:1009 964 964 #: includes/addons/wl_testimonial.php:1050 965 965 #: includes/addons/wl_store_features.php:339 966 966 #: includes/addons/wb_product_data_tab.php:145 967 967 #: includes/addons/wb_product_data_tab.php:237 968 968 #: includes/addons/wb_archive_product.php:188 969 969 #: includes/addons/wb_archive_product.php:283 970 970 #: includes/addons/wb_archive_product.php:592 971 971 #: includes/addons/wb_archive_product.php:879 972 972 #: includes/addons/product_image_accordion.php:573 973 973 #: includes/addons/wb_product_image.php:61 974 974 #: includes/addons/wb_product_image.php:106 975 975 #: includes/addons/wb_product_call_for_price.php:145 976 976 #: includes/addons/product_accordion.php:644 977 977 #: includes/addons/product_curvy.php:776 978 978 #: includes/addons/wl_product_video_gallery.php:134 979 979 #: includes/addons/wl_product_video_gallery.php:180 980 980 #: includes/addons/wl_brand.php:258 includes/addons/wl_brand.php:339 981 981 #: includes/addons/wb_product_suggest_price.php:280 982 982 #: includes/addons/wb_product_suggest_price.php:379 983 983 #: includes/addons/wb_product_suggest_price.php:477 984 984 #: includes/addons/wb_product_suggest_price.php:529 985 985 #: includes/addons/wb_product_suggest_price.php:618 986 986 #: includes/addons/wb_product_suggest_price.php:761 987 987 #: includes/addons/wl_product_filter.php:645 988 988 #: includes/addons/wl_product_filter.php:738 989 989 #: includes/addons/wb_image_marker.php:225 990 990 #: includes/addons/wb_image_marker.php:278 991 991 #: includes/addons/wb_image_marker.php:339 992 992 #: includes/addons/wb_customer_review.php:345 993 993 #: includes/addons/wb_customer_review.php:378 994 994 #: includes/addons/wl_recently_viewed_products.php:224 995 995 #: includes/addons/wl_recently_viewed_products.php:294 996 996 #: includes/addons/wl_recently_viewed_products.php:478 997 997 #: includes/addons/wl_recently_viewed_products.php:530 998 998 #: includes/addons/wl_recently_viewed_products.php:634 999 999 #: includes/addons/product_tabs.php:325 includes/addons/product_tabs.php:406 1000 1000 #: includes/addons/product_tabs.php:691 includes/addons/product_tabs.php:743 1001 1001 #: includes/addons/product_tabs.php:806 includes/addons/product_tabs.php:848 1002 1002 #: includes/addons/product_tabs.php:895 1003 1003 #: includes/addons/wb_product_add_to_cart.php:380 1004 1004 #: includes/addons/wb_product_add_to_cart.php:620 1005 1005 #: includes/addons/wb_product_add_to_cart.php:714 1006 1006 #: includes/addons/wb_product_add_to_cart.php:1105 1007 1007 #: includes/addons/wl_category_grid.php:585 1008 1008 #: includes/addons/wl_category_grid.php:884 1009 1009 #: includes/addons/wl_category_grid.php:958 1010 1010 #: includes/addons/wl_category_grid.php:1018 1011 1011 #: includes/addons/wl_category_grid.php:1059 1012 1012 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:216 1013 1013 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:333 1014 1014 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:520 1015 1015 msgid "Border Radius" 1016 1016 msgstr "" 1017 1017 1018 1018 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:499 1019 1019 msgid "Border width" 1020 1020 msgstr "" 1021 1021 1022 1022 #: includes/addons/wb_product_add_to_cart.php:504 1023 1023 msgid "Both Side of Add to Cart" 1024 1024 msgstr "" 1025 1025 1026 1026 #: includes/addons/special_day_offer.php:56 1027 1027 #: includes/addons/wl_product_video_gallery.php:73 1028 1028 #: includes/addons/add_banner.php:69 1029 1029 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:413 1030 1030 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:476 1031 1031 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:490 1032 1032 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:504 1033 1033 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:525 1034 1034 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:555 1035 1035 msgid "Bottom" 1036 1036 msgstr "" 1037 1037 1038 1038 #: includes/addons/wl_testimonial.php:257 1039 1039 #: includes/addons/wb_customer_review.php:245 1040 1040 msgid "Bottom Space" 1041 1041 msgstr "" 1042 1042 1043 1043 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:284 1044 1044 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:341 1045 1045 msgid "bounce" 1046 1046 msgstr "" 1047 1047 1048 1048 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:294 1049 1049 msgid "bounceIn" 1050 1050 msgstr "" 1051 1051 1052 1052 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:295 1053 1053 msgid "bounceInDown" 1054 1054 msgstr "" 1055 1055 1056 1056 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:296 1057 1057 msgid "bounceInLeft" 1058 1058 msgstr "" 1059 1059 1060 1060 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:297 1061 1061 msgid "bounceInRight" 1062 1062 msgstr "" 1063 1063 1064 1064 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:298 1065 1065 msgid "bounceInUp" 1066 1066 msgstr "" 1067 1067 1068 1068 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:351 1069 1069 msgid "bounceOut" 1070 1070 msgstr "" 1071 1071 1072 1072 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:352 1073 1073 msgid "bounceOutDown" 1074 1074 msgstr "" 1075 1075 1076 1076 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:353 1077 1077 msgid "bounceOutLeft" 1078 1078 msgstr "" 1079 1079 1080 1080 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:354 1081 1081 msgid "bounceOutRight" 1082 1082 msgstr "" 1083 1083 1084 1084 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:355 1085 1085 msgid "bounceOutUp" 1086 1086 msgstr "" 1087 1087 1088 1088 #: includes/addons/wl_category_grid.php:550 1089 1089 msgid "Box Color" 1090 1090 msgstr "" 1091 1091 1092 1092 #: includes/addons/wl_faq.php:318 includes/addons/wl_faq.php:430 1093 1093 #: includes/addons/wl_faq.php:527 includes/addons/wl_faq.php:705 1094 1094 #: includes/addons/wl_faq.php:840 1095 1095 #: includes/addons/wl_product_horizontal_filter.php:411 1096 1096 #: includes/addons/wl_store_features.php:229 1097 1097 #: includes/addons/wb_archive_product.php:225 1098 1098 #: includes/addons/wl_recently_viewed_products.php:701 1099 1099 #: includes/addons/wl_category_grid.php:521 1100 1100 msgid "Box Shadow" 1101 1101 msgstr "" 1102 1102 1103 1103 #: classes/class.widgets_control.php:284 includes/addons/wl_brand.php:241 1104 1104 msgid "Brand" 1105 1105 msgstr "" 1106 1106 1107 1107 #: includes/addons/wl_brand.php:322 1108 1108 msgid "Brand Image" 1109 1109 msgstr "" 1110 1110 1111 1111 #: includes/addons/wl_brand.php:95 1112 1112 msgid "Brand Link" 1113 1113 msgstr "" 1114 1114 1115 1115 #: includes/addons/wl_brand.php:51 1116 1116 #: woolentor-blocks/includes/classes/Blocks_List.php:24 1117 1117 #: woolentor-blocks/production/includes/classes/Blocks_List.php:24 1118 1118 #: woolentor-blocks/src/blocks/brand-logo/index.php:19 1119 1119 #: woolentor-blocks/production/src/blocks/brand-logo/index.php:19 1120 1120 msgid "Brand Logo" 1121 1121 msgstr "" 1122 1122 1123 1123 #: includes/addons/wl_brand.php:138 1124 1124 msgid "Brand Option" 1125 1125 msgstr "" 1126 1126 1127 1127 #: includes/addons/wl_brand.php:74 includes/addons/wl_brand.php:114 1128 1128 msgid "Brand Title" 1129 1129 msgstr "" 1130 1130 1131 1131 #: classes/class.widgets_control.php:272 includes/addons/wl_breadcrumbs.php:43 1132 1132 #: woolentor-blocks/includes/classes/Blocks_List.php:96 1133 1133 #: woolentor-blocks/production/includes/classes/Blocks_List.php:96 1134 1134 msgid "Breadcrumbs" 1135 1135 msgstr "" 1136 1136 1137 1137 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:614 1138 1138 msgid "Browsers" 1139 1139 msgstr "" 1140 1140 1141 1141 #: includes/addons/wl_onepage_slider.php:294 1142 1142 #: includes/addons/special_day_offer.php:620 includes/addons/wb_whols.php:48 1143 1143 #: includes/addons/wb_product_call_for_price.php:74 1144 1144 #: includes/addons/wl_product_filter.php:688 1145 1145 #: includes/addons/wb_product_add_to_cart.php:462 1146 1146 #: includes/addons/wb_product_add_to_cart.php:870 1147 1147 #: includes/addons/add_banner.php:230 1148 1148 msgid "Button" 1149 1149 msgstr "" 1150 1150 1151 1151 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:164 1152 1152 msgid "Button Area" 1153 1153 msgstr "" 1154 1154 1155 1155 #: includes/addons/product_flash_sale.php:660 1156 1156 #: includes/addons/product_flash_sale.php:669 1157 1157 msgid "Button Background" 1158 1158 msgstr "" 1159 1159 1160 1160 #: includes/addons/product_flash_sale.php:699 1161 1161 msgid "Button Border" 1162 1162 msgstr "" 1163 1163 1164 1164 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:224 1165 1165 msgid "Button custom icon" 1166 1166 msgstr "" 1167 1167 1168 1168 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:431 1169 1169 msgid "Button custom style" 1170 1170 msgstr "" 1171 1171 1172 1172 #: includes/addons/product_flash_sale.php:744 1173 1173 msgid "Button Hover Background Color" 1174 1174 msgstr "" 1175 1175 1176 1176 #: includes/addons/product_flash_sale.php:730 1177 1177 msgid "Button Hover Icon Color" 1178 1178 msgstr "" 1179 1179 1180 1180 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:106 1181 1181 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:270 1182 1182 msgid "Button Icon" 1183 1183 msgstr "" 1184 1184 1185 1185 #: includes/addons/product_flash_sale.php:678 1186 1186 #: includes/addons/product_flash_sale.php:686 1187 1187 msgid "Button Icon Color" 1188 1188 msgstr "" 1189 1189 1190 1190 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:211 1191 1191 msgid "Button icon type" 1192 1192 msgstr "" 1193 1193 1194 1194 #: includes/addons/wl_onepage_slider.php:103 includes/addons/add_banner.php:121 1195 1195 msgid "Button Link" 1196 1196 msgstr "" 1197 1197 1198 1198 #: includes/addons/wb_product_call_for_price.php:61 1199 1199 msgid "Button Phone Number" 1200 1200 msgstr "" 1201 1201 1202 1202 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:49 1203 1203 msgid "Button Settings" 1204 1204 msgstr "" 1205 1205 1206 1206 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:406 1207 1207 msgid "Button style" 1208 1208 msgstr "" 1209 1209 1210 1210 #: includes/addons/wl_onepage_slider.php:93 1211 1211 #: includes/addons/special_day_offer.php:146 1212 1212 #: includes/addons/special_day_offer.php:148 1213 1213 #: includes/addons/wb_product_call_for_price.php:50 1214 1214 #: includes/addons/wb_product_suggest_price.php:51 1215 1215 #: includes/addons/add_banner.php:113 1216 1216 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:46 1217 1217 msgid "Button Text" 1218 1218 msgstr "" 1219 1219 1220 1220 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:193 1221 1221 msgid "Button text" 1222 1222 msgstr "" 1223 1223 1224 1224 #: includes/addons/product_image_accordion.php:191 1225 1225 #: includes/addons/product_accordion.php:212 1226 1226 msgid "Buy" 1227 1227 msgstr "" 1228 1228 1229 1229 #: classes/class.assest_management.php:369 1230 1230 #: includes/admin/include/template-library.php:210 1231 1231 #: includes/admin/include/template-library.php:262 1232 1232 #: includes/admin/include/class.extension-manager.php:190 1233 1233 #: includes/admin/templates/dashboard-popup.php:14 1234 1234 msgid "Buy Now" 1235 1235 msgstr "" 1236 1236 1237 1237 #: includes/admin/templates/dashboard-popup.php:12 1238 1238 msgid "BUY PRO" 1239 1239 msgstr "" 1240 1240 1241 1241 #: includes/modules/sales-notification/class.sale_notification.php:238 1242 1242 msgid "By" 1243 1243 msgstr "" 1244 1244 1245 1245 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:87 1246 1246 msgid "By checking this will enable you to set multiple color." 1247 1247 msgstr "" 1248 1248 1249 1249 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:64 1250 1250 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:310 1251 1251 msgid "" 1252 1252 "By default, the \"Attribute Name\" will be shown as the tooltip. If you want " 1253 1253 "custom tooltip text, put it here." 1254 1254 msgstr "" 1255 1255 1256 1256 #: includes/addons/wb_product_call_for_price.php:43 1257 1257 #: includes/addons/wb_product_call_for_price.php:52 1258 1258 #: includes/addons/wb_product_call_for_price.php:53 1259 1259 msgid "Call For Price" 1260 1260 msgstr "" 1261 1261 1262 1262 #: classes/class.assest_management.php:336 1263 1263 #: includes/admin/include/class.template-manager.php:492 1264 1264 msgid "Cancel" 1265 1265 msgstr "" 1266 1266 1267 1267 #: includes/addons/wb_customer_review.php:82 1268 1268 #: includes/addons/wb_customer_review.php:143 1269 1269 msgid "Carolina Monntoya" 1270 1270 msgstr "" 1271 1271 1272 1272 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:52 1273 1273 msgid "Cart" 1274 1274 msgstr "" 1275 1275 1276 1276 #: includes/addons/wb_ever_compare_table.php:172 1277 1277 #: includes/addons/wb_ever_compare_table.php:178 1278 1278 msgid "Cart Button Background" 1279 1279 msgstr "" 1280 1280 1281 1281 #: includes/addons/wb_ever_compare_table.php:160 1282 1282 msgid "Cart Button Color" 1283 1283 msgstr "" 1284 1284 1285 1285 #: includes/admin/templates/dashboard-sidebar.php:14 1286 1286 msgid "" 1287 1287 "Cart Page, Checkout, My Account, Registration and Thank you page custom " 1288 1288 "layout template" 1289 1289 msgstr "" 1290 1290 1291 1291 #: includes/addons/wb_product_categories.php:43 1292 1292 msgid "Categories" 1293 1293 msgstr "" 1294 1294 1295 1295 #: classes/class.widgets_control.php:280 1296 1296 msgid "Category" 1297 1297 msgstr "" 1298 1298 1299 1299 #: includes/addons/wl_category_grid.php:77 1300 1300 msgid "Category > Subcategories (Shop Page Only)" 1301 1301 msgstr "" 1302 1302 1303 1303 #: includes/addons/product_image_accordion.php:321 1304 1304 msgid "Category Color" 1305 1305 msgstr "" 1306 1306 1307 1307 #: includes/addons/wl_category_grid.php:69 1308 1308 msgid "Category Display Type" 1309 1309 msgstr "" 1310 1310 1311 1311 #: classes/class.widgets_control.php:248 1312 1312 #: includes/addons/wl_category_grid.php:44 1313 1313 #: woolentor-blocks/includes/classes/Blocks_List.php:31 1314 1314 #: woolentor-blocks/production/includes/classes/Blocks_List.php:31 1315 1315 msgid "Category Grid" 1316 1316 msgstr "" 1317 1317 1318 1318 #: includes/addons/product_image_accordion.php:332 1319 1319 msgid "Category Hover Color" 1320 1320 msgstr "" 1321 1321 1322 1322 #: includes/addons/wl_category.php:43 1323 1323 msgid "Category List" 1324 1324 msgstr "" 1325 1325 1326 1326 #: classes/class.default_data.php:378 classes/class.default_data.php:426 1327 1327 #: includes/addons/wb_product_categories.php:179 1328 1328 msgid "Category:" 1329 1329 msgid_plural "Categories:" 1330 1330 msgstr[0] "" 1331 1331 msgstr[1] "" 1332 1332 1333 1333 #: includes/addons/wl_faq.php:358 includes/addons/wl_faq.php:581 1334 1334 #: includes/addons/wb_product_short_description.php:61 1335 1335 #: includes/addons/wl_breadcrumbs.php:82 1336 1336 #: includes/addons/wb_wishsuite_counter.php:73 1337 1337 #: includes/addons/wl_product_horizontal_filter.php:798 1338 1338 #: includes/addons/wl_onepage_slider.php:177 1339 1339 #: includes/addons/special_day_offer.php:55 1340 1340 #: includes/addons/special_day_offer.php:277 1341 1341 #: includes/addons/wl_store_features.php:147 1342 1342 #: includes/addons/wb_product_data_tab.php:164 1343 1343 #: includes/addons/wb_archive_product.php:241 1344 1344 #: includes/addons/wl_archive_title.php:116 1345 1345 #: includes/addons/wb_product_qr_code.php:95 1346 1346 #: includes/addons/wb_product_related.php:173 1347 1347 #: includes/addons/wb_archive_result_count.php:87 1348 1348 #: includes/addons/wb_product_description.php:59 1349 1349 #: includes/addons/wl_category.php:317 includes/addons/wl_brand.php:302 1350 1350 #: includes/addons/wb_product_categories.php:68 1351 1351 #: includes/addons/wb_product_rating.php:104 1352 1352 #: includes/addons/wb_product_title.php:111 1353 1353 #: includes/addons/wb_product_sku.php:68 1354 1354 #: includes/addons/wb_customer_review.php:294 1355 1355 #: includes/addons/wl_recently_viewed_products.php:254 1356 1356 #: includes/addons/product_tabs.php:249 includes/addons/product_tabs.php:970 1357 1357 #: includes/addons/product_tabs.php:1049 1358 1358 #: includes/addons/wl_category_grid.php:738 1359 1359 #: includes/addons/wb_product_tags.php:68 1360 1360 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:412 1361 1361 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:425 1362 1362 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:63 1363 1363 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:286 1364 1364 msgid "Center" 1365 1365 msgstr "" 1366 1366 1367 1367 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:38 1368 1368 msgid "Change address" 1369 1369 msgstr "" 1370 1370 1371 1371 #: includes/admin/include/settings_field_manager_default.php:304 1372 1372 msgid "Check All" 1373 1373 msgstr "" 1374 1374 1375 1375 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:296 1376 1376 msgid "Checking this will allow you to set multiple colors." 1377 1377 msgstr "" 1378 1378 1379 1379 #: includes/admin/templates/dashboard-freevspro.php:189 1380 1380 msgid "Checkout Fields Manager" 1381 1381 msgstr "" 1382 1382 1383 1383 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:63 1384 1384 msgid "Choose a Payment Gateway" 1385 1385 msgstr "" 1386 1386 1387 1387 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:407 1388 1388 msgid "Choose a style for the compare button from here." 1389 1389 msgstr "" 1390 1390 1391 1391 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:420 1392 1392 msgid "Choose a table style from here." 1393 1393 msgstr "" 1394 1394 1395 1395 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:237 1396 1396 msgid "Choose an icon for the compare button from here." 1397 1397 msgstr "" 1398 1398 1399 1399 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:212 1400 1400 msgid "Choose an icon type for the compare button from here." 1401 1401 msgstr "" 1402 1402 1403 1403 #: includes/modules/variation-swatch/includes/Admin.php:51 1404 1404 msgid "Choose an image" 1405 1405 msgstr "" 1406 1406 1407 1407 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:336 1408 1408 msgid "Choose close/exit animation." 1409 1409 msgstr "" 1410 1410 1411 1411 #: includes/addons/wl_brand.php:84 1412 1412 #: includes/admin/include/admin_field-manager.php:291 1413 1413 msgid "Choose Image" 1414 1414 msgstr "" 1415 1415 1416 1416 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:279 1417 1417 msgid "Choose open/entrance animation." 1418 1418 msgstr "" 1419 1419 1420 1420 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:323 1421 1421 msgid "" 1422 1422 "Choose which fields should be presented on the product compare page with " 1423 1423 "table." 1424 1424 msgstr "" 1425 1425 1426 1426 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:618 1427 1427 msgid "Chrome" 1428 1428 msgstr "" 1429 1429 1430 1430 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:453 1431 1431 msgid "Chrome " 1432 1432 msgstr "" 1433 1433 1434 1434 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:191 1435 1435 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:76 1436 1436 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:105 1437 1437 msgid "Circle" 1438 1438 msgstr "" 1439 1439 1440 1440 #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:860 1441 1441 #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:948 1442 1442 msgid "Clear" 1443 1443 msgstr "" 1444 1444 1445 1445 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:256 1446 1446 msgid "Click Count" 1447 1447 msgstr "" 1448 1448 1449 1449 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:157 1450 1450 msgid "Click Element" 1451 1451 msgstr "" 1452 1452 1453 1453 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:166 1454 1454 msgid "Click Element Selector" 1455 1455 msgstr "" 1456 1456 1457 1457 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:148 1458 1458 msgid "Clicks Count" 1459 1459 msgstr "" 1460 1460 1461 1461 #: includes/addons/wl_testimonial.php:100 1462 1462 #: includes/addons/wb_customer_review.php:98 1463 1463 msgid "Client Rating" 1464 1464 msgstr "" 1465 1465 1466 1466 #: includes/addons/wl_testimonial.php:128 1467 1467 #: includes/addons/wb_customer_review.php:126 1468 1468 msgid "Client Say" 1469 1469 msgstr "" 1470 1470 1471 1471 #: includes/addons/wl_testimonial.php:689 1472 1472 #: includes/addons/wb_customer_review.php:505 1473 1473 msgid "Client say" 1474 1474 msgstr "" 1475 1475 1476 1476 #: includes/addons/wb_product_suggest_price.php:74 1477 1477 #: includes/addons/wb_product_suggest_price.php:75 1478 1478 #: woolentor-blocks/src/blocks/popup-close-trigger-button/index.php:18 1479 1479 #: includes/modules/popup-builder/includes/class-shortcodes.php:33 1480 1480 #: woolentor-blocks/production/src/blocks/popup-close-trigger-button/index.php:18 1481 1481 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:48 1482 1482 msgid "Close" 1483 1483 msgstr "" 1484 1484 1485 1485 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:241 1486 1486 msgid "Close After Page Scroll" 1487 1487 msgstr "" 1488 1488 1489 1489 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:84 1490 1490 msgid "Close and Back To Previous Page" 1491 1491 msgstr "" 1492 1492 1493 1493 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:335 1494 1494 msgid "Close Animation" 1495 1495 msgstr "" 1496 1496 1497 1497 #: includes/addons/wb_product_suggest_price.php:690 1498 1498 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:475 1499 1499 msgid "Close Button" 1500 1500 msgstr "" 1501 1501 1502 1502 #: includes/addons/wb_product_suggest_price.php:72 1503 1503 msgid "Close Button Text" 1504 1504 msgstr "" 1505 1505 1506 1506 #: includes/addons/wl_faq.php:136 includes/addons/wl_faq.php:228 1507 1507 msgid "Close Icon" 1508 1508 msgstr "" 1509 1509 1510 1510 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:83 1511 1511 msgid "Close Popup" 1512 1512 msgstr "" 1513 1513 1514 1514 #: includes/addons/product_accordion.php:437 1515 1515 msgid "Collapse Background" 1516 1516 msgstr "" 1517 1517 1518 1518 #: includes/addons/product_accordion.php:426 1519 1519 msgid "Collapse Icon Color" 1520 1520 msgstr "" 1521 1521 1522 1522 #: includes/addons/wl_faq.php:439 includes/addons/wl_faq.php:480 1523 1523 #: includes/addons/wl_faq.php:552 includes/addons/wl_faq.php:632 1524 1524 #: includes/addons/wl_faq.php:661 includes/addons/wl_faq.php:767 1525 1525 #: includes/addons/wl_faq.php:796 includes/addons/product_flash_sale.php:789 1526 1526 #: includes/addons/product_flash_sale.php:898 1527 1527 #: includes/addons/wl_product_horizontal_filter.php:433 1528 1528 #: includes/addons/wl_product_horizontal_filter.php:500 1529 1529 #: includes/addons/wl_product_horizontal_filter.php:576 1530 1530 #: includes/addons/wl_product_horizontal_filter.php:658 1531 1531 #: includes/addons/wl_product_horizontal_filter.php:689 1532 1532 #: includes/addons/wl_product_horizontal_filter.php:751 1533 1533 #: includes/addons/wl_product_horizontal_filter.php:839 1534 1534 #: includes/addons/wl_product_horizontal_filter.php:881 1535 1535 #: includes/addons/wl_onepage_slider.php:220 1536 1536 #: includes/addons/wl_onepage_slider.php:262 1537 1537 #: includes/addons/wl_onepage_slider.php:315 1538 1538 #: includes/addons/wl_onepage_slider.php:390 1539 1539 #: includes/addons/wb_product_upsell.php:117 1540 1540 #: includes/addons/special_day_offer.php:336 1541 1541 #: includes/addons/special_day_offer.php:395 1542 1542 #: includes/addons/special_day_offer.php:454 1543 1543 #: includes/addons/special_day_offer.php:513 1544 1544 #: includes/addons/special_day_offer.php:572 1545 1545 #: includes/addons/special_day_offer.php:639 1546 1546 #: includes/addons/special_day_offer.php:727 1547 1547 #: includes/addons/wl_testimonial.php:584 1548 1548 #: includes/addons/wl_testimonial.php:641 1549 1549 #: includes/addons/wl_testimonial.php:697 1550 1550 #: includes/addons/wl_testimonial.php:753 1551 1551 #: includes/addons/wl_testimonial.php:844 1552 1552 #: includes/addons/wl_testimonial.php:978 1553 1553 #: includes/addons/wl_store_features.php:466 1554 1554 #: includes/addons/wl_store_features.php:512 1555 1555 #: includes/addons/wb_archive_product.php:326 1556 1556 #: includes/addons/wb_archive_product.php:385 1557 1557 #: includes/addons/wb_archive_product.php:421 1558 1558 #: includes/addons/wb_archive_product.php:456 1559 1559 #: includes/addons/wb_archive_product.php:558 1560 1560 #: includes/addons/wb_archive_product.php:648 1561 1561 #: includes/addons/wb_archive_product.php:733 1562 1562 #: includes/addons/wb_archive_product.php:765 1563 1563 #: includes/addons/product_image_accordion.php:540 1564 1564 #: includes/addons/product_image_accordion.php:595 1565 1565 #: includes/addons/wb_whols.php:56 1566 1566 #: includes/addons/wb_archive_catalog_ordering.php:61 1567 1567 #: includes/addons/wb_product_related.php:132 1568 1568 #: includes/addons/product_accordion.php:619 1569 1569 #: includes/addons/product_accordion.php:666 1570 1570 #: includes/addons/wl_category.php:348 includes/addons/product_curvy.php:754 1571 1571 #: includes/addons/product_curvy.php:798 1572 1572 #: includes/addons/wb_product_suggest_price.php:412 1573 1573 #: includes/addons/wb_product_suggest_price.php:498 1574 1574 #: includes/addons/wl_product_filter.php:191 1575 1575 #: includes/addons/wl_product_filter.php:267 1576 1576 #: includes/addons/wl_product_filter.php:337 1577 1577 #: includes/addons/wl_product_filter.php:387 1578 1578 #: includes/addons/wl_product_filter.php:443 1579 1579 #: includes/addons/wl_product_filter.php:509 1580 1580 #: includes/addons/wl_product_filter.php:539 1581 1581 #: includes/addons/wl_product_filter.php:707 1582 1582 #: includes/addons/wl_product_filter.php:771 1583 1583 #: includes/addons/wb_image_marker.php:194 1584 1584 #: includes/addons/wb_image_marker.php:311 1585 1585 #: includes/addons/wb_image_marker.php:372 1586 1586 #: includes/addons/wb_customer_review.php:400 1587 1587 #: includes/addons/wb_customer_review.php:457 1588 1588 #: includes/addons/wb_customer_review.php:513 1589 1589 #: includes/addons/wb_customer_review.php:568 1590 1590 #: includes/addons/wl_recently_viewed_products.php:326 1591 1591 #: includes/addons/wl_recently_viewed_products.php:381 1592 1592 #: includes/addons/wl_recently_viewed_products.php:447 1593 1593 #: includes/addons/wl_recently_viewed_products.php:499 1594 1594 #: includes/addons/wl_recently_viewed_products.php:592 1595 1595 #: includes/addons/wl_recently_viewed_products.php:678 1596 1596 #: includes/addons/wb_wishsuite_table.php:153 1597 1597 #: includes/addons/wb_wishsuite_table.php:193 1598 1598 #: includes/addons/wb_wishsuite_table.php:213 1599 1599 #: includes/addons/wb_wishsuite_table.php:261 1600 1600 #: includes/addons/wb_wishsuite_table.php:386 1601 1601 #: includes/addons/wb_wishsuite_table.php:418 1602 1602 #: includes/addons/product_tabs.php:292 includes/addons/product_tabs.php:371 1603 1603 #: includes/addons/product_tabs.php:658 includes/addons/product_tabs.php:773 1604 1604 #: includes/addons/product_tabs.php:1143 includes/addons/product_tabs.php:1203 1605 1605 #: includes/addons/wb_product_add_to_cart.php:917 1606 1606 #: includes/addons/wb_product_add_to_cart.php:939 1607 1607 #: includes/addons/wb_product_additional_information.php:76 1608 1608 #: includes/addons/wb_product_additional_information.php:124 1609 1609 #: includes/addons/add_banner.php:155 includes/addons/add_banner.php:197 1610 1610 #: includes/addons/add_banner.php:239 includes/addons/wl_category_grid.php:610 1611 1611 #: includes/addons/wl_category_grid.php:698 1612 1612 #: includes/addons/wl_category_grid.php:767 1613 1613 #: includes/addons/wl_category_grid.php:853 1614 1614 #: includes/addons/wl_category_grid.php:987 1615 1615 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:136 1616 1616 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:209 1617 1617 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:439 1618 1618 msgid "Color" 1619 1619 msgstr "" 1620 1620 1621 1621 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:564 1622 1622 msgid "Column background color (Event)" 1623 1623 msgstr "" 1624 1624 1625 1625 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:572 1626 1626 msgid "Column background color (Odd)" 1627 1627 msgstr "" 1628 1628 1629 1629 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:550 1630 1630 msgid "Column Padding" 1631 1631 msgstr "" 1632 1632 1633 1633 #: includes/addons/product_flash_sale.php:101 1634 1634 #: includes/addons/wb_product_upsell.php:50 1635 1635 #: includes/addons/wl_testimonial.php:182 1636 1636 #: includes/addons/wl_testimonial.php:192 1637 1637 #: includes/addons/wb_archive_product.php:50 1638 1638 #: includes/addons/wb_product_related.php:65 1639 1639 #: includes/addons/product_curvy.php:75 includes/addons/product_curvy.php:93 1640 1640 #: includes/addons/wb_customer_review.php:180 1641 1641 #: includes/addons/wl_recently_viewed_products.php:72 1642 1642 #: includes/addons/product_tabs.php:92 includes/addons/wl_category_grid.php:238 1643 1643 #: includes/addons/wl_category_grid.php:248 1644 1644 msgid "Columns" 1645 1645 msgstr "" 1646 1646 1647 #: includes/helper-function.php:12 75includes/addons/product_flash_sale.php:1371647 #: includes/helper-function.php:1289 includes/addons/product_flash_sale.php:137 1648 1648 #: includes/addons/product_image_accordion.php:150 1649 1649 #: includes/addons/product_accordion.php:171 1650 1650 #: includes/addons/product_curvy.php:206 includes/addons/product_tabs.php:165 1651 1651 msgid "Comment count" 1652 1652 msgstr "" 1653 1653 1654 #: includes/helper-function.php:13 421654 #: includes/helper-function.php:1356 1655 1655 #: woolentor-blocks/includes/helper-functions.php:610 1656 1656 #: includes/addons/wb_product_add_to_cart.php:1278 1657 1657 #: woolentor-blocks/production/includes/helper-functions.php:610 1658 1658 #: woolentor-blocks/src/blocks/product-addtocart/manager.php:115 1659 1659 #: woolentor-blocks/production/src/blocks/product-addtocart/manager.php:115 1660 1660 #: includes/modules/compare/includes/classes/Admin/Dashboard.php:59 1661 1661 #: includes/modules/compare/includes/classes/Admin/Dashboard.php:60 1662 1662 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:196 1663 1663 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:197 1664 1664 msgid "Compare" 1665 1665 msgstr "" 1666 1666 1667 1667 #: includes/addons/wb_product_add_to_cart.php:596 1668 1668 #: includes/addons/wb_product_add_to_cart.php:690 1669 1669 msgid "Compare Background Color" 1670 1670 msgstr "" 1671 1671 1672 1672 #: includes/addons/wb_product_add_to_cart.php:581 1673 1673 #: includes/addons/wb_product_add_to_cart.php:675 1674 1674 msgid "Compare Icon Color" 1675 1675 msgstr "" 1676 1676 1677 1677 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:264 1678 1678 msgid "Compare page" 1679 1679 msgstr "" 1680 1680 1681 1681 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:635 1682 1682 msgid "Compare Settings" 1683 1683 msgstr "" 1684 1684 1685 1685 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:108 1686 1686 msgid "Conditions" 1687 1687 msgstr "" 1688 1688 1689 1689 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:58 1690 1690 msgid "Contact information" 1691 1691 msgstr "" 1692 1692 1693 1693 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:391 1694 1694 msgid "Contains" 1695 1695 msgstr "" 1696 1696 1697 1697 #: includes/addons/wl_faq.php:45 includes/addons/wl_faq.php:82 1698 1698 #: includes/addons/wl_faq.php:544 includes/addons/wl_onepage_slider.php:66 1699 1699 #: includes/addons/wb_product_data_tab.php:255 1700 1700 #: includes/addons/wb_image_marker.php:251 1701 1701 #: includes/addons/wb_ever_compare_table.php:131 1702 1702 #: includes/addons/wb_product_additional_information.php:117 1703 1703 msgid "Content" 1704 1704 msgstr "" 1705 1705 1706 1706 #: includes/addons/add_banner.php:63 1707 1707 msgid "Content Alignment" 1708 1708 msgstr "" 1709 1709 1710 1710 #: includes/addons/wl_store_features.php:410 1711 1711 #: includes/addons/product_accordion.php:450 1712 1712 #: includes/addons/wl_recently_viewed_products.php:238 1713 1713 msgid "Content Area" 1714 1714 msgstr "" 1715 1715 1716 1716 #: includes/addons/product_flash_sale.php:210 1717 1717 msgid "Content Bottom" 1718 1718 msgstr "" 1719 1719 1720 1720 #: includes/addons/product_accordion.php:466 1721 1721 #: includes/addons/product_curvy.php:600 includes/addons/product_curvy.php:614 1722 1722 #: includes/addons/wb_ever_compare_table.php:138 1723 1723 msgid "Content Color" 1724 1724 msgstr "" 1725 1725 1726 1726 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:596 1727 1727 msgid "Content color (Event)" 1728 1728 msgstr "" 1729 1729 1730 1730 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:604 1731 1731 msgid "Content color (Odd)" 1732 1732 msgstr "" 1733 1733 1734 1734 #: includes/addons/product_image_accordion.php:213 1735 1735 #: includes/addons/product_accordion.php:267 1736 1736 #: includes/addons/product_curvy.php:258 1737 1737 msgid "Content Display" 1738 1738 msgstr "" 1739 1739 1740 1740 #: includes/addons/product_accordion.php:287 1741 1741 #: includes/addons/product_curvy.php:301 1742 1742 msgid "Content Limit" 1743 1743 msgstr "" 1744 1744 1745 1745 #: includes/addons/wb_ever_compare_table.php:149 1746 1746 msgid "Content Link Color" 1747 1747 msgstr "" 1748 1748 1749 1749 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:612 1750 1750 msgid "Content link color" 1751 1751 msgstr "" 1752 1752 1753 1753 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:620 1754 1754 msgid "Content link hover color" 1755 1755 msgstr "" 1756 1756 1757 1757 #: includes/addons/special_day_offer.php:50 1758 1758 msgid "Content Position" 1759 1759 msgstr "" 1760 1760 1761 1761 #: includes/addons/product_image_accordion.php:181 1762 1762 #: includes/addons/product_accordion.php:202 1763 1763 #: includes/addons/product_curvy.php:237 1764 1764 #: includes/addons/wl_recently_viewed_products.php:132 1765 1765 msgid "Content Settings" 1766 1766 msgstr "" 1767 1767 1768 1768 #: includes/addons/product_flash_sale.php:206 1769 1769 msgid "Content Top" 1770 1770 msgstr "" 1771 1771 1772 1772 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:66 1773 1773 msgid "Continue to payment" 1774 1774 msgstr "" 1775 1775 1776 1776 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:57 1777 1777 msgid "Continue to shipping" 1778 1778 msgstr "" 1779 1779 1780 1780 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:303 1781 1781 msgid "Copied" 1782 1782 msgstr "" 1783 1783 1784 1784 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:295 1785 1785 msgid "Copy shareable link" 1786 1786 msgstr "" 1787 1787 1788 1788 #: includes/addons/wl_category_grid.php:759 1789 1789 msgid "Count" 1790 1790 msgstr "" 1791 1791 1792 1792 #: includes/admin/include/diagnostic-data.php:494 1793 1793 msgid "Count Me In" 1794 1794 msgstr "" 1795 1795 1796 1796 #: includes/addons/product_flash_sale.php:168 1797 1797 msgid "Countdown" 1798 1798 msgstr "" 1799 1799 1800 1800 #: includes/addons/product_flash_sale.php:186 1801 1801 msgid "Countdown Style" 1802 1802 msgstr "" 1803 1803 1804 1804 #: includes/addons/product_flash_sale.php:238 1805 1805 msgid "Countdown Title" 1806 1806 msgstr "" 1807 1807 1808 1808 #: includes/addons/wb_wishsuite_counter.php:92 1809 1809 msgid "Counter" 1810 1810 msgstr "" 1811 1811 1812 1812 #: includes/addons/product_flash_sale.php:845 1813 1813 #: includes/addons/wb_wishsuite_counter.php:112 1814 1814 msgid "Counter Background" 1815 1815 msgstr "" 1816 1816 1817 1817 #: includes/addons/wb_wishsuite_counter.php:100 1818 1818 msgid "Counter Color" 1819 1819 msgstr "" 1820 1820 1821 1821 #: includes/addons/wb_wishsuite_counter.php:122 1822 1822 msgid "Counter Icon" 1823 1823 msgstr "" 1824 1824 1825 1825 #: includes/addons/wb_wishsuite_counter.php:131 1826 1826 msgid "Counter Icon Color" 1827 1827 msgstr "" 1828 1828 1829 1829 #: includes/addons/product_flash_sale.php:814 1830 1830 msgid "Counter Item" 1831 1831 msgstr "" 1832 1832 1833 1833 #: includes/addons/product_flash_sale.php:855 1834 1834 msgid "Counter Label" 1835 1835 msgstr "" 1836 1836 1837 1837 #: includes/addons/product_flash_sale.php:761 1838 1838 msgid "Counter Style" 1839 1839 msgstr "" 1840 1840 1841 1841 #: includes/addons/wb_wishsuite_counter.php:153 1842 1842 msgid "Counter Text Color" 1843 1843 msgstr "" 1844 1844 1845 1845 #: includes/modules/shopify-like-checkout/templates/form-coupon.php:17 1846 1846 #: includes/modules/shopify-like-checkout/templates/form-coupon.php:18 1847 1847 msgid "Coupon code" 1848 1848 msgstr "" 1849 1849 1850 1850 #: includes/admin/include/template-library/popup-template.php:32 1851 1851 msgid "Create a new page from this template" 1852 1852 msgstr "" 1853 1853 1854 1854 #: includes/modules/shopify-like-checkout/templates/form-billing.php:55 1855 1855 msgid "Create an account?" 1856 1856 msgstr "" 1857 1857 1858 1858 #: includes/addons/wl_product_filter.php:528 1859 1859 msgid "Cross Icon" 1860 1860 msgstr "" 1861 1861 1862 1862 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:128 1863 1863 msgid "Currency" 1864 1864 msgstr "" 1865 1865 1866 1866 #: includes/modules/currency-switcher/includes/classes/Widgets_And_Blocks.php:46 1867 1867 #: includes/modules/currency-switcher/includes/classes/Widgets_And_Blocks.php:59 1868 1868 #: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:40 1869 1869 msgid "Currency Switcher" 1870 1870 msgstr "" 1871 1871 1872 1872 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:201 1873 1873 msgid "Current Currency" 1874 1874 msgstr "" 1875 1875 1876 1876 #: includes/addons/wl_faq.php:58 includes/addons/wl_testimonial.php:71 1877 1877 #: includes/addons/wb_customer_review.php:69 1878 1878 #: woolentor-blocks/includes/classes/Scripts.php:127 1879 1879 #: woolentor-blocks/production/includes/classes/Scripts.php:127 1880 1880 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:218 1881 1881 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:243 1882 1882 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:413 1883 1883 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:425 1884 1884 msgid "Custom" 1885 1885 msgstr "" 1886 1886 1887 1887 #: includes/admin/templates/dashboard-freevspro.php:23 1888 1888 msgid "Custom cart Page Builder" 1889 1889 msgstr "" 1890 1890 1891 1891 #: includes/admin/templates/dashboard-freevspro.php:27 1892 1892 msgid "Custom checkout Page Builder" 1893 1893 msgstr "" 1894 1894 1895 1895 #: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:134 1896 1896 msgid "Custom Currency Symbol" 1897 1897 msgstr "" 1898 1898 1899 1899 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:341 1900 1900 msgid "Custom heading" 1901 1901 msgstr "" 1902 1902 1903 1903 #: includes/addons/wl_faq.php:203 1904 1904 msgid "Custom Icon" 1905 1905 msgstr "" 1906 1906 1907 1907 #: includes/addons/product_flash_sale.php:253 1908 1908 msgid "Custom Label" 1909 1909 msgstr "" 1910 1910 1911 1911 #: includes/admin/templates/dashboard-freevspro.php:39 1912 1912 msgid "Custom My Account Login and Register page Builder" 1913 1913 msgstr "" 1914 1914 1915 1915 #: includes/admin/templates/dashboard-freevspro.php:35 1916 1916 msgid "Custom my account Page Builder" 1917 1917 msgstr "" 1918 1918 1919 1919 #: includes/addons/product_flash_sale.php:118 1920 1920 #: includes/addons/product_tabs.php:146 1921 1921 msgid "Custom Order" 1922 1922 msgstr "" 1923 1923 1924 1924 #: includes/addons/product_image_accordion.php:131 1925 1925 #: includes/addons/product_accordion.php:152 1926 1926 #: includes/addons/product_curvy.php:187 1927 1927 msgid "Custom order" 1928 1928 msgstr "" 1929 1929 1930 1930 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:99 1931 1931 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:147 1932 1932 msgid "Custom Position" 1933 1933 msgstr "" 1934 1934 1935 1935 #: includes/custom-metabox.php:72 1936 1936 msgid "Custom Product Badge Text" 1937 1937 msgstr "" 1938 1938 1939 1939 #: includes/admin/templates/dashboard-freevspro.php:31 1940 1940 msgid "Custom thank You Page Builder" 1941 1941 msgstr "" 1942 1942 1943 1943 #: includes/addons/wl_testimonial.php:158 1944 1944 msgid "Customer" 1945 1945 msgstr "" 1946 1946 1947 1947 #: classes/class.widgets_control.php:288 1948 1948 msgid "Customer Review" 1949 1949 msgstr "" 1950 1950 1951 1951 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:112 1952 1952 msgid "Customize" 1953 1953 msgstr "" 1954 1954 1955 1955 #: woolentor-blocks/includes/classes/Manage_Styles.php:205 1956 1956 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:205 1957 1957 msgid "Data fetch" 1958 1958 msgstr "" 1959 1959 1960 1960 #: includes/admin/admin-init.php:451 1961 1961 msgid "Data Fetch successfully!" 1962 1962 msgstr "" 1963 1963 1964 1964 #: woolentor-blocks/includes/classes/Manage_Styles.php:212 1965 1965 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:212 1966 1966 msgid "Data not found." 1967 1967 msgstr "" 1968 1968 1969 1969 #: includes/admin/admin-init.php:389 1970 1970 msgid "Data Saved successfully!" 1971 1971 msgstr "" 1972 1972 1973 #: includes/helper-function.php:12 72includes/addons/product_flash_sale.php:1341973 #: includes/helper-function.php:1286 includes/addons/product_flash_sale.php:134 1974 1974 #: includes/addons/wb_product_upsell.php:66 1975 1975 #: includes/addons/wb_archive_product.php:127 1976 1976 #: includes/addons/product_image_accordion.php:147 1977 1977 #: includes/addons/wb_product_related.php:81 1978 1978 #: includes/addons/product_accordion.php:168 1979 1979 #: includes/addons/product_curvy.php:203 includes/addons/product_tabs.php:162 1980 1980 msgid "Date" 1981 1981 msgstr "" 1982 1982 1983 1983 #: includes/addons/product_flash_sale.php:265 1984 1984 #: includes/addons/product_flash_sale.php:267 1985 1985 #: includes/addons/product_flash_sale.php:1029 1986 1986 #: includes/modules/flash-sale/class.flash-sale.php:447 1987 1987 msgid "Days" 1988 1988 msgstr "" 1989 1989 1990 1990 #: includes/addons/wl_brand.php:62 1991 1991 #: includes/addons/wb_product_add_to_cart.php:59 1992 1992 #: includes/admin/include/class.template-manager.php:97 1993 1993 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:283 1994 1994 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:340 1995 1995 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:217 1996 1996 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:242 1997 1997 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:411 1998 1998 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:424 1999 1999 msgid "Default" 2000 2000 msgstr "" 2001 2001 2002 2002 #: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:157 2003 2003 msgid "Default Currency" 2004 2004 msgstr "" 2005 2005 2006 #: includes/helper-function.php:10 682006 #: includes/helper-function.php:1082 2007 2007 msgid "Default sorting" 2008 2008 msgstr "" 2009 2009 2010 2010 #: includes/addons/wl_brand.php:76 2011 2011 msgid "Default title" 2012 2012 msgstr "" 2013 2013 2014 2014 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:130 2015 2015 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:178 2016 2016 msgid "Default: 10" 2017 2017 msgstr "" 2018 2018 2019 2019 #: includes/addons/wl_product_horizontal_filter.php:104 2020 2020 #: includes/addons/wb_product_upsell.php:85 2021 2021 #: includes/addons/wb_archive_product.php:149 2022 2022 #: includes/addons/wb_product_related.php:100 2023 2023 #: includes/addons/wl_product_filter.php:130 2024 2024 msgid "DESC" 2025 2025 msgstr "" 2026 2026 2027 2027 #: includes/addons/product_flash_sale.php:153 2028 2028 #: includes/addons/product_image_accordion.php:166 2029 2029 #: includes/addons/product_accordion.php:187 2030 2030 #: includes/addons/wl_category.php:138 includes/addons/product_curvy.php:222 2031 2031 #: includes/addons/wl_recently_viewed_products.php:63 2032 2032 #: includes/addons/product_tabs.php:181 2033 2033 #: includes/addons/wl_category_grid.php:130 2034 2034 msgid "Descending" 2035 2035 msgstr "" 2036 2036 2037 2037 #: includes/addons/wl_product_horizontal_filter.php:101 2038 2038 #: includes/addons/wl_product_filter.php:127 2039 2039 msgid "Descending order label" 2040 2040 msgstr "" 2041 2041 2042 2042 #: includes/addons/special_day_offer.php:104 2043 2043 #: includes/addons/special_day_offer.php:443 2044 2044 #: includes/addons/wl_archive_title.php:175 2045 2045 #: includes/addons/wb_image_marker.php:365 2046 2046 #: includes/addons/wl_category_grid.php:687 2047 2047 msgid "Description" 2048 2048 msgstr "" 2049 2049 2050 2050 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:331 2051 2051 msgid "description" 2052 2052 msgstr "" 2053 2053 2054 2054 #: includes/addons/wl_archive_title.php:184 2055 2055 msgid "Description Color" 2056 2056 msgstr "" 2057 2057 2058 2058 #: includes/addons/wl_testimonial.php:91 includes/addons/wl_testimonial.php:633 2059 2059 #: includes/addons/wb_customer_review.php:89 2060 2060 #: includes/addons/wb_customer_review.php:449 2061 2061 msgid "Designation" 2062 2062 msgstr "" 2063 2063 2064 2064 #: includes/addons/wl_testimonial.php:93 includes/addons/wl_testimonial.php:146 2065 2065 msgid "Designer" 2066 2066 msgstr "" 2067 2067 2068 2068 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:595 2069 2069 msgid "Desktop" 2070 2070 msgstr "" 2071 2071 2072 2072 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:431 2073 2073 msgid "Desktop " 2074 2074 msgstr "" 2075 2075 2076 2076 #: includes/addons/wl_testimonial.php:152 2077 2077 #: includes/addons/wb_customer_review.php:158 2078 2078 msgid "Developer" 2079 2079 msgstr "" 2080 2080 2081 2081 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:591 2082 2082 msgid "Device Types" 2083 2083 msgstr "" 2084 2084 2085 2085 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:335 2086 2086 msgid "dimensions" 2087 2087 msgstr "" 2088 2088 2089 2089 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:221 2090 2090 msgid "Direction" 2091 2091 msgstr "" 2092 2092 2093 2093 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:55 2094 2094 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:205 2095 2095 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:220 2096 2096 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:330 2097 2097 msgid "Disable" 2098 2098 msgstr "" 2099 2099 2100 2100 #: includes/admin/templates/dashboard-element.php:20 2101 2101 #: includes/admin/templates/dashboard-gutenberg.php:33 2102 2102 #: includes/admin/templates/dashboard-module.php:22 2103 2103 msgid "Disable all" 2104 2104 msgstr "" 2105 2105 2106 2106 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:211 2107 2107 msgid "Disable Close Button" 2108 2108 msgstr "" 2109 2109 2110 2110 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:204 2111 2111 msgid "Disable Page Scroll" 2112 2112 msgstr "" 2113 2113 2114 2114 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:233 2115 2115 msgid "Disable Popup Overlay" 2116 2116 msgstr "" 2117 2117 2118 2118 #: includes/admin/templates/dashboard-freevspro.php:201 2119 2119 msgid "Discover all the differences between the free and premium versions." 2120 2120 msgstr "" 2121 2121 2122 2122 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:249 2123 2123 msgid "Dismiss Automatically" 2124 2124 msgstr "" 2125 2125 2126 2126 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:257 2127 2127 msgid "Dismiss Automatically Delay (sec)" 2128 2128 msgstr "" 2129 2129 2130 2130 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:218 2131 2131 msgid "Dismiss on Esc Key" 2132 2132 msgstr "" 2133 2133 2134 2134 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:225 2135 2135 msgid "Dismiss on Overlay Click" 2136 2136 msgstr "" 2137 2137 2138 2138 #: includes/admin/include/class.notice.php:145 2139 2139 msgid "Dismiss this notice." 2140 2140 msgstr "" 2141 2141 2142 #: includes/helper-function.php:6 372142 #: includes/helper-function.php:651 2143 2143 msgid "div" 2144 2144 msgstr "" 2145 2145 2146 2146 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:516 2147 2147 msgid "Do Not Show Again" 2148 2148 msgstr "" 2149 2149 2150 2150 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:346 2151 2151 msgid "Do not show again" 2152 2152 msgstr "" 2153 2153 2154 2154 #: includes/addons/wl_faq.php:111 2155 2155 msgid "Do you want to individual icon ?" 2156 2156 msgstr "" 2157 2157 2158 2158 #: includes/base.php:259 includes/admin/include/admin_field-manager.php:353 2159 2159 #: includes/admin/include/admin_field-manager.php:488 2160 2160 #: includes/admin/templates/dashboard-widget.php:94 2161 2161 #: includes/admin/templates/dashboard-welcome.php:19 2162 2162 msgid "Documentation" 2163 2163 msgstr "" 2164 2164 2165 2165 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:132 2166 2166 msgid "Down" 2167 2167 msgstr "" 2168 2168 2169 2169 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:51 2170 2170 msgid "Dropdown" 2171 2171 msgstr "" 2172 2172 2173 2173 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:122 2174 2174 msgid "e.g: woocommerce_after_shop_loop_item_title" 2175 2175 msgstr "" 2176 2176 2177 2177 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:170 2178 2178 msgid "e.g: woocommerce_after_single_product_summary" 2179 2179 msgstr "" 2180 2180 2181 2181 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:458 2182 2182 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:623 2183 2183 msgid "Edge" 2184 2184 msgstr "" 2185 2185 2186 2186 #: includes/admin/include/template-library.php:136 2187 2187 msgid "Edit Page" 2188 2188 msgstr "" 2189 2189 2190 2190 #: includes/admin/include/template-library.php:136 2191 2191 #: includes/admin/include/class.template_cpt.php:56 2192 2192 msgid "Edit Template" 2193 2193 msgstr "" 2194 2194 2195 2195 #: includes/admin/include/class.template-manager.php:463 2196 2196 msgid "Edit With Elementor" 2197 2197 msgstr "" 2198 2198 2199 2199 #: includes/admin/include/class.template-manager.php:211 2200 2200 #: includes/admin/include/class.template-manager.php:467 2201 2201 msgid "Edit With Gutenberg" 2202 2202 msgstr "" 2203 2203 2204 2204 #: includes/addons/wl_testimonial.php:203 2205 2205 #: includes/addons/wb_customer_review.php:191 2206 2206 #: includes/addons/wl_recently_viewed_products.php:83 2207 2207 #: includes/addons/wl_category_grid.php:259 2208 2208 msgid "Eight" 2209 2209 msgstr "" 2210 2210 2211 2211 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:273 2212 2212 msgid "Element Class/ID" 2213 2213 msgstr "" 2214 2214 2215 2215 #: includes/addons/wb_product_reviews.php:50 2216 2216 msgid "Element Information" 2217 2217 msgstr "" 2218 2218 2219 2219 #: includes/admin/include/class.template-manager.php:445 2220 2220 #: includes/admin/include/class.template-manager.php:479 2221 2221 #: includes/admin/include/template-library/templates_list.php:19 2222 2222 msgid "Elementor" 2223 2223 msgstr "" 2224 2224 2225 2225 #: includes/addons/wl_faq.php:59 2226 2226 msgid "Elementor Template" 2227 2227 msgstr "" 2228 2228 2229 2229 #: includes/admin/templates/dashboard-freevspro.php:153 2230 2230 msgid "Email Automation" 2231 2231 msgstr "" 2232 2232 2233 2233 #: includes/admin/templates/dashboard-freevspro.php:149 2234 2234 msgid "Email Customizer" 2235 2235 msgstr "" 2236 2236 2237 2237 #: includes/addons/wb_product_suggest_price.php:130 2238 2238 msgid "Email Field Placeholder" 2239 2239 msgstr "" 2240 2240 2241 2241 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:364 2242 2242 msgid "Empty compare page text" 2243 2243 msgstr "" 2244 2244 2245 2245 #: includes/addons/wl_recently_viewed_products.php:105 2246 2246 #: includes/addons/wl_recently_viewed_products.php:659 2247 2247 msgid "Empty Message" 2248 2248 msgstr "" 2249 2249 2250 2250 #: includes/addons/product_image_accordion.php:483 2251 2251 #: includes/addons/product_accordion.php:562 2252 2252 #: includes/addons/product_curvy.php:652 includes/addons/product_curvy.php:666 2253 2253 msgid "Empty Rating Color" 2254 2254 msgstr "" 2255 2255 2256 2256 #: includes/addons/wb_archive_product.php:501 2257 2257 msgid "Empty Rating Star Color" 2258 2258 msgstr "" 2259 2259 2260 2260 #: includes/addons/wb_wishsuite_table.php:56 2261 2261 #: includes/addons/wb_ever_compare_table.php:56 2262 2262 msgid "Empty table text" 2263 2263 msgstr "" 2264 2264 2265 2265 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:204 2266 2266 msgid "Enable" 2267 2267 msgstr "" 2268 2268 2269 2269 #: includes/addons/wb_product_qr_code.php:62 2270 2270 msgid "Enable Add to Cart URL" 2271 2271 msgstr "" 2272 2272 2273 2273 #: includes/admin/templates/dashboard-element.php:19 2274 2274 #: includes/admin/templates/dashboard-gutenberg.php:32 2275 2275 #: includes/admin/templates/dashboard-module.php:21 2276 2276 msgid "Enable all" 2277 2277 msgstr "" 2278 2278 2279 2279 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:120 2280 2280 msgid "Enable Image Type Attribute For" 2281 2281 msgstr "" 2282 2282 2283 2283 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:86 2284 2284 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:383 2285 2285 msgid "Enable Multi Color" 2286 2286 msgstr "" 2287 2287 2288 2288 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:199 2289 2289 msgid "Enable Shape Inset" 2290 2290 msgstr "" 2291 2291 2292 2292 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:273 2293 2293 msgid "Enable shareable link" 2294 2294 msgstr "" 2295 2295 2296 2296 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:393 2297 2297 msgid "Ends With" 2298 2298 msgstr "" 2299 2299 2300 2300 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:57 2301 2301 msgid "Enter a different address" 2302 2302 msgstr "" 2303 2303 2304 2304 #: includes/admin/include/class.template-manager.php:454 2305 2305 msgid "Enter a template name" 2306 2306 msgstr "" 2307 2307 2308 2308 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:95 2309 2309 msgid "Enter the URL where you want to redirect after closing the popup." 2310 2310 msgstr "" 2311 2311 2312 2312 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:50 2313 2313 msgid "Enter your address to view shipping options." 2314 2314 msgstr "" 2315 2315 2316 2316 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:203 2317 2317 msgid "Enter your compare added button text." 2318 2318 msgstr "" 2319 2319 2320 2320 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:194 2321 2321 msgid "Enter your compare button text." 2322 2322 msgstr "" 2323 2323 2324 2324 #: includes/custom-metabox.php:74 2325 2325 msgid "" 2326 2326 "Enter your preferred Sale badge text. Ex: New / Free etc (Only for Universal " 2327 2327 "layout addon)" 2328 2328 msgstr "" 2329 2329 2330 2330 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:381 2331 2331 msgid "Enter your required image size." 2332 2332 msgstr "" 2333 2333 2334 2334 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:372 2335 2335 msgid "Enter your return to shop button text." 2336 2336 msgstr "" 2337 2337 2338 2338 #: includes/modules/popup-builder/includes/class-repeater-helper.php:193 2339 2339 msgid "Entire Shop" 2340 2340 msgstr "" 2341 2341 2342 2342 #: includes/modules/popup-builder/includes/class-repeater-helper.php:22 2343 2343 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:138 2344 2344 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:149 2345 2345 msgid "Entire Site" 2346 2346 msgstr "" 2347 2347 2348 2348 #: includes/addons/wb_product_suggest_price.php:177 2349 2349 msgid "Error Message" 2350 2350 msgstr "" 2351 2351 2352 2352 #: includes/addons/wb_ever_compare_table.php:97 2353 2353 #: includes/addons/wb_ever_compare_table.php:103 2354 2354 msgid "Even Heading Background" 2355 2355 msgstr "" 2356 2356 2357 2357 #: classes/class.widgets_control.php:435 2358 2358 #: includes/addons/wb_ever_compare_table.php:49 2359 2359 msgid "EverCompare" 2360 2360 msgstr "" 2361 2361 2362 2362 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:436 2363 2363 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:444 2364 2364 msgid "Example: 500px" 2365 2365 msgstr "" 2366 2366 2367 2367 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:452 2368 2368 msgid "Example: 9999" 2369 2369 msgstr "" 2370 2370 2371 2371 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:460 2372 2372 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:468 2373 2373 msgid "Example: <code>10px</code> or <code>10px 20px 10px 20px</code>" 2374 2374 msgstr "" 2375 2375 2376 2376 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:131 2377 2377 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:529 2378 2378 msgid "Exclude" 2379 2379 msgstr "" 2380 2380 2381 2381 #: includes/addons/product_tabs.php:193 2382 2382 msgid "Exclude Out Of Stock Item" 2383 2383 msgstr "" 2384 2384 2385 2385 #: includes/admin/templates/dashboard-freevspro.php:300 2386 2386 msgid "Explore the all features of ShopLentor Pro" 2387 2387 msgstr "" 2388 2388 2389 2389 #: includes/admin/include/class.extension-manager.php:26 2390 2390 #: includes/admin/include/class.extension-manager.php:27 2391 2391 msgid "Extension" 2392 2392 msgstr "" 2393 2393 2394 2394 #: includes/addons/wl_category.php:208 includes/addons/wl_category.php:219 2395 2395 msgid "Extra Option" 2396 2396 msgstr "" 2397 2397 2398 2398 #: includes/base.php:260 2399 2399 msgid "Facebook Group" 2400 2400 msgstr "" 2401 2401 2402 2402 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:299 2403 2403 msgid "fadeIn" 2404 2404 msgstr "" 2405 2405 2406 2406 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:300 2407 2407 msgid "fadeInDown" 2408 2408 msgstr "" 2409 2409 2410 2410 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:301 2411 2411 msgid "fadeInDownBig" 2412 2412 msgstr "" 2413 2413 2414 2414 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:302 2415 2415 msgid "fadeInLeft" 2416 2416 msgstr "" 2417 2417 2418 2418 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:303 2419 2419 msgid "fadeInLeftBig" 2420 2420 msgstr "" 2421 2421 2422 2422 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:304 2423 2423 msgid "fadeInRight" 2424 2424 msgstr "" 2425 2425 2426 2426 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:305 2427 2427 msgid "fadeInRightBig" 2428 2428 msgstr "" 2429 2429 2430 2430 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:306 2431 2431 msgid "fadeInUp" 2432 2432 msgstr "" 2433 2433 2434 2434 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:307 2435 2435 msgid "fadeInUpBig" 2436 2436 msgstr "" 2437 2437 2438 2438 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:356 2439 2439 msgid "fadeOut" 2440 2440 msgstr "" 2441 2441 2442 2442 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:357 2443 2443 msgid "fadeOutDown" 2444 2444 msgstr "" 2445 2445 2446 2446 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:358 2447 2447 msgid "fadeOutDownBig" 2448 2448 msgstr "" 2449 2449 2450 2450 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:359 2451 2451 msgid "fadeOutLeft" 2452 2452 msgstr "" 2453 2453 2454 2454 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:360 2455 2455 msgid "fadeOutLeftBig" 2456 2456 msgstr "" 2457 2457 2458 2458 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:361 2459 2459 msgid "fadeOutRight" 2460 2460 msgstr "" 2461 2461 2462 2462 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:362 2463 2463 msgid "fadeOutRightBig" 2464 2464 msgstr "" 2465 2465 2466 2466 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:363 2467 2467 msgid "fadeOutUp" 2468 2468 msgstr "" 2469 2469 2470 2470 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:364 2471 2471 msgid "fadeOutUpBig" 2472 2472 msgstr "" 2473 2473 2474 2474 #: woolentor-blocks/includes/classes/Blocks_List.php:74 2475 2475 #: woolentor-blocks/production/includes/classes/Blocks_List.php:74 2476 2476 msgid "FAQ" 2477 2477 msgstr "" 2478 2478 2479 2479 #: classes/class.widgets_control.php:244 2480 2480 msgid "Faq" 2481 2481 msgstr "" 2482 2482 2483 2483 #: includes/addons/wl_faq.php:70 2484 2484 msgid "FAQ Title" 2485 2485 msgstr "" 2486 2486 2487 #: includes/helper-function.php:12 772487 #: includes/helper-function.php:1291 2488 2488 msgid "Featured" 2489 2489 msgstr "" 2490 2490 2491 2491 #: includes/admin/include/class.template_cpt.php:63 2492 2492 msgid "Featured Image" 2493 2493 msgstr "" 2494 2494 2495 2495 #: includes/addons/product_image_accordion.php:67 2496 2496 #: includes/addons/product_accordion.php:88 2497 2497 #: includes/addons/product_curvy.php:123 includes/addons/product_tabs.php:80 2498 2498 msgid "Featured Products" 2499 2499 msgstr "" 2500 2500 2501 2501 #: includes/admin/templates/dashboard-freevspro.php:213 2502 2502 msgid "Features" 2503 2503 msgstr "" 2504 2504 2505 2505 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:349 2506 2506 msgid "Fields heading text" 2507 2507 msgstr "" 2508 2508 2509 2509 #: includes/addons/wl_product_horizontal_filter.php:52 2510 2510 #: includes/addons/wl_product_horizontal_filter.php:251 2511 2511 #: includes/addons/wl_product_filter.php:52 2512 2512 #: includes/addons/wl_product_filter.php:917 2513 2513 #: includes/addons/wl_product_filter.php:917 2514 2514 msgid "Filter" 2515 2515 msgstr "" 2516 2516 2517 2517 #: includes/addons/wl_product_horizontal_filter.php:819 2518 2518 msgid "Filter Button" 2519 2519 msgstr "" 2520 2520 2521 2521 #: includes/addons/wl_product_horizontal_filter.php:328 2522 2522 msgid "Filter Button Icon" 2523 2523 msgstr "" 2524 2524 2525 2525 #: includes/addons/product_image_accordion.php:62 2526 2526 #: includes/addons/product_accordion.php:83 2527 2527 #: includes/addons/product_curvy.php:118 includes/addons/product_tabs.php:75 2528 2528 msgid "Filter By" 2529 2529 msgstr "" 2530 2530 2531 2531 #: includes/admin/include/class.template_cpt.php:71 2532 2532 msgid "Filter from list" 2533 2533 msgstr "" 2534 2534 2535 2535 #: includes/addons/wl_product_horizontal_filter.php:164 2536 2536 msgid "Filter List" 2537 2537 msgstr "" 2538 2538 2539 2539 #: includes/addons/wl_product_horizontal_filter.php:707 2540 2540 msgid "Filter Menu" 2541 2541 msgstr "" 2542 2542 2543 2543 #: includes/addons/wl_product_horizontal_filter.php:70 2544 2544 #: includes/addons/wl_product_horizontal_filter.php:211 2545 2545 msgid "Filter Placeholder" 2546 2546 msgstr "" 2547 2547 2548 2548 #: includes/addons/wl_product_horizontal_filter.php:61 2549 2549 msgid "Filter Title" 2550 2550 msgstr "" 2551 2551 2552 2552 #: includes/addons/wl_product_horizontal_filter.php:79 2553 2553 #: includes/addons/wl_product_filter.php:59 2554 2554 msgid "Filter Type" 2555 2555 msgstr "" 2556 2556 2557 2557 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:454 2558 2558 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:619 2559 2559 msgid "Firefox" 2560 2560 msgstr "" 2561 2561 2562 2562 #: includes/addons/wl_testimonial.php:200 2563 2563 #: includes/addons/wb_customer_review.php:188 2564 2564 #: includes/addons/wl_recently_viewed_products.php:80 2565 2565 #: includes/addons/wl_category_grid.php:256 2566 2566 msgid "Five" 2567 2567 msgstr "" 2568 2568 2569 2569 #: includes/addons/wb_wc_multicurrency.php:59 2570 2570 msgid "Flag only" 2571 2571 msgstr "" 2572 2572 2573 2573 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:72 2574 2574 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:101 2575 2575 msgid "Flag Style" 2576 2576 msgstr "" 2577 2577 2578 2578 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:285 2579 2579 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:342 2580 2580 msgid "flash" 2581 2581 msgstr "" 2582 2582 2583 2583 #: includes/admin/templates/dashboard-freevspro.php:105 2584 2584 msgid "Flash Sale Countdown" 2585 2585 msgstr "" 2586 2586 2587 2587 #: includes/modules/flash-sale/class.flash-sale.php:196 2588 2588 msgid "Flash Sale!" 2589 2589 msgstr "" 2590 2590 2591 2591 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:308 2592 2592 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:365 2593 2593 msgid "flip" 2594 2594 msgstr "" 2595 2595 2596 2596 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:309 2597 2597 msgid "flipInX" 2598 2598 msgstr "" 2599 2599 2600 2600 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:310 2601 2601 msgid "flipInY" 2602 2602 msgstr "" 2603 2603 2604 2604 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:366 2605 2605 msgid "flipOutX" 2606 2606 msgstr "" 2607 2607 2608 2608 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:367 2609 2609 msgid "flipOutY" 2610 2610 msgstr "" 2611 2611 2612 2612 #: includes/addons/wl_product_horizontal_filter.php:669 2613 2613 #: includes/addons/wl_product_horizontal_filter.php:850 2614 2614 #: includes/addons/wl_onepage_slider.php:418 2615 2615 #: includes/addons/wl_testimonial.php:764 includes/addons/product_tabs.php:1167 2616 2616 #: includes/addons/wb_product_add_to_cart.php:438 2617 2617 #: includes/addons/wb_product_add_to_cart.php:774 2618 2618 #: includes/addons/wb_product_add_to_cart.php:954 2619 2619 msgid "Font Size" 2620 2620 msgstr "" 2621 2621 2622 2622 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:351 2623 2623 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:524 2624 2624 msgid "For (days)" 2625 2625 msgstr "" 2626 2626 2627 2627 #: includes/addons/wl_product_filter.php:247 2628 2628 msgid "Form Style" 2629 2629 msgstr "" 2630 2630 2631 2631 #: includes/addons/wl_testimonial.php:199 2632 2632 #: includes/addons/wb_customer_review.php:187 2633 2633 #: includes/addons/wl_recently_viewed_products.php:79 2634 2634 #: includes/addons/wl_category_grid.php:255 2635 2635 msgid "Four" 2636 2636 msgstr "" 2637 2637 2638 2638 #: includes/admin/templates/dashboard-freevspro.php:214 2639 2639 #: includes/admin/templates/dashboard-freevspro.php:261 2640 2640 #: includes/admin/include/template-library/templates_list.php:30 2641 2641 msgid "Free" 2642 2642 msgstr "" 2643 2643 2644 2644 #: includes/admin/include/class.extension-manager.php:136 2645 2645 msgid "Free extension" 2646 2646 msgstr "" 2647 2647 2648 2648 #: includes/addons/wl_store_features.php:110 2649 2649 msgid "Free shipping" 2650 2650 msgstr "" 2651 2651 2652 2652 #: includes/modules/flash-sale/class.flash-sale.php:160 2653 2653 msgid "Free!" 2654 2654 msgstr "" 2655 2655 2656 2656 #: includes/modules/popup-builder/includes/class-repeater-helper.php:174 2657 2657 msgid "Front Page" 2658 2658 msgstr "" 2659 2659 2660 2660 #: woolentor-blocks/includes/helper-functions.php:370 2661 2661 #: woolentor-blocks/production/includes/helper-functions.php:370 2662 2662 msgid "Full" 2663 2663 msgstr "" 2664 2664 2665 2665 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:110 2666 2666 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:40 2667 2667 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:40 2668 2668 msgid "General" 2669 2669 msgstr "" 2670 2670 2671 2671 #: includes/addons/product_flash_sale.php:63 2672 2672 msgid "General Settings" 2673 2673 msgstr "" 2674 2674 2675 2675 #: includes/addons/product_flash_sale.php:379 2676 2676 msgid "General Style" 2677 2677 msgstr "" 2678 2678 2679 2679 #: includes/addons/wb_customer_review.php:157 2680 2680 msgid "Gerald Gilbert" 2681 2681 msgstr "" 2682 2682 2683 2683 #: includes/admin/templates/dashboard-welcome.php:21 2684 2684 msgid "Get Now" 2685 2685 msgstr "" 2686 2686 2687 2687 #: includes/admin/templates/dashboard-sidebar.php:16 2688 2688 msgid "Get Pro Now" 2689 2689 msgstr "" 2690 2690 2691 2691 #: includes/admin/templates/dashboard-welcome.php:43 2692 2692 msgid "Get Support" 2693 2693 msgstr "" 2694 2694 2695 2695 #: includes/base.php:247 includes/addons/wl_category.php:225 2696 2696 #: includes/addons/wl_brand.php:229 includes/addons/wl_brand.php:372 2697 2697 msgid "Go Pro" 2698 2698 msgstr "" 2699 2699 2700 2700 #: woolentor-blocks/src/blocks/product-reviews/index.php:39 2701 2701 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:39 2702 2702 msgid "Good" 2703 2703 msgstr "" 2704 2704 2705 2705 #: includes/addons/product_accordion.php:66 2706 2706 msgid "Gradient Color" 2707 2707 msgstr "" 2708 2708 2709 2709 #: includes/admin/templates/dashboard-freevspro.php:181 2710 2710 msgid "GTM Conversion Tracking" 2711 2711 msgstr "" 2712 2712 2713 2713 #: includes/admin/include/class.template-manager.php:446 2714 2714 #: includes/admin/include/class.template-manager.php:480 2715 2715 msgid "Gutenberg" 2716 2716 msgstr "" 2717 2717 2718 #: includes/helper-function.php:6 302718 #: includes/helper-function.php:644 2719 2719 msgid "H1" 2720 2720 msgstr "" 2721 2721 2722 #: includes/helper-function.php:6 312722 #: includes/helper-function.php:645 2723 2723 msgid "H2" 2724 2724 msgstr "" 2725 2725 2726 #: includes/helper-function.php:6 322726 #: includes/helper-function.php:646 2727 2727 msgid "H3" 2728 2728 msgstr "" 2729 2729 2730 #: includes/helper-function.php:6 332730 #: includes/helper-function.php:647 2731 2731 msgid "H4" 2732 2732 msgstr "" 2733 2733 2734 #: includes/helper-function.php:6 342734 #: includes/helper-function.php:648 2735 2735 msgid "H5" 2736 2736 msgstr "" 2737 2737 2738 #: includes/helper-function.php:6 352738 #: includes/helper-function.php:649 2739 2739 msgid "H6" 2740 2740 msgstr "" 2741 2741 2742 2742 #. Author of the plugin 2743 2743 msgid "HasThemes" 2744 2744 msgstr "" 2745 2745 2746 2746 #: includes/admin/admin-init.php:255 2747 2747 msgid "HasThemes Stories" 2748 2748 msgstr "" 2749 2749 2750 2750 #: includes/admin/templates/dashboard-welcome.php:53 2751 2751 msgid "" 2752 2752 "Have you ever noticed any missing features? Please notify us if you do. As " 2753 2753 "soon as possible, our staff will add any necessary features based on your " 2754 2754 "requests. Our commitment to our clients is second to none. We always attempt " 2755 2755 "to fulfill their demands." 2756 2756 msgstr "" 2757 2757 2758 2758 #: includes/addons/wb_wc_multicurrency.php:70 2759 2759 #: includes/addons/wb_product_upsell.php:93 2760 2760 #: includes/addons/wb_product_upsell.php:110 2761 2761 #: includes/addons/wb_product_related.php:108 2762 2762 #: includes/addons/wb_product_related.php:124 2763 2763 #: includes/addons/wb_just_table.php:67 2764 2764 #: includes/addons/wb_ever_compare_table.php:68 2765 2765 #: includes/addons/wb_product_additional_information.php:45 2766 2766 #: includes/addons/wb_product_additional_information.php:52 2767 2767 #: includes/addons/wb_product_additional_information.php:69 2768 2768 msgid "Heading" 2769 2769 msgstr "" 2770 2770 2771 2771 #: includes/addons/wb_just_table.php:96 includes/addons/wb_just_table.php:102 2772 2772 #: includes/addons/wb_wishsuite_table.php:88 2773 2773 msgid "Heading Background" 2774 2774 msgstr "" 2775 2775 2776 2776 #: includes/addons/wb_wc_multicurrency.php:78 2777 2777 #: includes/addons/wb_product_data_tab.php:293 2778 2778 #: includes/addons/wb_just_table.php:75 2779 2779 #: includes/addons/wb_wishsuite_table.php:76 2780 2780 #: includes/addons/wb_ever_compare_table.php:76 2781 2781 msgid "Heading Color" 2782 2782 msgstr "" 2783 2783 2784 2784 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:580 2785 2785 msgid "Heading color (Event)" 2786 2786 msgstr "" 2787 2787 2788 2788 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:588 2789 2789 msgid "Heading color (Odd)" 2790 2790 msgstr "" 2791 2791 2792 2792 #: includes/addons/wb_product_data_tab.php:304 2793 2793 msgid "Heading Margin" 2794 2794 msgstr "" 2795 2795 2796 2796 #: includes/addons/wb_product_data_tab.php:285 2797 2797 msgid "Heading Typography" 2798 2798 msgstr "" 2799 2799 2800 2800 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:293 2801 2801 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:350 2802 2802 msgid "heartBeat" 2803 2803 msgstr "" 2804 2804 2805 2805 #: includes/addons/product_flash_sale.php:942 2806 2806 #: includes/addons/wl_onepage_slider.php:448 2807 2807 #: includes/addons/wl_onepage_slider.php:519 2808 2808 #: includes/addons/wl_product_video_gallery.php:97 2809 2809 #: includes/addons/wl_product_filter.php:592 2810 2810 #: includes/addons/wb_product_add_to_cart.php:837 2811 2811 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:442 2812 2812 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:385 2813 2813 msgid "Height" 2814 2814 msgstr "" 2815 2815 2816 2816 #: includes/addons/wb_archive_catalog_ordering.php:83 2817 2817 msgid "Height (px)" 2818 2818 msgstr "" 2819 2819 2820 2820 #: includes/admin/templates/dashboard-style.php:20 2821 2821 #: includes/admin/templates/dashboard-style.php:23 2822 2822 msgid "Helping Screenshot" 2823 2823 msgstr "" 2824 2824 2825 2825 #: includes/addons/product_flash_sale.php:1224 2826 2826 msgid "Here" 2827 2827 msgstr "" 2828 2828 2829 #: includes/helper-function.php:1 199 includes/helper-function.php:12172829 #: includes/helper-function.php:1213 includes/helper-function.php:1231 2830 2830 msgid "here" 2831 2831 msgstr "" 2832 2832 2833 2833 #: includes/addons/product_flash_sale.php:177 2834 2834 #: includes/addons/product_flash_sale.php:329 2835 2835 #: includes/addons/wb_product_upsell.php:96 2836 2836 #: includes/addons/wb_archive_product.php:806 2837 2837 #: includes/addons/wl_archive_title.php:63 2838 2838 #: includes/addons/wl_archive_title.php:75 2839 2839 #: includes/addons/wl_archive_title.php:87 2840 2840 #: includes/addons/wb_product_related.php:110 2841 2841 #: includes/addons/wb_product_additional_information.php:55 2842 2842 msgid "Hide" 2843 2843 msgstr "" 2844 2844 2845 2845 #: includes/addons/product_image_accordion.php:222 2846 2846 msgid "Hide Category" 2847 2847 msgstr "" 2848 2848 2849 2849 #: includes/addons/wb_product_add_to_cart.php:487 2850 2850 #: includes/addons/wb_product_add_to_cart.php:896 2851 2851 msgid "Hide Compare" 2852 2852 msgstr "" 2853 2853 2854 2854 #: includes/addons/product_accordion.php:276 2855 2855 #: includes/addons/product_curvy.php:289 2856 2856 msgid "Hide Content" 2857 2857 msgstr "" 2858 2858 2859 2859 #: includes/addons/wl_category.php:181 includes/addons/wl_category_grid.php:174 2860 2860 msgid "Hide Empty Category" 2861 2861 msgstr "" 2862 2862 2863 2863 #: includes/addons/product_image_accordion.php:243 2864 2864 #: includes/addons/product_accordion.php:300 2865 2865 #: includes/addons/product_curvy.php:278 2866 2866 msgid "Hide Price" 2867 2867 msgstr "" 2868 2868 2869 2869 #: includes/addons/wb_product_add_to_cart.php:1028 2870 2870 msgid "Hide Quantity Field" 2871 2871 msgstr "" 2872 2872 2873 2873 #: includes/addons/product_image_accordion.php:255 2874 2874 #: includes/addons/product_accordion.php:311 2875 2875 #: includes/addons/product_curvy.php:315 2876 2876 msgid "Hide Rating" 2877 2877 msgstr "" 2878 2878 2879 2879 #: includes/addons/product_image_accordion.php:232 2880 2880 #: includes/addons/product_curvy.php:267 2881 2881 #: includes/addons/wb_product_categories.php:84 2882 2882 #: includes/addons/wb_product_sku.php:84 includes/addons/wb_product_tags.php:84 2883 2883 msgid "Hide Title" 2884 2884 msgstr "" 2885 2885 2886 2886 #: includes/addons/wb_product_add_to_cart.php:477 2887 2887 #: includes/addons/wb_product_add_to_cart.php:886 2888 2888 msgid "Hide Wishlist" 2889 2889 msgstr "" 2890 2890 2891 2891 #: includes/addons/wl_product_filter.php:140 2892 2892 msgid "Hierarchical" 2893 2893 msgstr "" 2894 2894 2895 2895 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:326 2896 2896 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:383 2897 2897 msgid "hinge" 2898 2898 msgstr "" 2899 2899 2900 2900 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:121 2901 2901 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:169 2902 2902 msgid "Hook name" 2903 2903 msgstr "" 2904 2904 2905 2905 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:129 2906 2906 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:177 2907 2907 msgid "Hook priority" 2908 2908 msgstr "" 2909 2909 2910 2910 #: includes/addons/wl_category.php:54 2911 2911 msgid "Horizontal" 2912 2912 msgstr "" 2913 2913 2914 2914 #: includes/addons/special_day_offer.php:198 2915 2915 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:498 2916 2916 msgid "Horizontal Position" 2917 2917 msgstr "" 2918 2918 2919 2919 #: classes/class.widgets_control.php:305 2920 2920 msgid "Horizontal Product Filter" 2921 2921 msgstr "" 2922 2922 2923 2923 #: includes/addons/product_flash_sale.php:278 2924 2924 #: includes/addons/product_flash_sale.php:280 2925 2925 #: includes/addons/product_flash_sale.php:1030 2926 2926 #: includes/modules/flash-sale/class.flash-sale.php:448 2927 2927 msgid "Hours" 2928 2928 msgstr "" 2929 2929 2930 2930 #: includes/addons/product_flash_sale.php:723 2931 2931 #: includes/addons/wl_product_horizontal_filter.php:683 2932 2932 #: includes/addons/wl_product_horizontal_filter.php:875 2933 2933 #: includes/addons/special_day_offer.php:720 2934 2934 #: includes/addons/wl_testimonial.php:963 2935 2935 #: includes/addons/wl_store_features.php:378 2936 2936 #: includes/addons/wb_archive_product.php:642 2937 2937 #: includes/addons/product_image_accordion.php:588 2938 2938 #: includes/addons/wb_product_call_for_price.php:170 2939 2939 #: includes/addons/product_accordion.php:659 2940 2940 #: includes/addons/product_curvy.php:791 2941 2941 #: includes/addons/wb_product_suggest_price.php:491 2942 2942 #: includes/addons/wb_product_suggest_price.php:643 2943 2943 #: includes/addons/wb_product_suggest_price.php:786 2944 2944 #: includes/addons/wl_product_filter.php:381 2945 2945 #: includes/addons/wl_product_filter.php:502 2946 2946 #: includes/addons/wl_product_filter.php:765 2947 2947 #: includes/addons/wl_recently_viewed_products.php:492 2948 2948 #: includes/addons/wb_wishsuite_table.php:411 2949 2949 #: includes/addons/product_tabs.php:363 includes/addons/product_tabs.php:757 2950 2950 #: includes/addons/product_tabs.php:1075 includes/addons/product_tabs.php:1197 2951 2951 #: includes/addons/wb_product_add_to_cart.php:274 2952 2952 #: includes/addons/wb_product_add_to_cart.php:638 2953 2953 #: includes/addons/wb_product_add_to_cart.php:932 2954 2954 #: includes/addons/wb_product_add_to_cart.php:1132 2955 2955 #: includes/addons/wl_category_grid.php:972 2956 2956 msgid "Hover" 2957 2957 msgstr "" 2958 2958 2959 2959 #: includes/addons/wl_product_horizontal_filter.php:779 2960 2960 #: includes/addons/wl_onepage_slider.php:363 2961 2961 msgid "Hover Background" 2962 2962 msgstr "" 2963 2963 2964 2964 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:187 2965 2965 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:463 2966 2966 msgid "Hover Background Color" 2967 2967 msgstr "" 2968 2968 2969 2969 #: includes/addons/wl_onepage_slider.php:369 2970 2970 #: includes/addons/wl_onepage_slider.php:575 2971 2971 msgid "Hover Background Type" 2972 2972 msgstr "" 2973 2973 2974 2974 #: includes/addons/wl_store_features.php:180 2975 2975 msgid "Hover Border" 2976 2976 msgstr "" 2977 2977 2978 2978 #: includes/addons/wl_store_features.php:184 2979 2979 msgid "Hover Border Type" 2980 2980 msgstr "" 2981 2981 2982 2982 #: includes/addons/wl_product_horizontal_filter.php:763 2983 2983 #: includes/addons/wl_onepage_slider.php:326 2984 2984 #: includes/addons/wl_onepage_slider.php:404 2985 2985 #: includes/addons/wl_category.php:360 2986 2986 #: includes/addons/wl_recently_viewed_products.php:337 2987 2987 #: includes/addons/wb_wishsuite_table.php:164 2988 2988 #: includes/addons/wb_wishsuite_table.php:272 2989 2989 #: includes/addons/add_banner.php:251 includes/addons/wl_category_grid.php:622 2990 2990 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:177 2991 2991 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:447 2992 2992 msgid "Hover Color" 2993 2993 msgstr "" 2994 2994 2995 2995 #: includes/modules/post-duplicator/class.post-duplicator.php:45 2996 2996 msgid "HT Duplicate" 2997 2997 msgstr "" 2998 2998 2999 2999 #: includes/modules/post-duplicator/class.post-duplicator.php:45 3000 3000 msgid "HT Duplicator" 3001 3001 msgstr "" 3002 3002 3003 3003 #: includes/addons/product_flash_sale.php:241 3004 3004 msgid "HTML tags are allowed." 3005 3005 msgstr "" 3006 3006 3007 3007 #. Author URI of the plugin 3008 3008 msgid "https://hasthemes.com/plugins/woolentor-pro/" 3009 3009 msgstr "" 3010 3010 3011 3011 #. URI of the plugin 3012 3012 msgid "https://woolentor.com/" 3013 3013 msgstr "" 3014 3014 3015 3015 #: includes/addons/special_day_offer.php:133 includes/addons/wl_brand.php:97 3016 3016 #: includes/addons/add_banner.php:123 3017 3017 msgid "https://your-link.com" 3018 3018 msgstr "" 3019 3019 3020 3020 #: includes/modules/flash-sale/class.flash-sale.php:438 3021 3021 msgid "Hurry Up! Offer ends in" 3022 3022 msgstr "" 3023 3023 3024 3024 #: includes/addons/wl_faq.php:613 includes/addons/wl_store_features.php:68 3025 3025 #: includes/addons/wl_store_features.php:84 3026 3026 #: includes/addons/wl_product_filter.php:151 3027 3027 msgid "Icon" 3028 3028 msgstr "" 3029 3029 3030 3030 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:311 3031 3031 msgid "Icon Background" 3032 3032 msgstr "" 3033 3033 3034 3034 #: includes/addons/product_flash_sale.php:538 3035 3035 #: includes/addons/wl_breadcrumbs.php:154 3036 3036 #: includes/addons/wl_store_features.php:264 3037 3037 #: includes/addons/wb_wishsuite_table.php:311 3038 3038 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:282 3039 3039 msgid "Icon Color" 3040 3040 msgstr "" 3041 3041 3042 3042 #: includes/addons/wl_store_features.php:279 3043 3043 #: includes/addons/wb_wishsuite_table.php:321 3044 3044 msgid "Icon Hover Color" 3045 3045 msgstr "" 3046 3046 3047 3047 #: includes/addons/wl_faq.php:717 includes/addons/wl_faq.php:852 3048 3048 msgid "Icon Line Height" 3049 3049 msgstr "" 3050 3050 3051 3051 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:346 3052 3052 msgid "Icon Margin" 3053 3053 msgstr "" 3054 3054 3055 3055 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:365 3056 3056 msgid "Icon Padding" 3057 3057 msgstr "" 3058 3058 3059 3059 #: includes/addons/wl_faq.php:241 3060 3060 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:115 3061 3061 msgid "Icon Position" 3062 3062 msgstr "" 3063 3063 3064 3064 #: includes/addons/product_flash_sale.php:551 3065 3065 #: includes/addons/wl_breadcrumbs.php:166 3066 3066 #: includes/addons/wl_store_features.php:294 3067 3067 #: includes/addons/wl_product_filter.php:358 3068 3068 #: includes/addons/wl_product_filter.php:464 3069 3069 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:294 3070 3070 msgid "Icon Size" 3071 3071 msgstr "" 3072 3072 3073 3073 #: includes/addons/product_accordion.php:235 3074 3074 #: includes/addons/wl_product_filter.php:162 3075 3075 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:138 3076 3076 msgid "Icon Spacing" 3077 3077 msgstr "" 3078 3078 3079 3079 #: includes/addons/wl_store_features.php:64 3080 3080 msgid "Icon Type" 3081 3081 msgstr "" 3082 3082 3083 3083 #: includes/addons/wl_faq.php:737 3084 3084 msgid "Icon Width" 3085 3085 msgstr "" 3086 3086 3087 #: includes/helper-function.php:12 71includes/addons/product_flash_sale.php:1333087 #: includes/helper-function.php:1285 includes/addons/product_flash_sale.php:133 3088 3088 #: includes/addons/product_image_accordion.php:146 3089 3089 #: includes/addons/product_accordion.php:167 3090 3090 #: includes/addons/wl_category.php:152 includes/addons/product_curvy.php:202 3091 3091 #: includes/addons/product_tabs.php:161 3092 3092 #: includes/addons/wl_category_grid.php:145 3093 3093 msgid "ID" 3094 3094 msgstr "" 3095 3095 3096 3096 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:457 3097 3097 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:622 3098 3098 msgid "IE" 3099 3099 msgstr "" 3100 3100 3101 3101 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:360 3102 3102 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:535 3103 3103 msgid "If closed (times)" 3104 3104 msgstr "" 3105 3105 3106 3106 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:276 3107 3107 msgid "" 3108 3108 "If you enable this you can easily share your compare page link with specific " 3109 3109 "products." 3110 3110 msgstr "" 3111 3111 3112 3112 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:61 3113 3113 msgid "" 3114 3114 "If you have shopped with us before, please enter your details below. If you " 3115 3115 "are a new customer, please proceed to the Billing section." 3116 3116 msgstr "" 3117 3117 3118 3118 #: includes/admin/templates/dashboard-sidebar.php:25 3119 3119 msgid "" 3120 3120 "If you’re loving how our product has helped your business, please let the " 3121 3121 "WordPress community know by " 3122 3122 msgstr "" 3123 3123 3124 3124 #: includes/addons/wl_onepage_slider.php:53 3125 3125 #: includes/addons/special_day_offer.php:66 3126 3126 #: includes/addons/wl_testimonial.php:111 3127 3127 #: includes/addons/wl_testimonial.php:531 3128 3128 #: includes/addons/wl_store_features.php:72 3129 3129 #: includes/addons/wl_store_features.php:97 3130 3130 #: includes/addons/wb_archive_product.php:266 3131 3131 #: includes/addons/wb_product_image.php:44 3132 3132 #: includes/addons/wb_image_marker.php:43 3133 3133 #: includes/addons/wb_customer_review.php:109 3134 3134 #: includes/addons/wb_customer_review.php:361 3135 3135 #: includes/addons/wl_category_grid.php:542 3136 3136 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:54 3137 3137 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:219 3138 3138 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:329 3139 3139 msgid "Image" 3140 3140 msgstr "" 3141 3141 3142 3142 #: includes/addons/wl_testimonial.php:559 3143 3143 msgid "Image Area Border Color" 3144 3144 msgstr "" 3145 3145 3146 3146 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:395 3147 3147 msgid "Image Hard Crop" 3148 3148 msgstr "" 3149 3149 3150 3150 #: classes/class.widgets_control.php:236 3151 3151 #: woolentor-blocks/includes/classes/Blocks_List.php:39 3152 3152 #: woolentor-blocks/production/includes/classes/Blocks_List.php:39 3153 3153 msgid "Image Marker" 3154 3154 msgstr "" 3155 3155 3156 3156 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:380 3157 3157 msgid "Image size" 3158 3158 msgstr "" 3159 3159 3160 3160 #: includes/addons/wl_store_features.php:240 3161 3161 msgid "Image/Icon" 3162 3162 msgstr "" 3163 3163 3164 3164 #: classes/class.assest_management.php:368 3165 3165 msgid "Import" 3166 3166 msgstr "" 3167 3167 3168 3168 #: includes/admin/include/class.template-manager.php:388 3169 3169 msgid "Import Previously Assigned Templates" 3170 3170 msgstr "" 3171 3171 3172 3172 #: includes/admin/include/template-library/popup-template.php:25 3173 3173 msgid "Import template to your Template Library." 3174 3174 msgstr "" 3175 3175 3176 3176 #: classes/class.assest_management.php:367 3177 3177 msgid "Import to Builder" 3178 3178 msgstr "" 3179 3179 3180 3180 #: classes/class.assest_management.php:365 3181 3181 msgid "Import to Library" 3182 3182 msgstr "" 3183 3183 3184 3184 #: classes/class.assest_management.php:366 3185 3185 msgid "Import to Page" 3186 3186 msgstr "" 3187 3187 3188 3188 #: classes/class.assest_management.php:360 3189 3189 msgid "in this package" 3190 3190 msgstr "" 3191 3191 3192 3192 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:184 3193 3193 msgid "Inactivity Time (ms)" 3194 3194 msgstr "" 3195 3195 3196 3196 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:130 3197 3197 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:528 3198 3198 msgid "Include" 3199 3199 msgstr "" 3200 3200 3201 3201 #: includes/admin/templates/dashboard-freevspro.php:19 3202 3202 msgid "Individual Archive Page Builder" 3203 3203 msgstr "" 3204 3204 3205 3205 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:53 3206 3206 msgid "Information" 3207 3207 msgstr "" 3208 3208 3209 3209 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:165 3210 3210 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:300 3211 3211 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:327 3212 3212 msgid "Inherit" 3213 3213 msgstr "" 3214 3214 3215 3215 #: includes/custom-metabox.php:45 3216 3216 msgid "Initial number in stock" 3217 3217 msgstr "" 3218 3218 3219 3219 #: includes/addons/wb_product_suggest_price.php:192 3220 3220 msgid "Input" 3221 3221 msgstr "" 3222 3222 3223 3223 #: includes/addons/wl_product_horizontal_filter.php:567 3224 3224 #: includes/addons/wl_product_filter.php:258 3225 3225 msgid "Input Box" 3226 3226 msgstr "" 3227 3227 3228 3228 #: includes/addons/wb_product_suggest_price.php:109 3229 3229 msgid "Input Field Placeholder" 3230 3230 msgstr "" 3231 3231 3232 3232 #: includes/admin/include/class.template_cpt.php:67 3233 3233 msgid "Insert into Template" 3234 3234 msgstr "" 3235 3235 3236 3236 #: includes/admin/include/template-library.php:196 3237 3237 #: includes/admin/include/template-library.php:249 3238 3238 #: includes/admin/include/class.extension-manager.php:165 3239 3239 #: includes/admin/include/class.extension-manager.php:232 3240 3240 msgid "Install Now" 3241 3241 msgstr "" 3242 3242 3243 3243 #: includes/base.php:152 3244 3244 msgid "Install WooCommerce" 3245 3245 msgstr "" 3246 3246 3247 3247 #: classes/class.assest_management.php:371 3248 3248 msgid "Installing.." 3249 3249 msgstr "" 3250 3250 3251 3251 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:401 3252 3252 msgid "Is" 3253 3253 msgstr "" 3254 3254 3255 3255 #: includes/modules/popup-builder/includes/class-repeater-helper.php:320 3256 3256 msgid "Is empty" 3257 3257 msgstr "" 3258 3258 3259 3259 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:390 3260 3260 msgid "Is Exactly Matched" 3261 3261 msgstr "" 3262 3262 3263 3263 #: includes/admin/include/class.template-manager.php:490 3264 3264 msgid "" 3265 3265 "It will import those templates that were created from the \"Templates\" menu " 3266 3266 "of Elementor and assigned to corresponding WooCommerce pages." 3267 3267 msgstr "" 3268 3268 3269 3269 #: includes/addons/wl_faq.php:259 includes/addons/wl_testimonial.php:475 3270 3270 #: includes/addons/wb_archive_product.php:171 3271 3271 msgid "Item" 3272 3272 msgstr "" 3273 3273 3274 3274 #: includes/addons/wl_recently_viewed_products.php:195 3275 3275 msgid "Item Area" 3276 3276 msgstr "" 3277 3277 3278 3278 #: includes/addons/wb_just_table.php:138 3279 3279 msgid "Item Gap Color" 3280 3280 msgstr "" 3281 3281 3282 3282 #: includes/addons/wl_faq.php:267 3283 3283 msgid "Item Spacing" 3284 3284 msgstr "" 3285 3285 3286 3286 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:327 3287 3287 msgid "jackInTheBox" 3288 3288 msgstr "" 3289 3289 3290 3290 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:292 3291 3291 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:349 3292 3292 msgid "jello" 3293 3293 msgstr "" 3294 3294 3295 3295 #: includes/addons/wb_product_short_description.php:69 3296 3296 #: includes/addons/special_day_offer.php:285 3297 3297 #: includes/addons/wl_store_features.php:155 3298 3298 #: includes/addons/wb_product_data_tab.php:172 3299 3299 #: includes/addons/wb_archive_product.php:249 3300 3300 #: includes/addons/wb_product_description.php:67 3301 3301 #: includes/addons/product_tabs.php:257 includes/addons/product_tabs.php:978 3302 3302 #: includes/addons/product_tabs.php:1057 3303 3303 msgid "Justified" 3304 3304 msgstr "" 3305 3305 3306 3306 #: classes/class.widgets_control.php:442 includes/addons/wb_just_table.php:48 3307 3307 msgid "JustTable" 3308 3308 msgstr "" 3309 3309 3310 3310 #: includes/admin/include/class.extension-manager.php:72 3311 3311 msgid "JustTables" 3312 3312 msgstr "" 3313 3313 3314 3314 #: includes/admin/include/class.extension-manager.php:90 3315 3315 msgid "" 3316 3316 "JustTables is an incredible WordPress plugin that lets you showcase all your " 3317 3317 "WooCommerce products in a sortable and filterable table view. It allows your " 3318 3318 "customers to easily navigate through different attributes of the products " 3319 3319 "and compare them on a single page. This plugin will be of great help if you " 3320 3320 "are looking for an easy solution that increases the chances of landing a " 3321 3321 "sale on your online store." 3322 3322 msgstr "" 3323 3323 3324 3324 #: includes/admin/include/class.extension-manager.php:87 3325 3325 msgid "JustTables Pro" 3326 3326 msgstr "" 3327 3327 3328 3328 #: includes/addons/wl_testimonial.php:151 3329 3329 msgid "Kevin Walker" 3330 3330 msgstr "" 3331 3331 3332 3332 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:573 3333 3333 msgid "Keyword Value" 3334 3334 msgstr "" 3335 3335 3336 3336 #: includes/addons/wl_product_horizontal_filter.php:489 3337 3337 msgid "Label" 3338 3338 msgstr "" 3339 3339 3340 3340 #: includes/addons/wl_product_horizontal_filter.php:972 3341 3341 #: includes/addons/wl_product_filter.php:852 3342 3342 msgctxt "label" 3343 3343 msgid "Search for:" 3344 3344 msgstr "" 3345 3345 3346 3346 #: includes/addons/product_flash_sale.php:864 3347 3347 #: includes/addons/wl_product_filter.php:666 3348 3348 msgid "Label Color" 3349 3349 msgstr "" 3350 3350 3351 3351 #: includes/addons/wl_store_features.php:48 3352 3352 #: includes/addons/wb_product_add_to_cart.php:47 3353 3353 #: includes/addons/wb_product_add_to_cart.php:55 3354 3354 msgid "Layout" 3355 3355 msgstr "" 3356 3356 3357 3357 #: includes/addons/wl_store_features.php:56 3358 3358 msgid "Layout Five" 3359 3359 msgstr "" 3360 3360 3361 3361 #: includes/addons/wl_store_features.php:55 3362 3362 #: includes/addons/wb_product_add_to_cart.php:63 3363 3363 msgid "Layout Four" 3364 3364 msgstr "" 3365 3365 3366 3366 #: includes/addons/wl_store_features.php:52 3367 3367 #: includes/addons/wb_product_add_to_cart.php:60 3368 3368 msgid "Layout One" 3369 3369 msgstr "" 3370 3370 3371 3371 #: includes/addons/product_accordion.php:54 3372 3372 #: includes/addons/product_curvy.php:54 3373 3373 msgid "Layout Settings" 3374 3374 msgstr "" 3375 3375 3376 3376 #: includes/addons/wl_store_features.php:54 3377 3377 #: includes/addons/wb_product_add_to_cart.php:62 3378 3378 msgid "Layout Three" 3379 3379 msgstr "" 3380 3380 3381 3381 #: includes/addons/wl_store_features.php:53 3382 3382 #: includes/addons/wb_product_add_to_cart.php:61 3383 3383 msgid "Layout Two" 3384 3384 msgstr "" 3385 3385 3386 3386 #: includes/admin/templates/dashboard-sidebar.php:25 3387 3387 msgid "leaving us a review on our WP repository" 3388 3388 msgstr "" 3389 3389 3390 3390 #: includes/addons/wl_faq.php:354 includes/addons/wl_faq.php:577 3391 3391 #: includes/addons/wb_product_short_description.php:57 3392 3392 #: includes/addons/wl_breadcrumbs.php:78 3393 3393 #: includes/addons/wb_wishsuite_counter.php:69 3394 3394 #: includes/addons/wl_product_horizontal_filter.php:794 3395 3395 #: includes/addons/wl_onepage_slider.php:173 3396 3396 #: includes/addons/special_day_offer.php:57 3397 3397 #: includes/addons/special_day_offer.php:273 3398 3398 #: includes/addons/wl_store_features.php:143 3399 3399 #: includes/addons/wb_product_data_tab.php:160 3400 3400 #: includes/addons/wb_archive_product.php:237 3401 3401 #: includes/addons/wb_archive_product.php:900 3402 3402 #: includes/addons/wl_archive_title.php:112 3403 3403 #: includes/addons/wb_product_qr_code.php:91 3404 3404 #: includes/addons/wb_product_related.php:169 3405 3405 #: includes/addons/wb_archive_result_count.php:83 3406 3406 #: includes/addons/wb_product_description.php:55 3407 3407 #: includes/addons/wl_category.php:313 3408 3408 #: includes/addons/wl_product_video_gallery.php:61 3409 3409 #: includes/addons/wl_brand.php:298 3410 3410 #: includes/addons/wb_product_categories.php:64 3411 3411 #: includes/addons/wb_product_rating.php:100 3412 3412 #: includes/addons/wb_product_title.php:107 3413 3413 #: includes/addons/wb_product_sku.php:64 3414 3414 #: includes/addons/wb_customer_review.php:290 3415 3415 #: includes/addons/wl_recently_viewed_products.php:250 3416 3416 #: includes/addons/wl_recently_viewed_products.php:562 3417 3417 #: includes/addons/product_tabs.php:245 includes/addons/product_tabs.php:966 3418 3418 #: includes/addons/product_tabs.php:1045 includes/addons/add_banner.php:67 3419 3419 #: includes/addons/wl_category_grid.php:734 3420 3420 #: includes/addons/wb_product_tags.php:64 3421 3421 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:424 3422 3422 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:59 3423 3423 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:285 3424 3424 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:477 3425 3425 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:491 3426 3426 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:505 3427 3427 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:526 3428 3428 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:556 3429 3429 msgid "Left" 3430 3430 msgstr "" 3431 3431 3432 3432 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:530 3433 3433 msgid "Lifetime" 3434 3434 msgstr "" 3435 3435 3436 3436 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:311 3437 3437 msgid "lightSpeedIn" 3438 3438 msgstr "" 3439 3439 3440 3440 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:368 3441 3441 msgid "lightSpeedOut" 3442 3442 msgstr "" 3443 3443 3444 3444 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:310 3445 3445 msgid "Limit" 3446 3446 msgstr "" 3447 3447 3448 3448 #: includes/admin/templates/dashboard-freevspro.php:225 3449 3449 #: includes/admin/templates/dashboard-freevspro.php:272 3450 3450 msgid "Limited Features" 3451 3451 msgstr "" 3452 3452 3453 3453 #: includes/addons/wl_breadcrumbs.php:112 3454 3454 #: includes/addons/wb_product_meta.php:61 3455 3455 #: includes/addons/wb_product_rating.php:64 3456 3456 msgid "Link Color" 3457 3457 msgstr "" 3458 3458 3459 3459 #: includes/addons/wl_breadcrumbs.php:123 3460 3460 #: includes/addons/wb_product_meta.php:72 3461 3461 msgid "Link Hover Color" 3462 3462 msgstr "" 3463 3463 3464 3464 #: includes/addons/wb_product_rating.php:76 3465 3465 msgid "Link Typography" 3466 3466 msgstr "" 3467 3467 3468 3468 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:52 3469 3469 msgid "List" 3470 3470 msgstr "" 3471 3471 3472 3472 #: includes/addons/wl_product_filter.php:424 3473 3473 msgid "List Item" 3474 3474 msgstr "" 3475 3475 3476 3476 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:60 3477 3477 msgid "Log in" 3478 3478 msgstr "" 3479 3479 3480 3480 #: includes/modules/shopify-like-checkout/templates/form-login.php:41 3481 3481 msgid "Login" 3482 3482 msgstr "" 3483 3483 3484 3484 #: includes/modules/currency-switcher/includes/classes/Admin/Actions.php:37 3485 3485 msgid "" 3486 3486 "Looks like ShopLentor's Currency Switcher Module is enabled. To configure " 3487 3487 "the currency-related options, please go to the module's settings. " 3488 3488 msgstr "" 3489 3489 3490 3490 #: includes/addons/wb_customer_review.php:128 3491 3491 #: includes/addons/wb_customer_review.php:146 3492 3492 #: includes/addons/wb_customer_review.php:153 3493 3493 #: includes/addons/wb_customer_review.php:160 3494 3494 msgid "" 3495 3495 "Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod " 3496 3496 "tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, " 3497 3497 "consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et " 3498 3498 "dolore magna aliqua." 3499 3499 msgstr "" 3500 3500 3501 3501 #: includes/addons/wb_image_marker.php:111 3502 3502 #: includes/addons/wb_image_marker.php:165 3503 3503 msgid "Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks." 3504 3504 msgstr "" 3505 3505 3506 3506 #: includes/modules/shopify-like-checkout/templates/form-login.php:44 3507 3507 msgid "Lost your password?" 3508 3508 msgstr "" 3509 3509 3510 3510 #: includes/addons/wl_product_video_gallery.php:89 3511 3511 msgid "Main Video Area" 3512 3512 msgstr "" 3513 3513 3514 3514 #: includes/addons/wb_customer_review.php:151 3515 3515 msgid "Manager" 3516 3516 msgstr "" 3517 3517 3518 3518 #: includes/addons/wb_customer_review.php:91 3519 3519 #: includes/addons/wb_customer_review.php:144 3520 3520 msgid "Managing Director" 3521 3521 msgstr "" 3522 3522 3523 3523 #: includes/addons/product_flash_sale.php:386 3524 3524 #: includes/addons/product_flash_sale.php:453 3525 3525 #: includes/addons/product_flash_sale.php:475 3526 3526 #: includes/addons/product_flash_sale.php:801 3527 3527 #: includes/addons/wb_product_price.php:71 3528 3528 #: includes/addons/wl_product_horizontal_filter.php:388 3529 3529 #: includes/addons/wl_product_horizontal_filter.php:474 3530 3530 #: includes/addons/wl_product_horizontal_filter.php:541 3531 3531 #: includes/addons/wl_onepage_slider.php:240 3532 3532 #: includes/addons/wl_onepage_slider.php:282 3533 3533 #: includes/addons/wb_product_upsell.php:143 3534 3534 #: includes/addons/special_day_offer.php:298 3535 3535 #: includes/addons/special_day_offer.php:357 3536 3536 #: includes/addons/special_day_offer.php:416 3537 3537 #: includes/addons/special_day_offer.php:475 3538 3538 #: includes/addons/special_day_offer.php:534 3539 3539 #: includes/addons/special_day_offer.php:593 3540 3540 #: includes/addons/special_day_offer.php:704 3541 3541 #: includes/addons/wl_testimonial.php:516 3542 3542 #: includes/addons/wl_testimonial.php:604 3543 3543 #: includes/addons/wl_testimonial.php:660 3544 3544 #: includes/addons/wl_testimonial.php:716 3545 3545 #: includes/addons/wl_testimonial.php:776 3546 3546 #: includes/addons/wb_product_meta.php:92 3547 3547 #: includes/addons/wl_store_features.php:364 3548 3548 #: includes/addons/wl_store_features.php:440 3549 3549 #: includes/addons/wl_store_features.php:486 3550 3550 #: includes/addons/wl_store_features.php:532 3551 3551 #: includes/addons/wb_product_data_tab.php:61 3552 3552 #: includes/addons/wb_archive_product.php:212 3553 3553 #: includes/addons/wb_archive_product.php:295 3554 3554 #: includes/addons/wb_archive_product.php:361 3555 3555 #: includes/addons/wb_archive_product.php:526 3556 3556 #: includes/addons/wb_archive_product.php:613 3557 3557 #: includes/addons/wl_archive_title.php:163 3558 3558 #: includes/addons/wl_archive_title.php:203 3559 3559 #: includes/addons/product_image_accordion.php:280 3560 3560 #: includes/addons/product_image_accordion.php:344 3561 3561 #: includes/addons/product_image_accordion.php:398 3562 3562 #: includes/addons/product_image_accordion.php:461 3563 3563 #: includes/addons/product_image_accordion.php:507 3564 3564 #: includes/addons/wb_product_image.php:74 3565 3565 #: includes/addons/wb_archive_catalog_ordering.php:119 3566 3566 #: includes/addons/wb_product_related.php:152 3567 3567 #: includes/addons/wb_product_call_for_price.php:124 3568 3568 #: includes/addons/wb_archive_result_count.php:114 3569 3569 #: includes/addons/wb_product_description.php:100 3570 3570 #: includes/addons/product_accordion.php:333 3571 3571 #: includes/addons/product_accordion.php:477 3572 3572 #: includes/addons/product_accordion.php:540 3573 3573 #: includes/addons/product_accordion.php:586 3574 3574 #: includes/addons/product_curvy.php:340 includes/addons/product_curvy.php:469 3575 3575 #: includes/addons/product_curvy.php:567 includes/addons/product_curvy.php:630 3576 3576 #: includes/addons/product_curvy.php:711 3577 3577 #: includes/addons/wl_product_video_gallery.php:148 3578 3578 #: includes/addons/wl_brand.php:282 3579 3579 #: includes/addons/wb_product_categories.php:151 3580 3580 #: includes/addons/wb_product_suggest_price.php:245 3581 3581 #: includes/addons/wb_product_suggest_price.php:344 3582 3582 #: includes/addons/wb_product_suggest_price.php:442 3583 3583 #: includes/addons/wb_product_suggest_price.php:597 3584 3584 #: includes/addons/wb_product_suggest_price.php:740 3585 3585 #: includes/addons/wb_product_rating.php:84 3586 3586 #: includes/addons/wb_product_title.php:90 3587 3587 #: includes/addons/wl_product_filter.php:232 3588 3588 #: includes/addons/wb_product_sku.php:139 3589 3589 #: includes/addons/wb_image_marker.php:350 3590 3590 #: includes/addons/wb_image_marker.php:392 3591 3591 #: includes/addons/wb_customer_review.php:420 3592 3592 #: includes/addons/wb_customer_review.php:476 3593 3593 #: includes/addons/wb_customer_review.php:532 3594 3594 #: includes/addons/wb_product_stock.php:71 3595 3595 #: includes/addons/wl_recently_viewed_products.php:348 3596 3596 #: includes/addons/wl_recently_viewed_products.php:392 3597 3597 #: includes/addons/wl_recently_viewed_products.php:721 3598 3598 #: includes/addons/wb_product_add_to_cart.php:754 3599 3599 #: includes/addons/wb_product_add_to_cart.php:1084 3600 3600 #: includes/addons/wb_product_additional_information.php:102 3601 3601 #: includes/addons/add_banner.php:167 includes/addons/add_banner.php:218 3602 3602 #: includes/addons/wl_category_grid.php:563 3603 3603 #: includes/addons/wl_category_grid.php:672 3604 3604 #: includes/addons/wl_category_grid.php:718 3605 3605 #: includes/addons/wb_product_tags.php:151 3606 3606 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:458 3607 3607 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:229 3608 3608 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:485 3609 3609 msgid "Margin" 3610 3610 msgstr "" 3611 3611 3612 3612 #: includes/addons/wb_image_marker.php:76 3613 3613 #: includes/addons/wb_image_marker.php:186 3614 3614 msgid "Marker" 3615 3615 msgstr "" 3616 3616 3617 3617 #: includes/addons/wb_image_marker.php:102 3618 3618 #: includes/addons/wb_image_marker.php:164 3619 3619 msgid "Marker #1" 3620 3620 msgstr "" 3621 3621 3622 3622 #: includes/addons/wb_image_marker.php:109 3623 3623 msgid "Marker Content" 3624 3624 msgstr "" 3625 3625 3626 3626 #: includes/addons/wb_image_marker.php:100 3627 3627 msgid "Marker Title" 3628 3628 msgstr "" 3629 3629 3630 3630 #: includes/addons/wl_product_horizontal_filter.php:202 3631 3631 msgid "Max Price" 3632 3632 msgstr "" 3633 3633 3634 3634 #: includes/addons/wl_product_filter.php:915 3635 3635 msgid "Max price" 3636 3636 msgstr "" 3637 3637 3638 3638 #: includes/addons/wl_product_horizontal_filter.php:141 3639 3639 msgid "Max Width" 3640 3640 msgstr "" 3641 3641 3642 3642 #: includes/addons/wb_product_upsell.php:72 3643 3643 #: includes/addons/wb_archive_product.php:133 3644 3644 #: includes/addons/wb_product_related.php:87 3645 3645 #: includes/addons/wl_category.php:156 includes/addons/wl_category_grid.php:149 3646 3646 msgid "Menu Order" 3647 3647 msgstr "" 3648 3648 3649 3649 #: includes/addons/wb_product_suggest_price.php:155 3650 3650 msgid "Message" 3651 3651 msgstr "" 3652 3652 3653 3653 #: includes/addons/wb_product_suggest_price.php:141 3654 3654 msgid "Message Field Placeholder" 3655 3655 msgstr "" 3656 3656 3657 3657 #: includes/addons/wb_product_meta.php:43 3658 3658 msgid "Meta" 3659 3659 msgstr "" 3660 3660 3661 3661 #: includes/addons/product_flash_sale.php:1031 3662 3662 #: includes/modules/flash-sale/class.flash-sale.php:449 3663 3663 msgid "Min" 3664 3664 msgstr "" 3665 3665 3666 3666 #: includes/addons/wl_product_horizontal_filter.php:193 3667 3667 msgid "Min Price" 3668 3668 msgstr "" 3669 3669 3670 3670 #: includes/addons/wl_product_filter.php:914 3671 3671 msgid "Min price" 3672 3672 msgstr "" 3673 3673 3674 3674 #: includes/addons/wl_product_horizontal_filter.php:114 3675 3675 msgid "Min Width" 3676 3676 msgstr "" 3677 3677 3678 3678 #: includes/addons/wb_product_add_to_cart.php:120 3679 3679 msgid "Minus Icon" 3680 3680 msgstr "" 3681 3681 3682 3682 #: includes/addons/wb_product_add_to_cart.php:183 3683 3683 #: includes/addons/wb_product_add_to_cart.php:281 3684 3684 msgid "Minus Icon Color" 3685 3685 msgstr "" 3686 3686 3687 3687 #: includes/addons/product_flash_sale.php:291 3688 3688 #: includes/addons/product_flash_sale.php:293 3689 3689 msgid "Minutes" 3690 3690 msgstr "" 3691 3691 3692 3692 #: includes/admin/templates/dashboard-welcome.php:52 3693 3693 msgid "Missing any Feature?" 3694 3694 msgstr "" 3695 3695 3696 3696 #: includes/addons/product_tabs.php:84 3697 3697 msgid "Mixed order Products" 3698 3698 msgstr "" 3699 3699 3700 3700 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:433 3701 3701 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:597 3702 3702 msgid "Mobile" 3703 3703 msgstr "" 3704 3704 3705 3705 #: includes/addons/wl_testimonial.php:431 includes/addons/product_tabs.php:582 3706 3706 #: includes/addons/wl_category_grid.php:456 3707 3707 msgid "Mobile Phone" 3708 3708 msgstr "" 3709 3709 3710 3710 #: includes/addons/wl_testimonial.php:462 includes/addons/product_tabs.php:615 3711 3711 #: includes/addons/wl_category_grid.php:487 3712 3712 msgid "Mobile Resolution" 3713 3713 msgstr "" 3714 3714 3715 3715 #: includes/admin/templates/dashboard-freevspro.php:255 3716 3716 msgid "Module" 3717 3717 msgstr "" 3718 3718 3719 3719 #: includes/modules/currency-switcher/includes/classes/Admin/Actions.php:37 3720 3720 msgid "Module Setting page" 3721 3721 msgstr "" 3722 3722 3723 3723 #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:754 3724 3724 msgid "More" 3725 3725 msgstr "" 3726 3726 3727 3727 #: includes/admin/include/class.extension-manager.php:187 3728 3728 #: includes/admin/include/class.extension-manager.php:255 3729 3729 msgid "More Details" 3730 3730 msgstr "" 3731 3731 3732 3732 #: includes/admin/include/class.extension-manager.php:77 3733 3733 msgid "Multi Currency" 3734 3734 msgstr "" 3735 3735 3736 3736 #: includes/admin/include/class.extension-manager.php:105 3737 3737 msgid "Multi Currency Pro for WooCommerce" 3738 3738 msgstr "" 3739 3739 3740 3740 #: includes/admin/templates/dashboard-freevspro.php:177 3741 3741 msgid "Multi Step Checkout" 3742 3742 msgstr "" 3743 3743 3744 3744 #: includes/admin/include/class.extension-manager.php:108 3745 3745 msgid "" 3746 3746 "Multi-Currency Pro for WooCommerce is a prominent currency switcher plugin " 3747 3747 "for WooCommerce. This plugin allows your website or online store visitors to " 3748 3748 "switch to their preferred currency or their country’s currency." 3749 3749 msgstr "" 3750 3750 3751 3751 #: includes/addons/wb_wc_multicurrency.php:48 3752 3752 msgid "MultiCurrency" 3753 3753 msgstr "" 3754 3754 3755 3755 #: includes/addons/wl_category_grid.php:74 3756 3756 msgid "Multiple Categories" 3757 3757 msgstr "" 3758 3758 3759 3759 #: classes/class.default_data.php:374 classes/class.default_data.php:396 3760 3760 #: includes/addons/wb_product_sku.php:168 3761 3761 msgid "N/A" 3762 3762 msgstr "" 3763 3763 3764 #: includes/helper-function.php:12 73includes/addons/product_flash_sale.php:1353764 #: includes/helper-function.php:1287 includes/addons/product_flash_sale.php:135 3765 3765 #: includes/addons/wl_testimonial.php:82 includes/addons/wl_testimonial.php:576 3766 3766 #: includes/addons/product_image_accordion.php:148 3767 3767 #: includes/addons/product_accordion.php:169 3768 3768 #: includes/addons/wl_category.php:153 includes/addons/product_curvy.php:204 3769 3769 #: includes/addons/wb_customer_review.php:80 3770 3770 #: includes/addons/wb_customer_review.php:392 3771 3771 #: includes/addons/product_tabs.php:163 3772 3772 #: includes/addons/wl_category_grid.php:146 3773 3773 #: includes/admin/include/class.template-manager.php:453 3774 3774 #: includes/admin/templates/dashboard-freevspro.php:260 3775 3775 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:564 3776 3776 msgid "Name" 3777 3777 msgstr "" 3778 3778 3779 3779 #: includes/addons/wb_product_suggest_price.php:119 3780 3780 msgid "Name Field Placeholder" 3781 3781 msgstr "" 3782 3782 3783 3783 #: includes/addons/wl_testimonial.php:970 includes/addons/product_tabs.php:765 3784 3784 #: includes/addons/wl_category_grid.php:979 3785 3785 msgid "Navigation" 3786 3786 msgstr "" 3787 3787 3788 3788 #: includes/addons/wl_testimonial.php:813 includes/addons/product_tabs.php:650 3789 3789 #: includes/addons/wl_category_grid.php:822 3790 3790 msgid "Navigation Arrow" 3791 3791 msgstr "" 3792 3792 3793 3793 #: includes/addons/wl_testimonial.php:898 3794 3794 #: includes/addons/wl_testimonial.php:1021 includes/addons/product_tabs.php:714 3795 3795 #: includes/addons/product_tabs.php:818 3796 3796 #: includes/addons/wl_category_grid.php:907 3797 3797 #: includes/addons/wl_category_grid.php:1030 3798 3798 msgid "Navigation Dots" 3799 3799 msgstr "" 3800 3800 3801 3801 #: includes/custom-metabox.php:73 3802 3802 msgid "New" 3803 3803 msgstr "" 3804 3804 3805 3805 #: includes/admin/include/class.template_cpt.php:55 3806 3806 msgid "New Template" 3807 3807 msgstr "" 3808 3808 3809 3809 #: includes/addons/wl_testimonial.php:204 3810 3810 #: includes/addons/wb_customer_review.php:192 3811 3811 #: includes/addons/wl_recently_viewed_products.php:84 3812 3812 #: includes/addons/wl_category_grid.php:260 3813 3813 msgid "Nine" 3814 3814 msgstr "" 3815 3815 3816 3816 #: includes/admin/include/class.template-manager.php:137 3817 3817 msgid "NO" 3818 3818 msgstr "" 3819 3819 3820 3820 #: includes/addons/wl_faq.php:114 includes/addons/wl_faq.php:193 3821 3821 #: includes/addons/wl_faq.php:206 includes/addons/wl_testimonial.php:218 3822 3822 #: includes/addons/wl_testimonial.php:332 includes/addons/wl_category.php:184 3823 3823 #: includes/addons/wb_customer_review.php:206 3824 3824 #: includes/addons/wl_recently_viewed_products.php:121 3825 3825 #: includes/addons/product_tabs.php:477 3826 3826 #: includes/addons/wl_category_grid.php:177 3827 3827 #: includes/addons/wl_category_grid.php:201 3828 3828 #: includes/addons/wl_category_grid.php:216 3829 3829 #: includes/addons/wl_category_grid.php:274 3830 3830 #: includes/addons/wl_category_grid.php:358 3831 3831 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:63 3832 3832 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:91 3833 3833 msgid "No" 3834 3834 msgstr "" 3835 3835 3836 3836 #: includes/addons/wl_testimonial.php:215 3837 3837 #: includes/addons/wb_customer_review.php:203 3838 3838 #: includes/addons/wl_category_grid.php:271 3839 3839 msgid "No Gutters" 3840 3840 msgstr "" 3841 3841 3842 3842 #: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:435 3843 3843 #: includes/modules/variation-swatch/includes/ajax-actions.php:118 3844 3844 #: includes/modules/variation-swatch/includes/ajax-actions.php:145 3845 3845 #: includes/modules/variation-swatch/includes/ajax-actions.php:176 3846 3846 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:327 3847 3847 msgid "No naughty business please!" 3848 3848 msgstr "" 3849 3849 3850 3850 #: includes/addons/wl_product_filter.php:103 3851 3851 msgid "No Order label" 3852 3852 msgstr "" 3853 3853 3854 #: includes/helper-function.php:15 183854 #: includes/helper-function.php:1532 3855 3855 msgid "No products were found matching your selection." 3856 3856 msgstr "" 3857 3857 3858 3858 #: classes/class.default_data.php:316 3859 3859 msgid "No Rating Available" 3860 3860 msgstr "" 3861 3861 3862 3862 #: classes/class.default_data.php:543 3863 3863 msgid "No related products are available." 3864 3864 msgstr "" 3865 3865 3866 3866 #: includes/modules/ajax-search/base.php:85 3867 3867 msgid "No Results Found" 3868 3868 msgstr "" 3869 3869 3870 #: includes/helper-function.php:4 513870 #: includes/helper-function.php:465 3871 3871 msgid "No saved templates found." 3872 3872 msgstr "" 3873 3873 3874 3874 #. $s shipping destination. 3875 3875 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:56 3876 3876 #, php-format 3877 3877 msgid "No shipping options were found for %s." 3878 3878 msgstr "" 3879 3879 3880 3880 #: classes/class.default_data.php:514 3881 3881 msgid "No upsell products are available." 3882 3882 msgstr "" 3883 3883 3884 3884 #: includes/admin/include/diagnostic-data.php:497 3885 3885 msgid "No, Thanks" 3886 3886 msgstr "" 3887 3887 3888 3888 #: includes/admin/include/diagnostic-data.php:168 3889 3889 msgid "Nonce Varification fail" 3890 3890 msgstr "" 3891 3891 3892 3892 #: includes/admin/include/template-library.php:155 3893 3893 #: includes/admin/include/template-library.php:286 3894 3894 #: includes/admin/include/template-library.php:331 3895 #: includes/admin/include/class.template-manager.php:5 143896 #: includes/admin/include/class.template-manager.php: 6903897 #: includes/admin/include/class.template-manager.php:7 283898 #: includes/admin/include/class.template-manager.php:8 373895 #: includes/admin/include/class.template-manager.php:521 3896 #: includes/admin/include/class.template-manager.php:704 3897 #: includes/admin/include/class.template-manager.php:749 3898 #: includes/admin/include/class.template-manager.php:865 3899 3899 #: includes/modules/sales-notification/class.sale_notification.php:36 3900 3900 msgid "Nonce Varification Faild !" 3901 3901 msgstr "" 3902 3902 3903 #: includes/helper-function.php:12 70includes/addons/product_flash_sale.php:1323903 #: includes/helper-function.php:1284 includes/addons/product_flash_sale.php:132 3904 3904 #: includes/addons/product_image_accordion.php:145 3905 3905 #: includes/addons/product_accordion.php:166 3906 3906 #: includes/addons/product_curvy.php:201 3907 3907 #: includes/addons/wl_product_filter.php:106 3908 3908 #: includes/addons/product_tabs.php:160 3909 3909 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:216 3910 3910 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:241 3911 3911 msgid "None" 3912 3912 msgstr "" 3913 3913 3914 3914 #: includes/addons/wl_faq.php:378 includes/addons/wl_faq.php:625 3915 3915 #: includes/addons/product_flash_sale.php:653 3916 3916 #: includes/addons/wl_product_horizontal_filter.php:651 3917 3917 #: includes/addons/wl_product_horizontal_filter.php:832 3918 3918 #: includes/addons/special_day_offer.php:633 3919 3919 #: includes/addons/wl_testimonial.php:806 3920 3920 #: includes/addons/wl_store_features.php:313 3921 3921 #: includes/addons/wb_product_data_tab.php:95 3922 3922 #: includes/addons/wb_archive_product.php:320 3923 3923 #: includes/addons/wb_archive_product.php:378 3924 3924 #: includes/addons/wb_archive_product.php:552 3925 3925 #: includes/addons/wb_archive_product.php:702 3926 3926 #: includes/addons/product_image_accordion.php:533 3927 3927 #: includes/addons/wb_product_call_for_price.php:85 3928 3928 #: includes/addons/product_accordion.php:612 3929 3929 #: includes/addons/product_curvy.php:747 3930 3930 #: includes/addons/wb_product_suggest_price.php:405 3931 3931 #: includes/addons/wb_product_suggest_price.php:558 3932 3932 #: includes/addons/wb_product_suggest_price.php:701 3933 3933 #: includes/addons/wl_product_filter.php:330 3934 3934 #: includes/addons/wl_product_filter.php:437 3935 3935 #: includes/addons/wl_product_filter.php:700 3936 3936 #: includes/addons/wl_recently_viewed_products.php:440 3937 3937 #: includes/addons/wb_wishsuite_table.php:379 3938 3938 #: includes/addons/product_tabs.php:277 includes/addons/product_tabs.php:643 3939 3939 #: includes/addons/product_tabs.php:879 includes/addons/product_tabs.php:1136 3940 3940 #: includes/addons/wb_product_add_to_cart.php:176 3941 3941 #: includes/addons/wb_product_add_to_cart.php:544 3942 3942 #: includes/addons/wb_product_add_to_cart.php:910 3943 3943 #: includes/addons/wb_product_add_to_cart.php:1043 3944 3944 #: includes/addons/wl_category_grid.php:815 3945 3945 msgid "Normal" 3946 3946 msgstr "" 3947 3947 3948 3948 #: includes/admin/include/class.template_cpt.php:61 3949 3949 msgid "Not found" 3950 3950 msgstr "" 3951 3951 3952 3952 #: includes/admin/include/class.template_cpt.php:62 3953 3953 msgid "Not found in Trash" 3954 3954 msgstr "" 3955 3955 3956 3956 #: woolentor-blocks/src/blocks/product-reviews/index.php:41 3957 3957 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:41 3958 3958 msgid "Not that bad" 3959 3959 msgstr "" 3960 3960 3961 3961 #: classes/class.assest_management.php:362 3962 3962 msgid "Nothing Found" 3963 3963 msgstr "" 3964 3964 3965 3965 #: includes/addons/product_flash_sale.php:574 3966 3966 #: includes/addons/product_flash_sale.php:823 3967 3967 msgid "Number Color" 3968 3968 msgstr "" 3969 3969 3970 3970 #: includes/addons/product_tabs.php:124 3971 3971 msgid "Number of Products" 3972 3972 msgstr "" 3973 3973 3974 3974 #: includes/addons/wb_ever_compare_table.php:113 3975 3975 #: includes/addons/wb_ever_compare_table.php:119 3976 3976 msgid "Odd Heading Background" 3977 3977 msgstr "" 3978 3978 3979 3979 #: includes/addons/wl_product_horizontal_filter.php:1165 3980 3980 msgid "of" 3981 3981 msgstr "" 3982 3982 3983 3983 #: includes/addons/special_day_offer.php:124 3984 3984 msgid "Off" 3985 3985 msgstr "" 3986 3986 3987 3987 #: includes/addons/special_day_offer.php:113 3988 3988 #: includes/addons/special_day_offer.php:502 3989 3989 msgid "Offer Amount" 3990 3990 msgstr "" 3991 3991 3992 3992 #: includes/addons/special_day_offer.php:122 3993 3993 #: includes/addons/special_day_offer.php:561 3994 3994 msgid "Offer Tag Line" 3995 3995 msgstr "" 3996 3996 3997 3997 #: includes/addons/wb_product_price.php:85 3998 3998 msgid "Old Price" 3999 3999 msgstr "" 4000 4000 4001 4001 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:252 4002 4002 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:139 4003 4003 msgid "On Click" 4004 4004 msgstr "" 4005 4005 4006 4006 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:269 4007 4007 msgid "On Click Specific Element" 4008 4008 msgstr "" 4009 4009 4010 4010 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:193 4011 4011 msgid "On Exit Intent" 4012 4012 msgstr "" 4013 4013 4014 4014 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:175 4015 4015 msgid "On Inactivity" 4016 4016 msgstr "" 4017 4017 4018 4018 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:303 4019 4019 msgid "On Page Exit Intent" 4020 4020 msgstr "" 4021 4021 4022 4022 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:197 4023 4023 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:95 4024 4024 msgid "On Page Load" 4025 4025 msgstr "" 4026 4026 4027 4027 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:215 4028 4028 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:111 4029 4029 msgid "On Scroll" 4030 4030 msgstr "" 4031 4031 4032 4032 #: includes/addons/wl_testimonial.php:196 4033 4033 #: includes/addons/wb_customer_review.php:184 4034 4034 #: includes/addons/wl_recently_viewed_products.php:76 4035 4035 #: includes/addons/wl_category_grid.php:252 4036 4036 msgid "One" 4037 4037 msgstr "" 4038 4038 4039 4039 #: classes/class.widgets_control.php:252 4040 4040 msgid "One Page Slider" 4041 4041 msgstr "" 4042 4042 4043 4043 #: includes/addons/wb_product_add_to_cart.php:154 4044 4044 msgid "Only for Quantity Label." 4045 4045 msgstr "" 4046 4046 4047 4047 #: includes/addons/wb_product_add_to_cart.php:448 4048 4048 msgid "Only for quantity plus, minus button and input number" 4049 4049 msgstr "" 4050 4050 4051 4051 #: includes/addons/wb_product_add_to_cart.php:499 4052 4052 msgid "Only for wishlist and compare button." 4053 4053 msgstr "" 4054 4054 4055 4055 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:546 4056 4056 msgid "Only show if the URL has specific keyword" 4057 4057 msgstr "" 4058 4058 4059 4059 #: includes/addons/wb_image_marker.php:60 4060 4060 msgid "Opacity Color" 4061 4061 msgstr "" 4062 4062 4063 4063 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:278 4064 4064 msgid "Open Animation" 4065 4065 msgstr "" 4066 4066 4067 4067 #: includes/addons/wb_product_suggest_price.php:547 4068 4068 msgid "Open Button" 4069 4069 msgstr "" 4070 4070 4071 4071 #: includes/addons/wb_product_suggest_price.php:61 4072 4072 msgid "Open Button Text" 4073 4073 msgstr "" 4074 4074 4075 4075 #: includes/addons/wl_faq.php:123 includes/addons/wl_faq.php:215 4076 4076 msgid "Open Icon" 4077 4077 msgstr "" 4078 4078 4079 4079 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:185 4080 4080 msgid "Open popup" 4081 4081 msgstr "" 4082 4082 4083 4083 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:456 4084 4084 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:621 4085 4085 msgid "Opera" 4086 4086 msgstr "" 4087 4087 4088 4088 #: includes/addons/wb_customer_review.php:173 4089 4089 msgid "Option" 4090 4090 msgstr "" 4091 4091 4092 4092 #: includes/addons/product_flash_sale.php:149 4093 4093 #: includes/addons/wb_product_upsell.php:80 4094 4094 #: includes/addons/wb_archive_product.php:144 4095 4095 #: includes/addons/wb_product_related.php:95 4096 4096 #: includes/addons/wl_category.php:133 4097 4097 #: includes/addons/wl_recently_viewed_products.php:59 4098 4098 #: includes/addons/product_tabs.php:177 4099 4099 #: includes/addons/wl_category_grid.php:125 4100 4100 msgid "Order" 4101 4101 msgstr "" 4102 4102 4103 4103 #: includes/addons/product_image_accordion.php:162 4104 4104 #: includes/addons/product_accordion.php:183 4105 4105 #: includes/addons/product_curvy.php:218 4106 4106 msgid "order" 4107 4107 msgstr "" 4108 4108 4109 4109 #: includes/admin/templates/dashboard-freevspro.php:141 4110 4110 msgid "Order Bump" 4111 4111 msgstr "" 4112 4112 4113 4113 #: includes/addons/wl_product_horizontal_filter.php:45 4114 4114 #: includes/addons/wl_product_horizontal_filter.php:174 4115 4115 #: includes/addons/wl_product_horizontal_filter.php:175 4116 4116 #: includes/addons/wb_product_upsell.php:62 4117 4117 #: includes/addons/wb_product_related.php:77 4118 4118 #: includes/addons/wl_product_filter.php:46 4119 4119 msgid "Order By" 4120 4120 msgstr "" 4121 4121 4122 4122 #: includes/addons/product_flash_sale.php:128 4123 4123 #: includes/addons/wb_archive_product.php:123 4124 4124 #: includes/addons/product_image_accordion.php:141 4125 4125 #: includes/addons/product_accordion.php:162 4126 4126 #: includes/addons/product_curvy.php:197 includes/addons/product_tabs.php:156 4127 4127 msgid "Order by" 4128 4128 msgstr "" 4129 4129 4130 4130 #: includes/addons/wb_archive_catalog_ordering.php:107 4131 4131 msgid "Order Radius" 4132 4132 msgstr "" 4133 4133 4134 4134 #: includes/addons/wl_category.php:148 includes/addons/wl_category_grid.php:141 4135 4135 msgid "Orderby" 4136 4136 msgstr "" 4137 4137 4138 4138 #: includes/addons/wb_archive_catalog_ordering.php:44 4139 4139 msgid "Ordering" 4140 4140 msgstr "" 4141 4141 4142 4142 #: includes/addons/product_flash_sale.php:594 4143 4143 msgid "Others" 4144 4144 msgstr "" 4145 4145 4146 4146 #: includes/admin/templates/dashboard-popup.php:13 4147 4147 msgid "" 4148 4148 "Our free version is great, but it doesn't have all our advanced features. " 4149 4149 "The best way to unlock all of the features in our plugin is by purchasing " 4150 4150 "the pro version." 4151 4151 msgstr "" 4152 4152 4153 #: includes/helper-function.php: 991 includes/helper-function.php:10394153 #: includes/helper-function.php:1005 includes/helper-function.php:1053 4154 4154 msgid "Out of stock" 4155 4155 msgstr "" 4156 4156 4157 4157 #: includes/addons/wl_recently_viewed_products.php:603 4158 4158 msgid "Out of Stock Badge Color" 4159 4159 msgstr "" 4160 4160 4161 #: includes/helper-function.php:6 364161 #: includes/helper-function.php:650 4162 4162 msgid "p" 4163 4163 msgstr "" 4164 4164 4165 4165 #: includes/addons/wl_faq.php:326 includes/addons/wl_faq.php:395 4166 4166 #: includes/addons/wl_faq.php:513 includes/addons/wl_faq.php:598 4167 4167 #: includes/addons/product_flash_sale.php:398 4168 4168 #: includes/addons/wl_product_horizontal_filter.php:376 4169 4169 #: includes/addons/wl_product_horizontal_filter.php:462 4170 4170 #: includes/addons/wl_product_horizontal_filter.php:529 4171 4171 #: includes/addons/wl_product_horizontal_filter.php:627 4172 4172 #: includes/addons/wl_onepage_slider.php:303 4173 4173 #: includes/addons/special_day_offer.php:310 4174 4174 #: includes/addons/special_day_offer.php:369 4175 4175 #: includes/addons/special_day_offer.php:428 4176 4176 #: includes/addons/special_day_offer.php:487 4177 4177 #: includes/addons/special_day_offer.php:546 4178 4178 #: includes/addons/special_day_offer.php:605 4179 4179 #: includes/addons/special_day_offer.php:691 4180 4180 #: includes/addons/wl_testimonial.php:504 4181 4181 #: includes/addons/wl_testimonial.php:617 4182 4182 #: includes/addons/wl_testimonial.php:673 4183 4183 #: includes/addons/wl_testimonial.php:729 4184 4184 #: includes/addons/wl_testimonial.php:886 4185 4185 #: includes/addons/wl_store_features.php:351 4186 4186 #: includes/addons/wl_store_features.php:427 4187 4187 #: includes/addons/wb_product_data_tab.php:73 4188 4188 #: includes/addons/wb_archive_product.php:200 4189 4189 #: includes/addons/wb_archive_product.php:347 4190 4190 #: includes/addons/wb_archive_product.php:626 4191 4191 #: includes/addons/wb_archive_product.php:721 4192 4192 #: includes/addons/wb_archive_product.php:863 includes/addons/wb_whols.php:76 4193 4193 #: includes/addons/wb_product_call_for_price.php:112 4194 4194 #: includes/addons/wb_product_description.php:112 4195 4195 #: includes/addons/product_accordion.php:345 4196 4196 #: includes/addons/wl_product_video_gallery.php:193 4197 4197 #: includes/addons/wl_brand.php:270 4198 4198 #: includes/addons/wb_product_suggest_price.php:258 4199 4199 #: includes/addons/wb_product_suggest_price.php:357 4200 4200 #: includes/addons/wb_product_suggest_price.php:455 4201 4201 #: includes/addons/wb_product_suggest_price.php:585 4202 4202 #: includes/addons/wb_product_suggest_price.php:728 4203 4203 #: includes/addons/wl_product_filter.php:220 4204 4204 #: includes/addons/wl_product_filter.php:306 4205 4205 #: includes/addons/wl_product_filter.php:479 4206 4206 #: includes/addons/wl_product_filter.php:750 4207 4207 #: includes/addons/wb_image_marker.php:236 4208 4208 #: includes/addons/wb_image_marker.php:289 4209 4209 #: includes/addons/wb_customer_review.php:313 4210 4210 #: includes/addons/wb_customer_review.php:433 4211 4211 #: includes/addons/wb_customer_review.php:489 4212 4212 #: includes/addons/wb_customer_review.php:545 4213 4213 #: includes/addons/wl_recently_viewed_products.php:203 4214 4214 #: includes/addons/wl_recently_viewed_products.php:273 4215 4215 #: includes/addons/wl_recently_viewed_products.php:425 4216 4216 #: includes/addons/wl_recently_viewed_products.php:645 4217 4217 #: includes/addons/wl_recently_viewed_products.php:709 4218 4218 #: includes/addons/wb_wishsuite_table.php:364 4219 4219 #: includes/addons/product_tabs.php:702 4220 4220 #: includes/addons/wb_product_add_to_cart.php:396 4221 4221 #: includes/addons/wb_product_add_to_cart.php:733 4222 4222 #: includes/addons/wb_product_add_to_cart.php:1071 4223 4223 #: includes/addons/wl_category_grid.php:508 4224 4224 #: includes/addons/wl_category_grid.php:895 4225 4225 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:466 4226 4226 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:248 4227 4227 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:165 4228 4228 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:471 4229 4229 msgid "Padding" 4230 4230 msgstr "" 4231 4231 4232 4232 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:103 4233 4233 msgid "Page Load Delay (ms)" 4234 4234 msgstr "" 4235 4235 4236 4236 #: includes/addons/wl_onepage_slider.php:499 4237 4237 #: includes/addons/wb_archive_product.php:90 4238 4238 #: includes/addons/wb_archive_product.php:689 4239 4239 msgid "Pagination" 4240 4240 msgstr "" 4241 4241 4242 4242 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:388 4243 4243 msgid "Parameter " 4244 4244 msgstr "" 4245 4245 4246 4246 #: includes/addons/wl_category.php:155 includes/addons/wl_category_grid.php:148 4247 4247 msgid "Parent" 4248 4248 msgstr "" 4249 4249 4250 4250 #: includes/admin/include/class.template_cpt.php:51 4251 4251 msgid "Parent Item:" 4252 4252 msgstr "" 4253 4253 4254 4254 #: includes/admin/templates/dashboard-freevspro.php:157 4255 4255 msgid "Partial Payment" 4256 4256 msgstr "" 4257 4257 4258 4258 #: includes/modules/shopify-like-checkout/templates/form-login.php:28 4259 4259 #: includes/modules/shopify-like-checkout/templates/form-login.php:29 4260 4260 msgid "Password" 4261 4261 msgstr "" 4262 4262 4263 4263 #: includes/addons/wl_testimonial.php:336 includes/addons/product_tabs.php:481 4264 4264 #: includes/addons/wl_category_grid.php:362 4265 4265 msgid "Pause on Hover?" 4266 4266 msgstr "" 4267 4267 4268 4268 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:55 4269 4269 msgid "Payment" 4270 4270 msgstr "" 4271 4271 4272 4272 #: woolentor-blocks/src/blocks/product-reviews/index.php:38 4273 4273 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:38 4274 4274 msgid "Perfect" 4275 4275 msgstr "" 4276 4276 4277 4277 #: includes/addons/wb_customer_review.php:150 4278 4278 msgid "Peter Rose" 4279 4279 msgstr "" 4280 4280 4281 4281 #: includes/base.php:176 4282 4282 msgid "PHP" 4283 4283 msgstr "" 4284 4284 4285 4285 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:68 4286 4286 msgid "Place order" 4287 4287 msgstr "" 4288 4288 4289 4289 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:131 4290 4290 msgid "" 4291 4291 "Place the image size name here. WordPress default image sizes are: thumbnail," 4292 4292 " medium, medium_large, large and full. Custom image size also can be used. " 4293 4293 "Default is: thumbnail" 4294 4294 msgstr "" 4295 4295 4296 4296 #: includes/admin/include/template-library/popup-template.php:33 4297 4297 msgctxt "placeholder" 4298 4298 msgid "Enter a Page Name" 4299 4299 msgstr "" 4300 4300 4301 4301 #: includes/addons/wl_product_filter.php:852 4302 4302 msgctxt "placeholder" 4303 4303 msgid "Search Products…" 4304 4304 msgstr "" 4305 4305 4306 4306 #: includes/addons/wl_product_horizontal_filter.php:715 4307 4307 #: includes/addons/wb_product_suggest_price.php:211 4308 4308 #: includes/addons/wb_product_suggest_price.php:313 4309 4309 msgid "Placeholder Color" 4310 4310 msgstr "" 4311 4311 4312 4312 #: includes/admin/templates/dashboard-welcome.php:42 4313 4313 msgid "" 4314 4314 "Please do not hesitate to contact us if you require assistance or want a " 4315 4315 "free store set-up. We will assist you within 12-24 hours of receiving your " 4316 4316 "inquiry." 4317 4317 msgstr "" 4318 4318 4319 4319 #: includes/addons/wb_product_suggest_price.php:132 4320 4320 #: includes/addons/wb_product_suggest_price.php:133 4321 4321 msgid "Please Enter your email" 4322 4322 msgstr "" 4323 4323 4324 4324 #: includes/addons/wb_product_suggest_price.php:121 4325 4325 #: includes/addons/wb_product_suggest_price.php:122 4326 4326 msgid "Please Enter your name" 4327 4327 msgstr "" 4328 4328 4329 4329 #: includes/modules/shopify-like-checkout/templates/payment.php:21 4330 4330 msgid "Please fill in your details above to see available payment methods." 4331 4331 msgstr "" 4332 4332 4333 4333 #: includes/addons/wl_product_filter.php:1037 4334 4334 msgid "Please Select Filter Type" 4335 4335 msgstr "" 4336 4336 4337 4337 #: includes/modules/variation-swatch/includes/Frontend.php:132 4338 4338 msgid "" 4339 4339 "Please select some product options before adding this product to your cart." 4340 4340 msgstr "" 4341 4341 4342 4342 #: includes/admin/include/template-library.php:295 4343 4343 msgid "Plugin Not Found" 4344 4344 msgstr "" 4345 4345 4346 4346 #: includes/admin/include/template-library.php:315 4347 4347 msgid "Plugin Successfully Activated" 4348 4348 msgstr "" 4349 4349 4350 4350 #: includes/addons/wb_product_add_to_cart.php:105 4351 4351 msgid "Plus Icon" 4352 4352 msgstr "" 4353 4353 4354 4354 #: includes/addons/wb_product_add_to_cart.php:202 4355 4355 #: includes/addons/wb_product_add_to_cart.php:299 4356 4356 msgid "Plus Icon Color" 4357 4357 msgstr "" 4358 4358 4359 4359 #: includes/addons/wb_product_upsell.php:69 4360 4360 #: includes/addons/wb_archive_product.php:130 4361 4361 #: includes/addons/wb_product_related.php:84 4362 4362 msgid "Popularity" 4363 4363 msgstr "" 4364 4364 4365 4365 #: includes/modules/popup-builder/includes/admin/class-manage-post-type.php:38 4366 4366 #: includes/modules/popup-builder/includes/admin/class-manage-post-type.php:53 4367 4367 msgid "Popup" 4368 4368 msgstr "" 4369 4369 4370 4370 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:400 4371 4371 msgid "Popup Area" 4372 4372 msgstr "" 4373 4373 4374 4374 #: includes/admin/templates/dashboard-freevspro.php:137 4375 4375 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:44 4376 4376 msgid "Popup Builder" 4377 4377 msgstr "" 4378 4378 4379 4379 #: includes/modules/popup-builder/includes/class-widgets.php:43 4380 4380 #: includes/modules/popup-builder/includes/class-widgets.php:82 4381 4381 msgid "Popup Close Trigger Button" 4382 4382 msgstr "" 4383 4383 4384 4384 #: includes/modules/popup-builder/includes/class-assets.php:79 4385 4385 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:95 4386 4386 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:60 4387 4387 msgid "Popup Settings" 4388 4388 msgstr "" 4389 4389 4390 4390 #: includes/addons/product_flash_sale.php:202 4391 4391 #: includes/addons/wl_testimonial.php:821 4392 4392 #: includes/addons/wl_testimonial.php:906 4393 4393 #: includes/addons/wb_archive_product.php:895 4394 4394 #: includes/addons/wl_recently_viewed_products.php:558 4395 4395 #: includes/addons/wb_product_add_to_cart.php:497 4396 4396 #: includes/addons/wl_category_grid.php:830 4397 4397 #: includes/addons/wl_category_grid.php:915 4398 4398 msgid "Position" 4399 4399 msgstr "" 4400 4400 4401 4401 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:421 4402 4402 msgid "Position Horizontal" 4403 4403 msgstr "" 4404 4404 4405 4405 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:408 4406 4406 msgid "Position Vertical" 4407 4407 msgstr "" 4408 4408 4409 4409 #: woolentor-blocks/includes/classes/Manage_Styles.php:100 4410 4410 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:100 4411 4411 msgid "Post Data found." 4412 4412 msgstr "" 4413 4413 4414 4414 #: woolentor-blocks/includes/classes/Manage_Styles.php:105 4415 4415 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:105 4416 4416 msgid "Post Data not found." 4417 4417 msgstr "" 4418 4418 4419 4419 #: includes/admin/templates/dashboard-freevspro.php:133 4420 4420 msgid "Post Duplicator" 4421 4421 msgstr "" 4422 4422 4423 #: includes/admin/include/class.template-manager.php:5 484423 #: includes/admin/include/class.template-manager.php:555 4424 4424 msgid "Post request dose not found" 4425 4425 msgstr "" 4426 4426 4427 4427 #: includes/admin/include/class.template_cpt.php:45 4428 4428 msgctxt "Post Type General Name" 4429 4429 msgid "Template Builder" 4430 4430 msgstr "" 4431 4431 4432 4432 #: includes/admin/include/class.template_cpt.php:46 4433 4433 msgctxt "Post Type Singular Name" 4434 4434 msgid "Template Builder" 4435 4435 msgstr "" 4436 4436 4437 4437 #: includes/admin/templates/dashboard-freevspro.php:161 4438 4438 msgid "Pre Orders" 4439 4439 msgstr "" 4440 4440 4441 4441 #: classes/class.assest_management.php:370 4442 4442 #: includes/admin/include/admin_field-manager.php:352 4443 4443 #: includes/admin/include/admin_field-manager.php:487 4444 4444 msgid "Preview" 4445 4445 msgstr "" 4446 4446 4447 4447 #: includes/addons/wb_product_price.php:44 4448 4448 #: includes/addons/wl_product_horizontal_filter.php:43 4449 4449 #: includes/addons/wb_product_upsell.php:68 4450 4450 #: includes/addons/wb_archive_product.php:129 4451 4451 #: includes/addons/wb_archive_product.php:405 4452 4452 #: includes/addons/wb_product_related.php:83 4453 4453 #: includes/addons/wl_product_filter.php:44 4454 4454 #: includes/addons/wl_recently_viewed_products.php:362 4455 4455 #: includes/addons/wb_wishsuite_table.php:175 4456 4456 msgid "Price" 4457 4457 msgstr "" 4458 4458 4459 4459 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:329 4460 4460 msgid "price" 4461 4461 msgstr "" 4462 4462 4463 4463 #: includes/modules/sales-notification/class.sale_notification.php:239 4464 4464 msgid "Price :" 4465 4465 msgstr "" 4466 4466 4467 4467 #: includes/addons/wb_product_price.php:51 4468 4468 #: includes/addons/wb_product_price.php:92 4469 4469 #: includes/addons/wl_product_filter.php:677 4470 4470 msgid "Price Color" 4471 4471 msgstr "" 4472 4472 4473 4473 #: includes/addons/product_tabs.php:1020 4474 4474 msgid "Price color" 4475 4475 msgstr "" 4476 4476 4477 4477 #: classes/class.default_data.php:265 4478 4478 msgid "Price does not set this product." 4479 4479 msgstr "" 4480 4480 4481 4481 #: includes/addons/wl_product_filter.php:657 4482 4482 msgid "Price Label" 4483 4483 msgstr "" 4484 4484 4485 4485 #: includes/addons/wl_product_horizontal_filter.php:221 4486 4486 msgid "Price Range" 4487 4487 msgstr "" 4488 4488 4489 4489 #: includes/addons/wl_product_filter.php:919 4490 4490 msgid "Price:" 4491 4491 msgstr "" 4492 4492 4493 4493 #: includes/addons/wl_product_horizontal_filter.php:232 4494 4494 msgid "Price: {{{ min_price }}} {{{ price_seprator }}} {{{ max_price }}}" 4495 4495 msgstr "" 4496 4496 4497 4497 #: includes/addons/wl_product_horizontal_filter.php:179 4498 4498 #: includes/addons/wl_product_horizontal_filter.php:180 4499 4499 msgid "Pricing" 4500 4500 msgstr "" 4501 4501 4502 4502 #: classes/class.assest_management.php:357 4503 4503 #: includes/admin/include/class.template-manager.php:481 4504 4504 #: includes/admin/include/admin_field-manager.php:133 4505 4505 #: includes/admin/include/admin_field-manager.php:335 4506 4506 #: includes/admin/include/admin_field-manager.php:468 4507 4507 #: includes/admin/templates/dashboard-freevspro.php:215 4508 4508 #: includes/admin/templates/dashboard-freevspro.php:262 4509 4509 #: includes/admin/include/template-library/templates_list.php:31 4510 4510 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:244 4511 4511 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:372 4512 4512 msgid "Pro" 4513 4513 msgstr "" 4514 4514 4515 4515 #: includes/admin/include/class.extension-manager.php:137 4516 4516 msgid "Pro extension" 4517 4517 msgstr "" 4518 4518 4519 4519 #: includes/addons/wl_faq.php:158 4520 4520 msgid "Producing Perfume From Home" 4521 4521 msgstr "" 4522 4522 4523 4523 #: includes/admin/templates/dashboard-freevspro.php:63 4524 4524 msgid "Product Accordion Listing" 4525 4525 msgstr "" 4526 4526 4527 4527 #: classes/class.widgets_control.php:329 4528 4528 #: woolentor-blocks/includes/classes/Blocks_List.php:135 4529 4529 #: woolentor-blocks/production/includes/classes/Blocks_List.php:135 4530 4530 msgid "Product Add To Cart" 4531 4531 msgstr "" 4532 4532 4533 #: includes/helper-function.php:13 204533 #: includes/helper-function.php:1334 4534 4534 #: woolentor-blocks/includes/helper-functions.php:595 4535 4535 #: woolentor-blocks/production/includes/helper-functions.php:595 4536 4536 msgid "Product Added" 4537 4537 msgstr "" 4538 4538 4539 4539 #: classes/class.widgets_control.php:333 4540 4540 #: woolentor-blocks/includes/classes/Blocks_List.php:180 4541 4541 #: woolentor-blocks/production/includes/classes/Blocks_List.php:180 4542 4542 msgid "Product Additional Info" 4543 4543 msgstr "" 4544 4544 4545 4545 #: includes/custom-metabox.php:58 4546 4546 msgid "Product Badge" 4547 4547 msgstr "" 4548 4548 4549 4549 #: classes/class.widgets_control.php:309 4550 4550 msgid "Product Call for Price" 4551 4551 msgstr "" 4552 4552 4553 4553 #: classes/class.widgets_control.php:389 4554 4554 #: includes/addons/product_image_accordion.php:117 4555 4555 #: includes/addons/product_accordion.php:128 4556 4556 #: includes/addons/product_curvy.php:163 includes/addons/product_tabs.php:135 4557 4557 msgid "Product Categories" 4558 4558 msgstr "" 4559 4559 4560 4560 #: includes/addons/product_image_accordion.php:304 4561 4561 msgid "Product Category" 4562 4562 msgstr "" 4563 4563 4564 4564 #: classes/class.default_data.php:431 4565 4565 msgid "Product category does not exists." 4566 4566 msgstr "" 4567 4567 4568 4568 #: includes/admin/templates/dashboard-freevspro.php:117 4569 4569 msgid "Product Compare" 4570 4570 msgstr "" 4571 4571 4572 4572 #: includes/addons/product_curvy.php:581 4573 4573 msgid "Product Content" 4574 4574 msgstr "" 4575 4575 4576 4576 #: includes/addons/product_tabs.php:930 4577 4577 msgid "Product Content Area Padding" 4578 4578 msgstr "" 4579 4579 4580 4580 #: includes/addons/product_tabs.php:942 4581 4581 msgid "Product Content Background" 4582 4582 msgstr "" 4583 4583 4584 4584 #: includes/addons/product_tabs.php:1094 4585 4585 msgid "Product content background" 4586 4586 msgstr "" 4587 4587 4588 4588 #: includes/addons/wl_category.php:222 4589 4589 msgid "" 4590 4590 "Product counter, Custom icon, Category Description option are available in " 4591 4591 "the pro version" 4592 4592 msgstr "" 4593 4593 4594 4594 #: classes/class.widgets_control.php:256 4595 4595 #: woolentor-blocks/includes/classes/Blocks_List.php:82 4596 4596 #: woolentor-blocks/production/includes/classes/Blocks_List.php:82 4597 4597 msgid "Product Curvy" 4598 4598 msgstr "" 4599 4599 4600 4600 #: classes/class.widgets_control.php:337 4601 4601 msgid "Product Data tabs" 4602 4602 msgstr "" 4603 4603 4604 4604 #: classes/class.widgets_control.php:341 4605 4605 #: woolentor-blocks/includes/classes/Blocks_List.php:152 4606 4606 #: woolentor-blocks/production/includes/classes/Blocks_List.php:152 4607 4607 msgid "Product Description" 4608 4608 msgstr "" 4609 4609 4610 4610 #: classes/class.widgets_control.php:301 4611 4611 #: includes/admin/templates/dashboard-freevspro.php:145 4612 4612 msgid "Product Filter" 4613 4613 msgstr "" 4614 4614 4615 4615 #: includes/admin/templates/dashboard-freevspro.php:83 4616 4616 msgid "Product Grid" 4617 4617 msgstr "" 4618 4618 4619 4619 #: includes/admin/templates/dashboard-freevspro.php:59 4620 4620 msgid "Product Grid (Curvy)" 4621 4621 msgstr "" 4622 4622 4623 4623 #: includes/addons/product_tabs.php:1106 4624 4624 msgid "Product hover content area padding" 4625 4625 msgstr "" 4626 4626 4627 4627 #: includes/addons/product_image_accordion.php:95 4628 4628 #: includes/addons/product_accordion.php:116 4629 4629 #: includes/addons/product_curvy.php:151 4630 4630 msgid "Product IDs" 4631 4631 msgstr "" 4632 4632 4633 4633 #: classes/class.widgets_control.php:361 4634 4634 #: woolentor-blocks/includes/classes/Blocks_List.php:166 4635 4635 #: woolentor-blocks/production/includes/classes/Blocks_List.php:166 4636 4636 msgid "Product Image" 4637 4637 msgstr "" 4638 4638 4639 4639 #: classes/class.widgets_control.php:260 4640 4640 #: includes/admin/templates/dashboard-freevspro.php:67 4641 4641 msgid "Product Image Accordion" 4642 4642 msgstr "" 4643 4643 4644 4644 #: includes/addons/product_tabs.php:906 4645 4645 msgid "Product Image Area Padding" 4646 4646 msgstr "" 4647 4647 4648 4648 #: includes/addons/product_tabs.php:918 4649 4649 msgid "Product Image Background" 4650 4650 msgstr "" 4651 4651 4652 4652 #: includes/addons/wl_product_video_gallery.php:126 4653 4653 #: includes/addons/wl_product_video_gallery.php:172 4654 4654 msgid "Product image border" 4655 4655 msgstr "" 4656 4656 4657 4657 #: includes/addons/product_flash_sale.php:91 4658 4658 #: includes/addons/product_image_accordion.php:107 4659 4659 #: includes/addons/product_accordion.php:142 4660 4660 #: includes/addons/product_curvy.php:177 4661 4661 #: includes/addons/wl_recently_viewed_products.php:49 4662 4662 msgid "Product Limit" 4663 4663 msgstr "" 4664 4664 4665 4665 #: classes/class.widgets_control.php:377 4666 4666 #: woolentor-blocks/includes/classes/Blocks_List.php:173 4667 4667 #: woolentor-blocks/production/includes/classes/Blocks_List.php:173 4668 4668 msgid "Product Meta" 4669 4669 msgstr "" 4670 4670 4671 4671 #: includes/addons/product_flash_sale.php:338 4672 4672 msgid "" 4673 4673 "Product must have both \"Manage stock\" and \"Initial number in stock\" set " 4674 4674 "from the \"Inventory\" tab to display the stock progress indicator.\"" 4675 4675 msgstr "" 4676 4676 4677 4677 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:137 4678 4678 msgid "Product page button position" 4679 4679 msgstr "" 4680 4680 4681 4681 #: includes/addons/wb_archive_result_count.php:49 4682 4682 msgid "Product Per Page" 4683 4683 msgstr "" 4684 4684 4685 #: classes/class.widgets_control.php:349 includes/helper-function.php:12 784685 #: classes/class.widgets_control.php:349 includes/helper-function.php:1292 4686 4686 #: includes/addons/product_flash_sale.php:466 4687 4687 #: includes/addons/product_image_accordion.php:411 4688 4688 #: includes/addons/product_accordion.php:490 4689 4689 #: includes/addons/product_curvy.php:482 includes/addons/product_tabs.php:1012 4690 4690 #: woolentor-blocks/includes/classes/Blocks_List.php:128 4691 4691 #: woolentor-blocks/production/includes/classes/Blocks_List.php:128 4692 4692 msgid "Product Price" 4693 4693 msgstr "" 4694 4694 4695 4695 #: classes/class.widgets_control.php:393 4696 4696 #: woolentor-blocks/includes/classes/Blocks_List.php:208 4697 4697 #: includes/admin/templates/dashboard-freevspro.php:87 4698 4698 #: woolentor-blocks/production/includes/classes/Blocks_List.php:208 4699 4699 msgid "Product QR Code" 4700 4700 msgstr "" 4701 4701 4702 4702 #: includes/addons/product_flash_sale.php:529 4703 4703 #: includes/addons/product_image_accordion.php:474 4704 4704 #: includes/addons/product_accordion.php:553 4705 4705 #: includes/addons/product_curvy.php:643 4706 4706 #: woolentor-blocks/includes/classes/Blocks_List.php:159 4707 4707 #: woolentor-blocks/production/includes/classes/Blocks_List.php:159 4708 4708 msgid "Product Rating" 4709 4709 msgstr "" 4710 4710 4711 4711 #: classes/class.widgets_control.php:353 4712 4712 msgid "Product rating" 4713 4713 msgstr "" 4714 4714 4715 4715 #: woolentor-blocks/includes/classes/Blocks_List.php:215 4716 4716 #: woolentor-blocks/production/includes/classes/Blocks_List.php:215 4717 4717 msgid "Product Related" 4718 4718 msgstr "" 4719 4719 4720 4720 #: includes/addons/wb_product_reviews.php:43 4721 4721 #: woolentor-blocks/includes/classes/Blocks_List.php:194 4722 4722 #: woolentor-blocks/production/includes/classes/Blocks_List.php:194 4723 4723 msgid "Product Reviews" 4724 4724 msgstr "" 4725 4725 4726 4726 #: classes/class.widgets_control.php:357 4727 4727 msgid "Product reviews" 4728 4728 msgstr "" 4729 4729 4730 4730 #: includes/addons/product_tabs.php:54 4731 4731 msgid "Product Settings" 4732 4732 msgstr "" 4733 4733 4734 4734 #: woolentor-blocks/includes/classes/Blocks_List.php:145 4735 4735 #: woolentor-blocks/production/includes/classes/Blocks_List.php:145 4736 4736 msgid "Product Short Description" 4737 4737 msgstr "" 4738 4738 4739 4739 #: classes/class.widgets_control.php:345 4740 4740 msgid "Product short description" 4741 4741 msgstr "" 4742 4742 4743 4743 #: includes/admin/templates/dashboard-freevspro.php:185 4744 4744 msgid "Product Size Chart" 4745 4745 msgstr "" 4746 4746 4747 4747 #: classes/class.widgets_control.php:381 4748 4748 msgid "Product SKU" 4749 4749 msgstr "" 4750 4750 4751 4751 #: includes/addons/product_tabs.php:216 4752 4752 #: includes/admin/templates/dashboard-freevspro.php:47 4753 4753 msgid "Product Slider" 4754 4754 msgstr "" 4755 4755 4756 4756 #: includes/admin/templates/dashboard-freevspro.php:165 4757 4757 msgid "Product sticky Add to cart" 4758 4758 msgstr "" 4759 4759 4760 4760 #: classes/class.widgets_control.php:373 4761 4761 #: woolentor-blocks/includes/classes/Blocks_List.php:201 4762 4762 #: woolentor-blocks/production/includes/classes/Blocks_List.php:201 4763 4763 msgid "Product Stock" 4764 4764 msgstr "" 4765 4765 4766 4766 #: includes/addons/product_tabs.php:61 4767 4767 msgid "Product Style" 4768 4768 msgstr "" 4769 4769 4770 4770 #: classes/class.widgets_control.php:313 4771 4771 msgid "Product suggest price" 4772 4772 msgstr "" 4773 4773 4774 4774 #: includes/addons/product_tabs.php:203 4775 4775 #: includes/admin/templates/dashboard-freevspro.php:51 4776 4776 msgid "Product Tab" 4777 4777 msgstr "" 4778 4778 4779 4779 #: woolentor-blocks/includes/classes/Blocks_List.php:60 4780 4780 #: woolentor-blocks/production/includes/classes/Blocks_List.php:60 4781 4781 msgid "Product tab" 4782 4782 msgstr "" 4783 4783 4784 4784 #: includes/addons/product_tabs.php:304 includes/addons/product_tabs.php:384 4785 4785 msgid "Product tab menu background" 4786 4786 msgstr "" 4787 4787 4788 4788 #: classes/class.widgets_control.php:224 4789 4789 #: woolentor-blocks/includes/classes/Blocks_List.php:187 4790 4790 #: woolentor-blocks/production/includes/classes/Blocks_List.php:187 4791 4791 msgid "Product Tabs" 4792 4792 msgstr "" 4793 4793 4794 4794 #: classes/class.widgets_control.php:385 4795 4795 msgid "Product Tags" 4796 4796 msgstr "" 4797 4797 4798 4798 #: classes/class.default_data.php:414 4799 4799 msgid "Product tags does not exists." 4800 4800 msgstr "" 4801 4801 4802 4802 #: classes/class.widgets_control.php:321 4803 4803 #: includes/addons/product_flash_sale.php:411 4804 4804 #: includes/addons/product_image_accordion.php:357 4805 4805 #: includes/addons/product_curvy.php:410 4806 4806 #: includes/addons/wb_product_title.php:43 4807 4807 #: includes/addons/wb_product_title.php:62 4808 4808 #: woolentor-blocks/includes/classes/Blocks_List.php:121 4809 4809 #: woolentor-blocks/production/includes/classes/Blocks_List.php:121 4810 4810 msgid "Product Title" 4811 4811 msgstr "" 4812 4812 4813 4813 #: classes/class.widgets_control.php:369 4814 4814 #: woolentor-blocks/includes/classes/Blocks_List.php:222 4815 4815 #: woolentor-blocks/production/includes/classes/Blocks_List.php:222 4816 4816 msgid "Product Upsell" 4817 4817 msgstr "" 4818 4818 4819 4819 #: classes/class.widgets_control.php:365 4820 4820 msgid "Product Video Gallery" 4821 4821 msgstr "" 4822 4822 4823 4823 #: includes/addons/wb_customer_review.php:71 4824 4824 #, php-format 4825 4825 msgid "" 4826 4826 "Product Wise Rating/Review Display is available in ShopLentor Pro. <a " 4827 4827 "href=\"%s\" target=\"_blank\">Purchase ShopLentor Pro</a>" 4828 4828 msgstr "" 4829 4829 4830 4830 #: includes/addons/wl_testimonial.php:73 4831 4831 #, php-format 4832 4832 msgid "" 4833 4833 "Product Wise Rating/Review Display is available in WooLentor Pro. <a " 4834 4834 "href=\"%s\" target=\"_blank\">Purchase WooLentor Pro</a>" 4835 4835 msgstr "" 4836 4836 4837 4837 #: includes/addons/wb_product_related.php:51 4838 4838 msgid "Products Per Page" 4839 4839 msgstr "" 4840 4840 4841 4841 #: includes/addons/wb_product_reviews.php:53 4842 4842 msgid "Products reviews" 4843 4843 msgstr "" 4844 4844 4845 4845 #: includes/base.php:209 woolentor-blocks/includes/classes/Blocks_List.php:68 4846 4846 #: woolentor-blocks/production/includes/classes/Blocks_List.php:68 4847 4847 msgid "Promo Banner" 4848 4848 msgstr "" 4849 4849 4850 4850 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:286 4851 4851 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:343 4852 4852 msgid "pulse" 4853 4853 msgstr "" 4854 4854 4855 4855 #: includes/addons/wl_brand.php:226 includes/addons/wl_brand.php:369 4856 4856 msgid "Purchase our premium version to unlock these pro features!" 4857 4857 msgstr "" 4858 4858 4859 4859 #: includes/addons/wb_product_qr_code.php:43 4860 4860 msgid "QR Code" 4861 4861 msgstr "" 4862 4862 4863 4863 #: includes/addons/wb_product_qr_code.php:72 4864 4864 #: includes/addons/wb_wishsuite_table.php:205 4865 4865 #: includes/addons/wb_product_add_to_cart.php:136 4866 4866 msgid "Quantity" 4867 4867 msgstr "" 4868 4868 4869 4869 #: includes/addons/wb_product_add_to_cart.php:353 4870 4870 msgid "Quantity Backgeound" 4871 4871 msgstr "" 4872 4872 4873 4873 #: includes/addons/wb_product_add_to_cart.php:236 4874 4874 msgid "Quantity Background" 4875 4875 msgstr "" 4876 4876 4877 4877 #: includes/addons/wb_product_add_to_cart.php:371 4878 4878 msgid "Quantity Border" 4879 4879 msgstr "" 4880 4880 4881 4881 #: includes/addons/wb_product_add_to_cart.php:221 4882 4882 #: includes/addons/wb_product_add_to_cart.php:317 4883 4883 msgid "Quantity Number" 4884 4884 msgstr "" 4885 4885 4886 4886 #: includes/addons/wb_product_add_to_cart.php:88 4887 4887 msgid "Quantity Text" 4888 4888 msgstr "" 4889 4889 4890 4890 #: includes/addons/product_image_accordion.php:55 4891 4891 #: includes/addons/product_accordion.php:76 4892 4892 #: includes/addons/product_curvy.php:111 4893 4893 msgid "Query Settings" 4894 4894 msgstr "" 4895 4895 4896 4896 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:389 4897 4897 msgid "Query String Is" 4898 4898 msgstr "" 4899 4899 4900 4900 #: woolentor-blocks/includes/templates/product-universal.php:160 4901 4901 #: woolentor-blocks/includes/templates/product-universal.php:207 4902 4902 #: woolentor-blocks/production/includes/templates/product-universal.php:160 4903 4903 #: woolentor-blocks/production/includes/templates/product-universal.php:207 4904 4904 #: woolentor-blocks/src/blocks/universal-product/old_index.php:414 4905 4905 #: woolentor-blocks/src/blocks/universal-product/old_index.php:461 4906 4906 msgid "Quick View" 4907 4907 msgstr "" 4908 4908 4909 4909 #: includes/addons/wb_product_add_to_cart.php:250 4910 4910 #: includes/addons/wb_product_add_to_cart.php:332 4911 4911 msgid "Qunantity Text Color" 4912 4912 msgstr "" 4913 4913 4914 #: includes/helper-function.php:12 76includes/addons/product_flash_sale.php:1384914 #: includes/helper-function.php:1290 includes/addons/product_flash_sale.php:138 4915 4915 #: includes/addons/wb_product_upsell.php:71 4916 4916 #: includes/addons/wb_archive_product.php:132 4917 4917 #: includes/addons/product_image_accordion.php:151 4918 4918 #: includes/addons/wb_product_related.php:86 4919 4919 #: includes/addons/product_accordion.php:172 4920 4920 #: includes/addons/product_curvy.php:207 includes/addons/product_tabs.php:166 4921 4921 msgid "Random" 4922 4922 msgstr "" 4923 4923 4924 4924 #: includes/addons/product_image_accordion.php:71 4925 4925 #: includes/addons/product_accordion.php:92 4926 4926 #: includes/addons/product_curvy.php:127 4927 4927 msgid "Random Products" 4928 4928 msgstr "" 4929 4929 4930 4930 #: includes/addons/wl_product_filter.php:554 4931 4931 msgid "Range Slider" 4932 4932 msgstr "" 4933 4933 4934 4934 #: includes/base.php:261 4935 4935 msgid "Rate the plugin" 4936 4936 msgstr "" 4937 4937 4938 4938 #: woolentor-blocks/src/blocks/product-reviews/index.php:37 4939 4939 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:37 4940 4940 msgid "Rate…" 4941 4941 msgstr "" 4942 4942 4943 4943 #: includes/addons/wb_product_upsell.php:70 4944 4944 #: includes/addons/wl_testimonial.php:745 4945 4945 #: includes/addons/wb_archive_product.php:131 4946 4946 #: includes/addons/wb_archive_product.php:481 4947 4947 #: includes/addons/wb_product_related.php:85 4948 4948 #: includes/addons/wb_customer_review.php:561 4949 4949 msgid "Rating" 4950 4950 msgstr "" 4951 4951 4952 4952 #: includes/addons/product_image_accordion.php:495 4953 4953 #: includes/addons/product_accordion.php:574 4954 4954 #: includes/addons/product_curvy.php:681 includes/addons/product_curvy.php:696 4955 4955 msgid "Rating Color" 4956 4956 msgstr "" 4957 4957 4958 4958 #: classes/class.default_data.php:298 4959 4959 msgid "Rating does not enable." 4960 4960 msgstr "" 4961 4961 4962 4962 #: includes/admin/templates/dashboard-sidebar.php:22 4963 4963 msgid "Rating icon" 4964 4964 msgstr "" 4965 4965 4966 4966 #: includes/addons/wb_archive_product.php:489 4967 4967 msgid "Rating Star Color" 4968 4968 msgstr "" 4969 4969 4970 4970 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:328 4971 4971 msgid "ratting" 4972 4972 msgstr "" 4973 4973 4974 4974 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:357 4975 4975 msgid "Reached maximum limit message" 4976 4976 msgstr "" 4977 4977 4978 4978 #: includes/addons/product_image_accordion.php:66 4979 4979 #: includes/addons/product_accordion.php:87 4980 4980 #: includes/addons/product_curvy.php:122 includes/addons/product_tabs.php:79 4981 4981 msgid "Recent Products" 4982 4982 msgstr "" 4983 4983 4984 4984 #: classes/class.widgets_control.php:276 4985 4985 #: woolentor-blocks/includes/classes/Blocks_List.php:103 4986 4986 #: woolentor-blocks/production/includes/classes/Blocks_List.php:103 4987 4987 msgid "Recently Viewed Products" 4988 4988 msgstr "" 4989 4989 4990 4990 #: includes/addons/wl_product_horizontal_filter.php:268 4991 4991 #: includes/addons/wl_product_filter.php:71 4992 4992 msgid "Redirect Custom URL" 4993 4993 msgstr "" 4994 4994 4995 4995 #: includes/admin/templates/dashboard-freevspro.php:173 4996 4996 msgid "Redirect to Checkout" 4997 4997 msgstr "" 4998 4998 4999 4999 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:92 5000 5000 msgid "Redirect URL" 5001 5001 msgstr "" 5002 5002 5003 5003 #: includes/addons/wb_archive_product.php:447 5004 5004 msgid "Regular Price" 5005 5005 msgstr "" 5006 5006 5007 5007 #: includes/addons/product_flash_sale.php:508 5008 5008 #: includes/addons/product_image_accordion.php:440 5009 5009 #: includes/addons/product_accordion.php:519 5010 5010 #: includes/addons/product_curvy.php:528 includes/addons/product_curvy.php:543 5011 5011 msgid "Regular Price Color" 5012 5012 msgstr "" 5013 5013 5014 5014 #: classes/class.widgets_control.php:325 5015 5015 #: includes/addons/wb_product_related.php:45 5016 5016 msgid "Related Product" 5017 5017 msgstr "" 5018 5018 5019 5019 #: includes/modules/shopify-like-checkout/templates/form-login.php:37 5020 5020 msgid "Remember me" 5021 5021 msgstr "" 5022 5022 5023 5023 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:228 5024 5024 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:253 5025 5025 msgid "Remove" 5026 5026 msgstr "" 5027 5027 5028 5028 #: includes/admin/include/class.template_cpt.php:65 5029 5029 msgid "Remove featured image" 5030 5030 msgstr "" 5031 5031 5032 5032 #: includes/addons/wb_wishsuite_table.php:252 5033 5033 msgid "Remove Icon" 5034 5034 msgstr "" 5035 5035 5036 5036 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:248 5037 5037 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:358 5038 5038 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:408 5039 5039 msgid "Remove image" 5040 5040 msgstr "" 5041 5041 5042 5042 #: includes/admin/templates/dashboard-freevspro.php:93 5043 5043 msgid "Rename Label" 5044 5044 msgstr "" 5045 5045 5046 5046 #: includes/admin/templates/dashboard-welcome.php:54 5047 5047 msgid "Request" 5048 5048 msgstr "" 5049 5049 5050 5050 #: includes/custom-metabox.php:47 5051 5051 msgid "Required for stock progress bar" 5052 5052 msgstr "" 5053 5053 5054 5054 #: classes/class.assest_management.php:339 5055 5055 msgid "Reset All Settings" 5056 5056 msgstr "" 5057 5057 5058 5058 #: includes/modules/variation-swatch/includes/ajax-actions.php:189 5059 5059 msgid "Reset Done!" 5060 5060 msgstr "" 5061 5061 5062 5062 #: includes/admin/templates/dashboard-module-setting-popup.php:18 5063 5063 msgid "Reset To Default" 5064 5064 msgstr "" 5065 5065 5066 5066 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:63 5067 5067 msgid "Reset to Default" 5068 5068 msgstr "" 5069 5069 5070 5070 #: classes/class.assest_management.php:338 5071 5071 msgid "Resetting..." 5072 5072 msgstr "" 5073 5073 5074 5074 #: includes/addons/wb_archive_result_count.php:42 5075 5075 #: includes/addons/wb_archive_result_count.php:62 5076 5076 msgid "Result Count" 5077 5077 msgstr "" 5078 5078 5079 5079 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:65 5080 5080 msgid "Return to cart" 5081 5081 msgstr "" 5082 5082 5083 5083 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:67 5084 5084 msgid "Return to information" 5085 5085 msgstr "" 5086 5086 5087 5087 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:69 5088 5088 msgid "Return to shipping" 5089 5089 msgstr "" 5090 5090 5091 5091 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:374 5092 5092 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:375 5093 5093 msgid "Return to shop" 5094 5094 msgstr "" 5095 5095 5096 5096 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:371 5097 5097 msgid "Return to shop button text" 5098 5098 msgstr "" 5099 5099 5100 5100 #: includes/addons/wb_customer_review.php:43 5101 5101 msgid "Review" 5102 5102 msgstr "" 5103 5103 5104 5104 #: includes/addons/wl_testimonial.php:67 5105 5105 #: includes/addons/wb_customer_review.php:65 5106 5106 msgid "Review Type" 5107 5107 msgstr "" 5108 5108 5109 5109 #: includes/addons/wl_faq.php:362 includes/addons/wl_faq.php:585 5110 5110 #: includes/addons/wb_product_short_description.php:65 5111 5111 #: includes/addons/wl_breadcrumbs.php:86 5112 5112 #: includes/addons/wb_wishsuite_counter.php:77 5113 5113 #: includes/addons/wl_product_horizontal_filter.php:802 5114 5114 #: includes/addons/wl_onepage_slider.php:181 5115 5115 #: includes/addons/special_day_offer.php:58 5116 5116 #: includes/addons/special_day_offer.php:281 5117 5117 #: includes/addons/wl_store_features.php:151 5118 5118 #: includes/addons/wb_product_data_tab.php:168 5119 5119 #: includes/addons/wb_archive_product.php:245 5120 5120 #: includes/addons/wb_archive_product.php:904 5121 5121 #: includes/addons/wl_archive_title.php:120 5122 5122 #: includes/addons/wb_product_qr_code.php:99 5123 5123 #: includes/addons/wb_product_related.php:177 5124 5124 #: includes/addons/wb_archive_result_count.php:91 5125 5125 #: includes/addons/wb_product_description.php:63 5126 5126 #: includes/addons/wl_category.php:321 5127 5127 #: includes/addons/wl_product_video_gallery.php:65 5128 5128 #: includes/addons/wl_brand.php:306 5129 5129 #: includes/addons/wb_product_categories.php:72 5130 5130 #: includes/addons/wb_product_rating.php:108 5131 5131 #: includes/addons/wb_product_title.php:115 5132 5132 #: includes/addons/wb_product_sku.php:72 5133 5133 #: includes/addons/wb_customer_review.php:298 5134 5134 #: includes/addons/wl_recently_viewed_products.php:258 5135 5135 #: includes/addons/wl_recently_viewed_products.php:566 5136 5136 #: includes/addons/product_tabs.php:253 includes/addons/product_tabs.php:974 5137 5137 #: includes/addons/product_tabs.php:1053 includes/addons/add_banner.php:68 5138 5138 #: includes/addons/wl_category_grid.php:742 5139 5139 #: includes/addons/wb_product_tags.php:72 5140 5140 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:426 5141 5141 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:67 5142 5142 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:287 5143 5143 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:475 5144 5144 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:489 5145 5145 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:503 5146 5146 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:524 5147 5147 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:554 5148 5148 msgid "Right" 5149 5149 msgstr "" 5150 5150 5151 5151 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:328 5152 5152 msgid "rollIn" 5153 5153 msgstr "" 5154 5154 5155 5155 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:329 5156 5156 msgid "rollOut" 5157 5157 msgstr "" 5158 5158 5159 5159 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:312 5160 5160 msgid "rotateIn" 5161 5161 msgstr "" 5162 5162 5163 5163 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:313 5164 5164 msgid "rotateInDownLeft" 5165 5165 msgstr "" 5166 5166 5167 5167 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:314 5168 5168 msgid "rotateInDownRight" 5169 5169 msgstr "" 5170 5170 5171 5171 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:315 5172 5172 msgid "rotateInUpLeft" 5173 5173 msgstr "" 5174 5174 5175 5175 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:316 5176 5176 msgid "rotateInUpRight" 5177 5177 msgstr "" 5178 5178 5179 5179 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:369 5180 5180 msgid "rotateOut" 5181 5181 msgstr "" 5182 5182 5183 5183 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:370 5184 5184 msgid "rotateOutDownLeft" 5185 5185 msgstr "" 5186 5186 5187 5187 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:371 5188 5188 msgid "rotateOutDownRight" 5189 5189 msgstr "" 5190 5190 5191 5191 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:372 5192 5192 msgid "rotateOutUpLeft" 5193 5193 msgstr "" 5194 5194 5195 5195 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:373 5196 5196 msgid "rotateOutUpRight" 5197 5197 msgstr "" 5198 5198 5199 5199 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:190 5200 5200 msgid "Rounded" 5201 5201 msgstr "" 5202 5202 5203 5203 #: includes/addons/wb_archive_product.php:75 5204 5204 #: includes/addons/product_tabs.php:112 5205 5205 msgid "Rows" 5206 5206 msgstr "" 5207 5207 5208 5208 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:287 5209 5209 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:344 5210 5210 msgid "rubberBand" 5211 5211 msgstr "" 5212 5212 5213 5213 #: includes/addons/wl_onepage_slider.php:474 5214 5214 msgid "Ruffled Poplin Dress" 5215 5215 msgstr "" 5216 5216 5217 5217 #: includes/addons/wl_testimonial.php:157 5218 5218 msgid "Ruth Pierce" 5219 5219 msgstr "" 5220 5220 5221 5221 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:455 5222 5222 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:620 5223 5223 msgid "Safari" 5224 5224 msgstr "" 5225 5225 5226 5226 #: includes/admin/templates/dashboard-freevspro.php:75 5227 5227 msgid "Sale / Discount Schedule Counter" 5228 5228 msgstr "" 5229 5229 5230 5230 #: includes/addons/wb_archive_product.php:804 5231 5231 msgid "Sale Flash" 5232 5232 msgstr "" 5233 5233 5234 5234 #: includes/addons/wb_archive_product.php:412 5235 5235 msgid "Sale Price" 5236 5236 msgstr "" 5237 5237 5238 5238 #: includes/addons/product_flash_sale.php:488 5239 5239 #: includes/addons/product_image_accordion.php:420 5240 5240 #: includes/addons/product_accordion.php:499 5241 5241 #: includes/addons/product_curvy.php:491 includes/addons/product_curvy.php:505 5242 5242 msgid "Sale Price Color" 5243 5243 msgstr "" 5244 5244 5245 5245 #: includes/addons/product_image_accordion.php:69 5246 5246 #: includes/addons/product_accordion.php:90 5247 5247 #: includes/addons/product_curvy.php:125 includes/addons/product_tabs.php:82 5248 5248 msgid "Sale Products" 5249 5249 msgstr "" 5250 5250 5251 5251 #: includes/addons/wb_archive_product.php:796 5252 5252 msgid "Sale Tag" 5253 5253 msgstr "" 5254 5254 5255 #: includes/helper-function.php: 988 includes/helper-function.php:10345255 #: includes/helper-function.php:1002 includes/helper-function.php:1048 5256 5256 msgid "Sale!" 5257 5257 msgstr "" 5258 5258 5259 5259 #: includes/admin/templates/dashboard-freevspro.php:97 5260 5260 msgid "Sales Notification" 5261 5261 msgstr "" 5262 5262 5263 5263 #: includes/addons/wl_recently_viewed_products.php:118 5264 5264 msgid "Same Height Box ?" 5265 5265 msgstr "" 5266 5266 5267 5267 #: includes/admin/include/class.template-manager.php:478 5268 5268 msgid "Sample Design" 5269 5269 msgstr "" 5270 5270 5271 5271 #: classes/class.assest_management.php:332 5272 5272 #: includes/admin/templates/dashboard-element.php:39 5273 5273 #: includes/admin/templates/dashboard-style.php:26 5274 5274 #: includes/admin/templates/dashboard-gutenberg.php:60 5275 5275 #: includes/admin/templates/dashboard-settings.php:18 5276 5276 #: includes/admin/templates/dashboard-module-setting-popup.php:20 5277 5277 #: includes/admin/templates/dashboard-module.php:50 5278 5278 msgid "Save Changes" 5279 5279 msgstr "" 5280 5280 5281 5281 #: includes/admin/include/class.template-manager.php:471 5282 5282 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:516 5283 5283 msgid "Save Settings" 5284 5284 msgstr "" 5285 5285 5286 5286 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:62 5287 5287 msgid "Save Swatches" 5288 5288 msgstr "" 5289 5289 5290 5290 #: classes/class.assest_management.php:334 5291 5291 msgid "Saved All Data" 5292 5292 msgstr "" 5293 5293 5294 5294 #: includes/modules/variation-swatch/includes/ajax-actions.php:164 5295 5295 msgid "Saved!" 5296 5296 msgstr "" 5297 5297 5298 5298 #: classes/class.assest_management.php:333 5299 5299 #: includes/admin/include/class.template-manager.php:472 5300 5300 #: includes/modules/variation-swatch/includes/Admin.php:50 5301 5301 msgid "Saving..." 5302 5302 msgstr "" 5303 5303 5304 5304 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:127 5305 5305 msgid "Scroll Direction" 5306 5306 msgstr "" 5307 5307 5308 5308 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:119 5309 5309 msgid "Scroll Percentage (%)" 5310 5310 msgstr "" 5311 5311 5312 5312 #: includes/addons/wl_product_horizontal_filter.php:973 5313 5313 #: includes/addons/wl_product_filter.php:853 5314 5314 #: includes/modules/ajax-search/base.php:170 5315 5315 msgid "Search" 5316 5316 msgstr "" 5317 5317 5318 5318 #: includes/addons/wl_product_horizontal_filter.php:312 5319 5319 msgid "Search Button Icon" 5320 5320 msgstr "" 5321 5321 5322 5322 #: includes/addons/wl_product_horizontal_filter.php:259 5323 5323 #: includes/addons/wl_product_horizontal_filter.php:556 5324 5324 #: includes/addons/wl_product_filter.php:43 5325 5325 msgid "Search Form" 5326 5326 msgstr "" 5327 5327 5328 5328 #: includes/addons/wl_product_horizontal_filter.php:298 5329 5329 msgid "Search Form Placeholder" 5330 5330 msgstr "" 5331 5331 5332 5332 #: includes/modules/ajax-search/base.php:131 5333 5333 msgid "Search Products" 5334 5334 msgstr "" 5335 5335 5336 5336 #: includes/addons/wl_product_horizontal_filter.php:300 5337 5337 msgid "Search Products..." 5338 5338 msgstr "" 5339 5339 5340 5340 #: includes/admin/include/class.template_cpt.php:60 5341 5341 msgid "Search Templates" 5342 5342 msgstr "" 5343 5343 5344 5344 #: includes/admin/include/template-library/templates_list.php:24 5345 5345 msgid "Search.." 5346 5346 msgstr "" 5347 5347 5348 5348 #: includes/addons/product_flash_sale.php:1032 5349 5349 #: includes/modules/flash-sale/class.flash-sale.php:450 5350 5350 msgid "Sec" 5351 5351 msgstr "" 5352 5352 5353 5353 #: includes/addons/product_flash_sale.php:304 5354 5354 #: includes/addons/product_flash_sale.php:306 5355 5355 msgid "Seconds" 5356 5356 msgstr "" 5357 5357 5358 #: includes/helper-function.php:4 285358 #: includes/helper-function.php:442 5359 5359 #: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:30 5360 5360 msgid "Select" 5361 5361 msgstr "" 5362 5362 5363 5363 #: includes/addons/wl_product_horizontal_filter.php:1164 5364 5364 msgid "select" 5365 5365 msgstr "" 5366 5366 5367 5367 #: includes/addons/wl_category_grid.php:98 5368 5368 #: includes/addons/wl_category_grid.php:111 5369 5369 msgid "Select categories" 5370 5370 msgstr "" 5371 5371 5372 5372 #: includes/addons/wl_faq.php:54 5373 5373 msgid "Select Content Source" 5374 5374 msgstr "" 5375 5375 5376 5376 #: includes/addons/product_flash_sale.php:80 5377 5377 msgid "Select Deal" 5378 5378 msgstr "" 5379 5379 5380 5380 #: includes/admin/include/class.template-manager.php:457 5381 5381 msgid "Select Editor" 5382 5382 msgstr "" 5383 5383 5384 5384 #: includes/addons/wl_category.php:50 includes/addons/wl_brand.php:58 5385 5385 msgid "Select Layout" 5386 5386 msgstr "" 5387 5387 5388 5388 #: includes/addons/product_image_accordion.php:81 5389 5389 #: includes/addons/product_accordion.php:102 5390 5390 #: includes/addons/product_curvy.php:137 5391 5391 msgid "Select Product" 5392 5392 msgstr "" 5393 5393 5394 5394 #: includes/addons/wl_category_grid.php:51 5395 5395 msgid "Select Style" 5396 5396 msgstr "" 5397 5397 5398 5398 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:264 5399 5399 msgid "Select Swatch Image" 5400 5400 msgstr "" 5401 5401 5402 5402 #: includes/addons/wb_just_table.php:54 5403 5403 msgid "Select Table" 5404 5404 msgstr "" 5405 5405 5406 #: includes/helper-function.php:4 53includes/addons/wl_faq.php:975406 #: includes/helper-function.php:467 includes/addons/wl_faq.php:97 5407 5407 msgid "Select Template" 5408 5408 msgstr "" 5409 5409 5410 5410 #: includes/addons/wb_product_suggest_price.php:85 5411 5411 msgid "Send To Mail" 5412 5412 msgstr "" 5413 5413 5414 5414 #: includes/addons/product_flash_sale.php:603 5415 5415 msgid "Separator Border Color" 5416 5416 msgstr "" 5417 5417 5418 5418 #: includes/addons/wl_breadcrumbs.php:50 5419 5419 msgid "Separator Icon" 5420 5420 msgstr "" 5421 5421 5422 5422 #: includes/admin/include/diagnostic-data.php:492 5423 5423 #, php-format 5424 5424 msgid "" 5425 5425 "Server information (Web server, PHP version, MySQL version), WordPress " 5426 5426 "information, site name, site URL, number of plugins, number of users, your " 5427 5427 "name, and email address. You can rest assured that no sensitive data will be " 5428 5428 "collected or tracked. %1$sLearn more%2$s." 5429 5429 msgstr "" 5430 5430 5431 5431 #: includes/admin/include/class.template-manager.php:458 5432 5432 msgid "Set Default" 5433 5433 msgstr "" 5434 5434 5435 5435 #: includes/admin/include/class.template_cpt.php:64 5436 5436 msgid "Set featured image" 5437 5437 msgstr "" 5438 5438 5439 #: includes/helper-function.php:1 199 includes/helper-function.php:12175439 #: includes/helper-function.php:1213 includes/helper-function.php:1231 5440 5440 msgid "Set the initial stock amount from" 5441 5441 msgstr "" 5442 5442 5443 5443 #: includes/base.php:244 includes/addons/wl_recently_viewed_products.php:42 5444 5444 #: includes/addons/wb_product_add_to_cart.php:73 5445 5445 #: includes/admin/admin-init.php:110 includes/admin/admin-init.php:111 5446 5446 #: includes/admin/templates/dashboard-gutenberg.php:15 5447 5447 msgid "Settings" 5448 5448 msgstr "" 5449 5449 5450 5450 #: includes/addons/wl_testimonial.php:202 5451 5451 #: includes/addons/wb_customer_review.php:190 5452 5452 #: includes/addons/wl_recently_viewed_products.php:82 5453 5453 #: includes/addons/wl_category_grid.php:258 5454 5454 msgid "Seven" 5455 5455 msgstr "" 5456 5456 5457 5457 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:288 5458 5458 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:345 5459 5459 msgid "shake" 5460 5460 msgstr "" 5461 5461 5462 5462 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:184 5463 5463 msgid "Shape Style" 5464 5464 msgstr "" 5465 5465 5466 5466 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:281 5467 5467 msgid "Share link button position" 5468 5468 msgstr "" 5469 5469 5470 5470 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:294 5471 5471 msgid "Share link button text" 5472 5472 msgstr "" 5473 5473 5474 5474 #: includes/modules/shopify-like-checkout/templates/form-shipping.php:13 5475 5475 msgid "Ship to a different address?" 5476 5476 msgstr "" 5477 5477 5478 5478 #: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:304 5479 5479 #: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:305 5480 5480 #: includes/modules/shopify-like-checkout/templates/review-order.php:26 5481 5481 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:54 5482 5482 msgid "Shipping" 5483 5483 msgstr "" 5484 5484 5485 5485 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:48 5486 5486 msgid "Shipping costs are calculated during checkout." 5487 5487 msgstr "" 5488 5488 5489 5489 #: includes/modules/shopify-like-checkout/templates/form-checkout.php:62 5490 5490 msgid "Shipping Method" 5491 5491 msgstr "" 5492 5492 5493 5493 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:40 5494 5494 msgid "Shipping options will be updated during checkout." 5495 5495 msgstr "" 5496 5496 5497 5497 #. $s shipping destination. 5498 5498 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:37 5499 5499 #, php-format 5500 5500 msgid "Shipping to %s." 5501 5501 msgstr "" 5502 5502 5503 5503 #: includes/admin/include/class.template-manager.php:263 5504 5504 #: includes/admin/include/class.template-manager.php:285 5505 5505 msgid "Shop" 5506 5506 msgstr "" 5507 5507 5508 5508 #: includes/addons/wl_onepage_slider.php:475 5509 5509 #: includes/addons/wl_onepage_slider.php:480 5510 5510 #: includes/addons/wl_onepage_slider.php:485 5511 5511 msgid "Shop now" 5512 5512 msgstr "" 5513 5513 5514 5514 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:90 5515 5515 msgid "Shop page button position" 5516 5516 msgstr "" 5517 5517 5518 5518 #: includes/admin/templates/dashboard-freevspro.php:101 5519 5519 msgid "Shopify Style Checkout" 5520 5520 msgstr "" 5521 5521 5522 5522 #: classes/class.widgets_control.php:40 includes/base.php:175 5523 5523 #: includes/admin/admin-init.php:99 includes/admin/admin-init.php:100 5524 5524 #: woolentor-blocks/includes/classes/Block_Patterns_Init.php:55 5525 5525 #: woolentor-blocks/production/includes/classes/Block_Patterns_Init.php:55 5526 5526 msgid "ShopLentor" 5527 5527 msgstr "" 5528 5528 5529 5529 #: includes/admin/templates/dashboard-gutenberg.php:28 5530 5530 msgid "ShopLentor Blocks" 5531 5531 msgstr "" 5532 5532 5533 5533 #: includes/admin/templates/dashboard-element.php:15 5534 5534 msgid "ShopLentor Element" 5535 5535 msgstr "" 5536 5536 5537 5537 #: includes/admin/templates/dashboard-freevspro.php:200 5538 5538 msgid "ShopLentor Free Vs Pro" 5539 5539 msgstr "" 5540 5540 5541 5541 #: includes/admin/templates/dashboard-sidebar.php:9 5542 5542 msgid "" 5543 5543 "ShopLentor is one of the most popular WooCommerce Elementor Addons on " 5544 5544 "WordPress.org. It has been downloaded more than 2,277,153 times and 100,000 " 5545 5545 "stores are using ShopLentor plugin. Why not you?" 5546 5546 msgstr "" 5547 5547 5548 5548 #: includes/admin/templates/dashboard-module.php:17 5549 5549 msgid "ShopLentor Module" 5550 5550 msgstr "" 5551 5551 5552 5552 #: includes/admin/templates/dashboard-sidebar.php:30 5553 5553 msgid "Shoplentor trustpilot rating" 5554 5554 msgstr "" 5555 5555 5556 5556 #. Name of the plugin 5557 5557 msgid "ShopLentor – WooCommerce Builder for Elementor & Gutenberg" 5558 5558 msgstr "" 5559 5559 5560 5560 #: includes/addons/product_flash_sale.php:176 5561 5561 #: includes/addons/product_flash_sale.php:328 5562 5562 #: includes/addons/wb_product_upsell.php:95 5563 5563 #: includes/addons/wb_archive_product.php:807 5564 5564 #: includes/addons/wl_archive_title.php:64 5565 5565 #: includes/addons/wl_archive_title.php:76 5566 5566 #: includes/addons/wl_archive_title.php:88 5567 5567 #: includes/addons/wb_product_related.php:111 5568 5568 #: includes/addons/wb_product_additional_information.php:54 5569 5569 msgid "Show" 5570 5570 msgstr "" 5571 5571 5572 5572 #: includes/addons/wl_recently_viewed_products.php:159 5573 5573 msgid "Show Add To Cart Button" 5574 5574 msgstr "" 5575 5575 5576 5576 #: includes/addons/wl_recently_viewed_products.php:169 5577 5577 msgid "Show Badge" 5578 5578 msgstr "" 5579 5579 5580 5580 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:74 5581 5581 msgid "Show button in product list page" 5582 5582 msgstr "" 5583 5583 5584 5584 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:82 5585 5585 msgid "Show button in single product page" 5586 5586 msgstr "" 5587 5587 5588 5588 #: includes/addons/product_image_accordion.php:72 5589 5589 #: includes/addons/product_accordion.php:93 5590 5590 #: includes/addons/product_curvy.php:128 5591 5591 msgid "Show By Id" 5592 5592 msgstr "" 5593 5593 5594 5594 #: includes/modules/ajax-search/widget-product-search-ajax.php:50 5595 5595 msgid "Show Category Dropdown" 5596 5596 msgstr "" 5597 5597 5598 5598 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:75 5599 5599 msgid "Show compare button in product list page." 5600 5600 msgstr "" 5601 5601 5602 5602 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:83 5603 5603 msgid "Show compare button in single product page." 5604 5604 msgstr "" 5605 5605 5606 5606 #: includes/addons/wl_category_grid.php:198 5607 5607 msgid "Show Count" 5608 5608 msgstr "" 5609 5609 5610 5610 #: includes/addons/product_flash_sale.php:174 5611 5611 msgid "Show Countdown Timer" 5612 5612 msgstr "" 5613 5613 5614 5614 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:60 5615 5615 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:88 5616 5616 msgid "Show Currency flags ?" 5617 5617 msgstr "" 5618 5618 5619 5619 #: includes/addons/wl_archive_title.php:73 5620 5620 #: includes/addons/wl_category_grid.php:213 5621 5621 msgid "Show Description" 5622 5622 msgstr "" 5623 5623 5624 5624 #: includes/addons/wl_recently_viewed_products.php:95 5625 5625 msgid "Show Empty Message" 5626 5626 msgstr "" 5627 5627 5628 5628 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:322 5629 5629 msgid "Show fields in table" 5630 5630 msgstr "" 5631 5631 5632 5632 #: includes/addons/wl_product_horizontal_filter.php:289 5633 5633 msgid "Show Filter Button" 5634 5634 msgstr "" 5635 5635 5636 5636 #: includes/addons/wl_product_horizontal_filter.php:281 5637 5637 msgid "Show Filter Label" 5638 5638 msgstr "" 5639 5639 5640 5640 #: includes/addons/wl_faq.php:190 5641 5641 msgid "Show First Item" 5642 5642 msgstr "" 5643 5643 5644 5644 #: includes/addons/wl_archive_title.php:85 5645 5645 msgid "Show Image" 5646 5646 msgstr "" 5647 5647 5648 5648 #: includes/addons/wl_category.php:167 includes/addons/wl_category_grid.php:160 5649 5649 msgid "Show items" 5650 5650 msgstr "" 5651 5651 5652 5652 #: includes/modules/ajax-search/widget-product-search-ajax.php:45 5653 5653 msgid "Show Number of Product:" 5654 5654 msgstr "" 5655 5655 5656 5656 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:605 5657 5657 msgid "Show on Browsers" 5658 5658 msgstr "" 5659 5659 5660 5660 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:582 5661 5661 msgid "Show on Devices" 5662 5662 msgstr "" 5663 5663 5664 5664 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:381 5665 5665 msgid "Show Only if the URL" 5666 5666 msgstr "" 5667 5667 5668 5668 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:446 5669 5669 msgid "Show Only on Browsers" 5670 5670 msgstr "" 5671 5671 5672 5672 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:424 5673 5673 msgid "Show Only on Devices" 5674 5674 msgstr "" 5675 5675 5676 5676 #: includes/addons/wl_recently_viewed_products.php:149 5677 5677 msgid "Show Price" 5678 5678 msgstr "" 5679 5679 5680 5680 #: includes/addons/wb_archive_product.php:111 5681 5681 msgid "Show Result Count" 5682 5682 msgstr "" 5683 5683 5684 5684 #: includes/addons/product_flash_sale.php:326 5685 5685 msgid "Show Stock Progress Bar" 5686 5686 msgstr "" 5687 5687 5688 5688 #: includes/addons/wl_archive_title.php:61 5689 5689 #: includes/addons/wl_recently_viewed_products.php:139 5690 5690 msgid "Show Title" 5691 5691 msgstr "" 5692 5692 5693 5693 #: includes/admin/templates/dashboard-freevspro.php:169 5694 5694 msgid "Side Mini Cart" 5695 5695 msgstr "" 5696 5696 5697 5697 #: includes/admin/templates/dashboard-welcome.php:66 5698 5698 msgid "" 5699 5699 "Sign up for our email list to get discounts, exclusive offers, the latest " 5700 5700 "items, and news in your inbox." 5701 5701 msgstr "" 5702 5702 5703 5703 #: includes/admin/include/class.template-manager.php:269 5704 5704 #: includes/admin/include/class.template-manager.php:293 5705 5705 msgid "Single" 5706 5706 msgstr "" 5707 5707 5708 5708 #: includes/addons/wl_category_grid.php:73 5709 5709 msgid "Single Category" 5710 5710 msgstr "" 5711 5711 5712 5712 #: includes/admin/templates/dashboard-freevspro.php:113 5713 5713 msgid "Single Product Ajax Add To Cart" 5714 5714 msgstr "" 5715 5715 5716 5716 #: includes/admin/templates/dashboard-freevspro.php:15 5717 5717 msgid "Single Product Individual Layout" 5718 5718 msgstr "" 5719 5719 5720 5720 #: includes/modules/popup-builder/includes/class-repeater-helper.php:23 5721 5721 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:140 5722 5722 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:150 5723 5723 msgid "Singular" 5724 5724 msgstr "" 5725 5725 5726 5726 #: includes/addons/wl_testimonial.php:201 5727 5727 #: includes/addons/wb_customer_review.php:189 5728 5728 #: includes/addons/wl_recently_viewed_products.php:81 5729 5729 #: includes/addons/wl_category_grid.php:257 5730 5730 msgid "Six" 5731 5731 msgstr "" 5732 5732 5733 5733 #: includes/addons/wb_product_qr_code.php:50 5734 5734 #: includes/addons/wl_product_filter.php:613 5735 5735 #: includes/addons/wb_wishsuite_table.php:332 5736 5736 msgid "Size" 5737 5737 msgstr "" 5738 5738 5739 5739 #: includes/addons/wb_product_sku.php:43 5740 5740 msgid "SKU" 5741 5741 msgstr "" 5742 5742 5743 5743 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:333 5744 5744 msgid "sku" 5745 5745 msgstr "" 5746 5746 5747 5747 #: classes/class.default_data.php:374 classes/class.default_data.php:395 5748 5748 #: includes/addons/wb_product_sku.php:167 5749 5749 msgid "SKU:" 5750 5750 msgstr "" 5751 5751 5752 5752 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:318 5753 5753 msgid "slideInDown" 5754 5754 msgstr "" 5755 5755 5756 5756 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:319 5757 5757 msgid "slideInLeft" 5758 5758 msgstr "" 5759 5759 5760 5760 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:320 5761 5761 msgid "slideInRight" 5762 5762 msgstr "" 5763 5763 5764 5764 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:317 5765 5765 msgid "slideInUp" 5766 5766 msgstr "" 5767 5767 5768 5768 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:375 5769 5769 msgid "slideOutDown" 5770 5770 msgstr "" 5771 5771 5772 5772 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:376 5773 5773 msgid "slideOutLeft" 5774 5774 msgstr "" 5775 5775 5776 5776 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:377 5777 5777 msgid "slideOutRight" 5778 5778 msgstr "" 5779 5779 5780 5780 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:374 5781 5781 msgid "slideOutUp" 5782 5782 msgstr "" 5783 5783 5784 5784 #: includes/addons/wl_onepage_slider.php:44 5785 5785 msgid "Slider" 5786 5786 msgstr "" 5787 5787 5788 5788 #: includes/addons/wl_testimonial.php:311 includes/addons/product_tabs.php:450 5789 5789 #: includes/addons/wl_category_grid.php:337 5790 5790 msgid "Slider Arrow" 5791 5791 msgstr "" 5792 5792 5793 5793 #: includes/addons/wl_testimonial.php:343 includes/addons/product_tabs.php:488 5794 5794 #: includes/addons/wl_category_grid.php:369 5795 5795 msgid "Slider autoplay" 5796 5796 msgstr "" 5797 5797 5798 5798 #: includes/addons/wl_testimonial.php:792 includes/addons/wl_brand.php:354 5799 5799 #: includes/addons/wl_brand.php:366 includes/addons/product_tabs.php:628 5800 5800 #: includes/addons/wl_category_grid.php:801 5801 5801 msgid "Slider Controller Style" 5802 5802 msgstr "" 5803 5803 5804 5804 #: includes/addons/wl_testimonial.php:321 includes/addons/product_tabs.php:463 5805 5805 #: includes/addons/wl_category_grid.php:347 5806 5806 msgid "Slider dots" 5807 5807 msgstr "" 5808 5808 5809 5809 #: includes/addons/wl_product_filter.php:604 5810 5810 msgid "Slider Handler" 5811 5811 msgstr "" 5812 5812 5813 5813 #: includes/addons/wl_testimonial.php:379 5814 5814 #: includes/addons/wl_testimonial.php:410 5815 5815 #: includes/addons/wl_testimonial.php:451 includes/addons/product_tabs.php:527 5816 5816 #: includes/addons/product_tabs.php:560 includes/addons/product_tabs.php:603 5817 5817 #: includes/addons/wl_category_grid.php:404 5818 5818 #: includes/addons/wl_category_grid.php:435 5819 5819 #: includes/addons/wl_category_grid.php:476 5820 5820 msgid "Slider item to scroll" 5821 5821 msgstr "" 5822 5822 5823 5823 #: includes/addons/wl_testimonial.php:300 5824 5824 #: includes/addons/wl_testimonial.php:399 5825 5825 #: includes/addons/wl_testimonial.php:440 includes/addons/product_tabs.php:435 5826 5826 #: includes/addons/product_tabs.php:548 includes/addons/product_tabs.php:591 5827 5827 #: includes/addons/wl_category_grid.php:326 5828 5828 #: includes/addons/wl_category_grid.php:424 5829 5829 #: includes/addons/wl_category_grid.php:465 5830 5830 msgid "Slider Items" 5831 5831 msgstr "" 5832 5832 5833 5833 #: includes/addons/wl_brand.php:65 5834 5834 #, php-format 5835 5835 msgid "" 5836 5836 "Slider layouts are available in the pro version. <a href=\"%s\" " 5837 5837 "target=\"_blank\">Get Pro</a>" 5838 5838 msgstr "" 5839 5839 5840 5840 #: includes/addons/wl_testimonial.php:169 5841 5841 #: includes/addons/wl_category_grid.php:225 5842 5842 msgid "Slider On" 5843 5843 msgstr "" 5844 5844 5845 5845 #: includes/addons/wl_testimonial.php:290 includes/addons/wl_brand.php:212 5846 5846 #: includes/addons/wl_brand.php:223 includes/addons/product_tabs.php:425 5847 5847 #: includes/addons/wl_category_grid.php:316 5848 5848 msgid "Slider Option" 5849 5849 msgstr "" 5850 5850 5851 5851 #: includes/addons/wl_category.php:154 includes/addons/wl_category_grid.php:147 5852 5852 msgid "Slug" 5853 5853 msgstr "" 5854 5854 5855 5855 #: includes/addons/wb_wishsuite_table.php:284 5856 5856 msgid "Social Share" 5857 5857 msgstr "" 5858 5858 5859 #: includes/helper-function.php:12 125859 #: includes/helper-function.php:1226 5860 5860 msgid "Sold" 5861 5861 msgstr "" 5862 5862 5863 5863 #: includes/addons/product_flash_sale.php:350 5864 5864 msgid "Sold Custom Text" 5865 5865 msgstr "" 5866 5866 5867 5867 #: includes/addons/product_flash_sale.php:920 5868 5868 msgid "Sold Label Color" 5869 5869 msgstr "" 5870 5870 5871 5871 #: includes/addons/product_flash_sale.php:352 5872 5872 #: includes/addons/product_flash_sale.php:1037 5873 5873 msgid "Sold:" 5874 5874 msgstr "" 5875 5875 5876 5876 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:113 5877 5877 msgid "" 5878 5878 "Some themes remove the above positions. In that case, custom position is " 5879 5879 "useful. Here you can place the custom/default hook name & priority to inject " 5880 5880 "& adjust the compare button for the product loop." 5881 5881 msgstr "" 5882 5882 5883 5883 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:161 5884 5884 msgid "" 5885 5885 "Some themes remove the above positions. In that case, custom position is " 5886 5886 "useful. Here you can place the custom/default hook name & priority to inject " 5887 5887 "& adjust the compare button for the single product page." 5888 5888 msgstr "" 5889 5889 5890 #: includes/admin/include/class.template-manager.php:60 15891 #: includes/admin/include/class.template-manager.php:7 095892 #: includes/admin/include/class.template-manager.php:7 535893 #: includes/admin/include/class.template-manager.php: 8775890 #: includes/admin/include/class.template-manager.php:608 5891 #: includes/admin/include/class.template-manager.php:723 5892 #: includes/admin/include/class.template-manager.php:774 5893 #: includes/admin/include/class.template-manager.php:905 5894 5894 msgid "Some thing is worng !" 5895 5895 msgstr "" 5896 5896 5897 5897 #: includes/addons/wb_product_suggest_price.php:179 5898 5898 #: includes/addons/wb_product_suggest_price.php:180 5899 5899 msgid "Something is wrong! try again" 5900 5900 msgstr "" 5901 5901 5902 5902 #. 1: quantity in stock 2: current quantity 5903 5903 #: includes/modules/backorder/class.backorder.php:197 5904 5904 #, php-format 5905 5905 msgid "" 5906 5906 "Sorry, \"%s\" has reached its maximum backorder limit — (%s available). You " 5907 5907 "already have %s in your cart." 5908 5908 msgstr "" 5909 5909 5910 5910 #: includes/modules/backorder/class.backorder.php:139 5911 5911 #, php-format 5912 5912 msgid "" 5913 5913 "Sorry, \"%s\" has reached its maximum backorder limit. Orders can be placed " 5914 5914 "for up to <b>%s</b> units." 5915 5915 msgstr "" 5916 5916 5917 5917 #: includes/modules/backorder/class.backorder.php:203 5918 5918 #, php-format 5919 5919 msgid "" 5920 5920 "Sorry, \"%s\" was not added to cart because it has reached the maximum " 5921 5921 "backorder limit. (%s available)." 5922 5922 msgstr "" 5923 5923 5924 5924 #: includes/modules/shopify-like-checkout/templates/payment.php:21 5925 5925 msgid "" 5926 5926 "Sorry, it seems that there are no available payment methods for your state. " 5927 5927 "Please contact us if you require assistance or wish to make alternate " 5928 5928 "arrangements." 5929 5929 msgstr "" 5930 5930 5931 5931 #: includes/modules/variation-swatch/includes/Frontend.php:131 5932 5932 msgid "" 5933 5933 "Sorry, no products matched your selection. Please choose a different " 5934 5934 "combination." 5935 5935 msgstr "" 5936 5936 5937 5937 #: includes/modules/variation-swatch/includes/Frontend.php:133 5938 5938 msgid "" 5939 5939 "Sorry, this product is unavailable. Please choose a different combination." 5940 5940 msgstr "" 5941 5941 5942 5942 #: includes/admin/include/template-library.php:340 5943 5943 msgid "Sorry, you are not allowed to install themes on this site." 5944 5944 msgstr "" 5945 5945 5946 5946 #: includes/addons/wl_product_horizontal_filter.php:44 5947 5947 #: includes/addons/wl_product_horizontal_filter.php:169 5948 5948 #: includes/addons/wl_product_horizontal_filter.php:170 5949 5949 #: includes/addons/wl_product_filter.php:45 5950 5950 msgid "Sort By" 5951 5951 msgstr "" 5952 5952 5953 #: includes/helper-function.php:10 705953 #: includes/helper-function.php:1084 5954 5954 msgid "Sort by average rating" 5955 5955 msgstr "" 5956 5956 5957 #: includes/helper-function.php:10 715957 #: includes/helper-function.php:1085 5958 5958 msgid "Sort by latest" 5959 5959 msgstr "" 5960 5960 5961 #: includes/helper-function.php:10 695961 #: includes/helper-function.php:1083 5962 5962 msgid "Sort by popularity" 5963 5963 msgstr "" 5964 5964 5965 #: includes/helper-function.php:10 735965 #: includes/helper-function.php:1087 5966 5966 msgid "Sort by price: high to low" 5967 5967 msgstr "" 5968 5968 5969 #: includes/helper-function.php:10 725969 #: includes/helper-function.php:1086 5970 5970 msgid "Sort by price: low to high" 5971 5971 msgstr "" 5972 5972 5973 5973 #: includes/addons/wl_breadcrumbs.php:134 5974 5974 #: includes/addons/wl_testimonial.php:227 5975 5975 #: includes/addons/wb_customer_review.php:215 5976 5976 #: includes/addons/wl_category_grid.php:283 5977 5977 msgid "Space" 5978 5978 msgstr "" 5979 5979 5980 5980 #: includes/addons/wb_product_add_to_cart.php:986 5981 5981 msgid "Space Between" 5982 5982 msgstr "" 5983 5983 5984 5984 #: includes/addons/wb_product_image.php:118 5985 5985 #: includes/addons/wb_product_categories.php:132 5986 5986 #: includes/addons/wb_product_sku.php:120 5987 5987 #: includes/addons/wb_product_add_to_cart.php:412 5988 5988 #: includes/addons/wb_product_tags.php:132 5989 5989 msgid "Spacing" 5990 5990 msgstr "" 5991 5991 5992 #: includes/helper-function.php:6 385992 #: includes/helper-function.php:652 5993 5993 msgid "span" 5994 5994 msgstr "" 5995 5995 5996 5996 #: classes/class.widgets_control.php:232 5997 5997 #: woolentor-blocks/includes/classes/Blocks_List.php:46 5998 5998 #: woolentor-blocks/production/includes/classes/Blocks_List.php:46 5999 5999 msgid "Special Day Offer" 6000 6000 msgstr "" 6001 6001 6002 6002 #: includes/admin/templates/dashboard-freevspro.php:55 6003 6003 msgid "Special Day offer banner" 6004 6004 msgstr "" 6005 6005 6006 6006 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:77 6007 6007 msgid "Square" 6008 6008 msgstr "" 6009 6009 6010 6010 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:189 6011 6011 msgid "Squared" 6012 6012 msgstr "" 6013 6013 6014 6014 #: includes/addons/wb_product_rating.php:51 6015 6015 msgid "Star Color" 6016 6016 msgstr "" 6017 6017 6018 6018 #: includes/addons/wb_archive_product.php:513 6019 6019 msgid "Star Size" 6020 6020 msgstr "" 6021 6021 6022 6022 #: includes/addons/wl_store_features.php:120 6023 6023 msgid "Start from $100" 6024 6024 msgstr "" 6025 6025 6026 6026 #: includes/admin/templates/dashboard-freevspro.php:79 6027 6027 msgid "Sticky Add to cart" 6028 6028 msgstr "" 6029 6029 6030 6030 #: classes/class.default_data.php:489 6031 6031 msgid "Stock availability does not exist this product." 6032 6032 msgstr "" 6033 6033 6034 6034 #: includes/addons/product_flash_sale.php:319 6035 6035 msgid "Stock Progress Bar" 6036 6036 msgstr "" 6037 6037 6038 6038 #: includes/addons/product_flash_sale.php:887 6039 6039 msgid "Stock Progress Style" 6040 6040 msgstr "" 6041 6041 6042 6042 #: includes/addons/wl_store_features.php:41 6043 6043 #: woolentor-blocks/includes/classes/Blocks_List.php:53 6044 6044 #: woolentor-blocks/production/includes/classes/Blocks_List.php:53 6045 6045 msgid "Store Feature" 6046 6046 msgstr "" 6047 6047 6048 6048 #: classes/class.widgets_control.php:240 6049 6049 msgid "Store Features" 6050 6050 msgstr "" 6051 6051 6052 6052 #: includes/addons/wb_product_short_description.php:45 6053 6053 #: includes/addons/wl_breadcrumbs.php:66 6054 6054 #: includes/addons/wb_wc_multicurrency.php:54 6055 6055 #: includes/addons/wl_onepage_slider.php:152 6056 6056 #: includes/addons/special_day_offer.php:261 6057 6057 #: includes/addons/wl_testimonial.php:52 6058 6058 #: includes/addons/wl_archive_title.php:100 6059 6059 #: includes/addons/product_image_accordion.php:272 6060 6060 #: includes/addons/wb_product_description.php:44 6061 6061 #: includes/addons/product_accordion.php:325 6062 6062 #: includes/addons/wl_category.php:237 includes/addons/product_curvy.php:61 6063 6063 #: includes/addons/product_curvy.php:332 6064 6064 #: includes/addons/wb_product_rating.php:44 6065 6065 #: includes/addons/wb_image_marker.php:82 6066 6066 #: includes/addons/wb_customer_review.php:50 6067 6067 #: includes/addons/wb_product_stock.php:44 includes/addons/product_tabs.php:866 6068 6068 #: includes/addons/add_banner.php:50 includes/addons/add_banner.php:139 6069 6069 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:47 6070 6070 msgid "Style" 6071 6071 msgstr "" 6072 6072 6073 6073 #: includes/addons/wb_image_marker.php:90 6074 6074 #: includes/addons/wl_category_grid.php:59 6075 6075 msgid "Style Five" 6076 6076 msgstr "" 6077 6077 6078 6078 #: includes/addons/wl_testimonial.php:59 includes/addons/wb_image_marker.php:89 6079 6079 #: includes/addons/wb_customer_review.php:57 6080 6080 #: includes/addons/wl_category_grid.php:58 6081 6081 msgid "Style Four" 6082 6082 msgstr "" 6083 6083 6084 6084 #: includes/addons/product_flash_sale.php:190 6085 6085 #: includes/addons/wl_testimonial.php:56 includes/addons/product_curvy.php:65 6086 6086 #: includes/addons/wb_image_marker.php:86 6087 6087 #: includes/addons/wb_customer_review.php:54 6088 6088 #: includes/addons/product_tabs.php:65 includes/addons/add_banner.php:54 6089 6089 #: includes/addons/wl_category_grid.php:55 6090 6090 msgid "Style One" 6091 6091 msgstr "" 6092 6092 6093 6093 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:58 6094 6094 msgid "Style Settings" 6095 6095 msgstr "" 6096 6096 6097 6097 #: includes/addons/wl_testimonial.php:58 includes/addons/product_curvy.php:67 6098 6098 #: includes/addons/wb_image_marker.php:88 6099 6099 #: includes/addons/wb_customer_review.php:56 6100 6100 #: includes/addons/product_tabs.php:67 includes/addons/wl_category_grid.php:57 6101 6101 msgid "Style Three" 6102 6102 msgstr "" 6103 6103 6104 6104 #: includes/addons/product_flash_sale.php:191 6105 6105 #: includes/addons/wl_testimonial.php:57 includes/addons/product_curvy.php:66 6106 6106 #: includes/addons/wb_image_marker.php:87 6107 6107 #: includes/addons/wb_customer_review.php:55 6108 6108 #: includes/addons/product_tabs.php:66 includes/addons/add_banner.php:55 6109 6109 #: includes/addons/wl_category_grid.php:56 6110 6110 msgid "Style Two" 6111 6111 msgstr "" 6112 6112 6113 6113 #: includes/addons/wb_wishsuite_counter.php:57 6114 6114 msgid "Styles" 6115 6115 msgstr "" 6116 6116 6117 6117 #: includes/addons/wl_onepage_slider.php:83 6118 6118 #: includes/addons/wl_onepage_slider.php:253 6119 6119 #: includes/addons/special_day_offer.php:384 6120 6120 #: includes/addons/wl_store_features.php:118 6121 6121 #: includes/addons/wl_store_features.php:501 includes/addons/add_banner.php:188 6122 6122 msgid "Sub Title" 6123 6123 msgstr "" 6124 6124 6125 6125 #: includes/addons/wb_product_suggest_price.php:99 6126 6126 #: includes/addons/wb_product_suggest_price.php:100 6127 6127 #: woolentor-blocks/src/blocks/product-reviews/index.php:52 6128 6128 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:52 6129 6129 msgid "Submit" 6130 6130 msgstr "" 6131 6131 6132 6132 #: includes/addons/wl_product_horizontal_filter.php:639 6133 6133 #: includes/addons/wb_product_suggest_price.php:393 6134 6134 #: includes/addons/wl_product_filter.php:318 6135 6135 msgid "Submit Button" 6136 6136 msgstr "" 6137 6137 6138 6138 #: includes/modules/ajax-search/base.php:170 6139 6139 msgctxt "submit button" 6140 6140 msgid "Search" 6141 6141 msgstr "" 6142 6142 6143 6143 #: includes/addons/wb_product_suggest_price.php:97 6144 6144 msgid "Submit Button Text" 6145 6145 msgstr "" 6146 6146 6147 6147 #: includes/admin/templates/dashboard-welcome.php:68 6148 6148 msgid "Subscribe" 6149 6149 msgstr "" 6150 6150 6151 6151 #: includes/admin/templates/dashboard-welcome.php:65 6152 6152 msgid "Subscribe and Get Offers" 6153 6153 msgstr "" 6154 6154 6155 6155 #: includes/addons/special_day_offer.php:95 6156 6156 msgid "Subtitle" 6157 6157 msgstr "" 6158 6158 6159 6159 #: includes/modules/shopify-like-checkout/templates/review-order.php:12 6160 6160 msgid "Subtotal" 6161 6161 msgstr "" 6162 6162 6163 6163 #: includes/addons/wb_product_suggest_price.php:165 6164 6164 msgid "Success Message" 6165 6165 msgstr "" 6166 6166 6167 6167 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:646 6168 6168 msgid "Successfully Settings Saved." 6169 6169 msgstr "" 6170 6170 6171 6171 #: includes/addons/wb_product_suggest_price.php:43 6172 6172 #: includes/addons/wb_product_suggest_price.php:63 6173 6173 #: includes/addons/wb_product_suggest_price.php:64 6174 6174 msgid "Suggest Price" 6175 6175 msgstr "" 6176 6176 6177 6177 #: includes/admin/templates/dashboard-widget.php:100 6178 6178 #: includes/admin/templates/dashboard-welcome.php:41 6179 6179 msgid "Support" 6180 6180 msgstr "" 6181 6181 6182 6182 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:79 6183 6183 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:377 6184 6184 msgid "Swatch Color" 6185 6185 msgstr "" 6186 6186 6187 6187 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:94 6188 6188 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:389 6189 6189 msgid "Swatch Color 2" 6190 6190 msgstr "" 6191 6191 6192 6192 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:42 6193 6193 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:395 6194 6194 msgid "Swatch Image" 6195 6195 msgstr "" 6196 6196 6197 6197 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:416 6198 6198 msgid "Swatch Image Size" 6199 6199 msgstr "" 6200 6200 6201 6201 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:50 6202 6202 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:213 6203 6203 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:323 6204 6204 msgid "Swatch Tooltip" 6205 6205 msgstr "" 6206 6206 6207 6207 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:163 6208 6208 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:298 6209 6209 msgid "Swatch Type" 6210 6210 msgstr "" 6211 6211 6212 6212 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:34 6213 6213 msgid "Swatches Settings" 6214 6214 msgstr "" 6215 6215 6216 6216 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:289 6217 6217 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:346 6218 6218 msgid "swing" 6219 6219 msgstr "" 6220 6220 6221 6221 #: includes/addons/wb_product_data_tab.php:87 6222 6222 msgid "Tab Menu" 6223 6223 msgstr "" 6224 6224 6225 6225 #: includes/addons/wb_product_data_tab.php:44 6226 6226 msgid "Tab Menu Box" 6227 6227 msgstr "" 6228 6228 6229 6229 #: includes/addons/product_tabs.php:348 6230 6230 msgid "Tab Menu margin" 6231 6231 msgstr "" 6232 6232 6233 6233 #: includes/addons/product_tabs.php:336 6234 6234 msgid "Tab Menu padding" 6235 6235 msgstr "" 6236 6236 6237 6237 #: includes/addons/product_tabs.php:230 6238 6238 msgid "Tab Menu Style" 6239 6239 msgstr "" 6240 6240 6241 6241 #: includes/addons/wb_wishsuite_table.php:119 6242 6242 msgid "Table Body" 6243 6243 msgstr "" 6244 6244 6245 6245 #: includes/addons/wb_just_table.php:114 6246 6246 msgid "Table Content" 6247 6247 msgstr "" 6248 6248 6249 6249 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:534 6250 6250 msgid "Table custom style" 6251 6251 msgstr "" 6252 6252 6253 6253 #: includes/addons/wb_wishsuite_table.php:68 6254 6254 msgid "Table Heading" 6255 6255 msgstr "" 6256 6256 6257 6257 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:54 6258 6258 msgid "Table Settings" 6259 6259 msgstr "" 6260 6260 6261 6261 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:419 6262 6262 msgid "Table style" 6263 6263 msgstr "" 6264 6264 6265 6265 #: includes/addons/wl_testimonial.php:390 includes/addons/product_tabs.php:539 6266 6266 #: includes/addons/wl_category_grid.php:415 6267 6267 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:432 6268 6268 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:596 6269 6269 msgid "Tablet" 6270 6270 msgstr "" 6271 6271 6272 6272 #: includes/addons/wl_testimonial.php:421 includes/addons/product_tabs.php:572 6273 6273 #: includes/addons/wl_category_grid.php:446 6274 6274 msgid "Tablet Resolution" 6275 6275 msgstr "" 6276 6276 6277 6277 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:290 6278 6278 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:347 6279 6279 msgid "tada" 6280 6280 msgstr "" 6281 6281 6282 6282 #: classes/class.default_data.php:380 classes/class.default_data.php:409 6283 6283 #: includes/addons/wb_product_tags.php:179 6284 6284 msgid "Tag:" 6285 6285 msgid_plural "Tags:" 6286 6286 msgstr[0] "" 6287 6287 msgstr[1] "" 6288 6288 6289 6289 #: includes/addons/wb_product_tags.php:43 6290 6290 msgid "Tags" 6291 6291 msgstr "" 6292 6292 6293 6293 #: includes/admin/include/class.template_cpt.php:47 6294 6294 #: includes/admin/include/class.template_cpt.php:48 6295 6295 msgid "Template" 6296 6296 msgstr "" 6297 6297 6298 6298 #: includes/admin/include/class.template_cpt.php:49 6299 6299 msgid "Template Archives" 6300 6300 msgstr "" 6301 6301 6302 6302 #: includes/admin/include/class.template_cpt.php:50 6303 6303 msgid "Template Attributes" 6304 6304 msgstr "" 6305 6305 6306 6306 #: includes/admin/include/class.template-manager.php:74 6307 6307 #: includes/admin/include/class.template-manager.php:75 6308 6308 #: includes/admin/include/class.template_cpt.php:75 6309 6309 msgid "Template Builder" 6310 6310 msgstr "" 6311 6311 6312 #: includes/admin/include/class.template-manager.php:8 706312 #: includes/admin/include/class.template-manager.php:898 6313 6313 msgid "Template has been imported" 6314 6314 msgstr "" 6315 6315 6316 #: includes/admin/include/class.template-manager.php:57 26316 #: includes/admin/include/class.template-manager.php:579 6317 6317 msgid "Template has been inserted" 6318 6318 msgstr "" 6319 6319 6320 #: includes/admin/include/class.template-manager.php:6 366321 #: includes/admin/include/class.template-manager.php:7 456320 #: includes/admin/include/class.template-manager.php:643 6321 #: includes/admin/include/class.template-manager.php:766 6322 6322 msgid "Template has been updated" 6323 6323 msgstr "" 6324 6324 6325 6325 #: includes/admin/include/template-library.php:34 6326 6326 #: includes/admin/include/template-library.php:35 6327 6327 #: includes/admin/templates/dashboard-freevspro.php:43 6328 6328 msgid "Template Library" 6329 6329 msgstr "" 6330 6330 6331 6331 #: includes/admin/include/class.template-manager.php:460 6332 6332 msgid "Template Settings" 6333 6333 msgstr "" 6334 6334 6335 6335 #: includes/admin/include/class.template_cpt.php:52 6336 6336 #: includes/admin/include/template-library/templates_list.php:11 6337 6337 msgid "Templates" 6338 6338 msgstr "" 6339 6339 6340 6340 #: includes/admin/include/class.template_cpt.php:69 6341 6341 msgid "Templates list" 6342 6342 msgstr "" 6343 6343 6344 6344 #: includes/admin/include/class.template_cpt.php:70 6345 6345 msgid "Templates list navigation" 6346 6346 msgstr "" 6347 6347 6348 6348 #: includes/addons/wl_testimonial.php:205 6349 6349 #: includes/addons/wb_customer_review.php:193 6350 6350 #: includes/addons/wl_recently_viewed_products.php:85 6351 6351 #: includes/addons/wl_category_grid.php:261 6352 6352 msgid "Ten" 6353 6353 msgstr "" 6354 6354 6355 6355 #: classes/class.widgets_control.php:292 includes/addons/wl_testimonial.php:45 6356 6356 #: woolentor-blocks/includes/classes/Blocks_List.php:110 6357 6357 #: woolentor-blocks/production/includes/classes/Blocks_List.php:110 6358 6358 msgid "Testimonial" 6359 6359 msgstr "" 6360 6360 6361 6361 #: includes/addons/wb_wishsuite_counter.php:142 6362 6362 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:53 6363 6363 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:218 6364 6364 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:328 6365 6365 msgid "Text" 6366 6366 msgstr "" 6367 6367 6368 6368 #: includes/addons/wb_wishsuite_counter.php:45 6369 6369 msgid "Text after \"Wishlist\" icon" 6370 6370 msgstr "" 6371 6371 6372 6372 #: includes/addons/wb_product_short_description.php:82 6373 6373 #: includes/addons/wl_breadcrumbs.php:101 6374 6374 #: includes/addons/wb_product_meta.php:50 6375 6375 #: includes/addons/wb_product_data_tab.php:102 6376 6376 #: includes/addons/wb_product_data_tab.php:194 6377 6377 #: includes/addons/wb_product_data_tab.php:272 6378 6378 #: includes/addons/wb_archive_product.php:822 6379 6379 #: includes/addons/wb_product_call_for_price.php:92 6380 6380 #: includes/addons/wb_product_call_for_price.php:177 6381 6381 #: includes/addons/wb_product_description.php:80 6382 6382 #: includes/addons/wb_product_suggest_price.php:200 6383 6383 #: includes/addons/wb_product_suggest_price.php:302 6384 6384 #: includes/addons/wb_product_suggest_price.php:565 6385 6385 #: includes/addons/wb_product_suggest_price.php:650 6386 6386 #: includes/addons/wb_product_suggest_price.php:708 6387 6387 #: includes/addons/wb_product_suggest_price.php:793 6388 6388 #: includes/addons/wb_product_stock.php:51 6389 6389 #: includes/addons/wb_product_add_to_cart.php:1050 6390 6390 #: includes/addons/wb_product_add_to_cart.php:1139 6391 6391 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:184 6392 6392 msgid "Text Color" 6393 6393 msgstr "" 6394 6394 6395 6395 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:302 6396 6396 msgid "Text to show after link is copied" 6397 6397 msgstr "" 6398 6398 6399 6399 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:365 6400 6400 msgid "Text will be displayed if user don't add any products to compare" 6401 6401 msgstr "" 6402 6402 6403 6403 #: includes/addons/wb_product_suggest_price.php:294 6404 6404 msgid "Textarea" 6405 6405 msgstr "" 6406 6406 6407 6407 #: includes/addons/wb_product_suggest_price.php:167 6408 6408 #: includes/addons/wb_product_suggest_price.php:168 6409 6409 msgid "Thank you for contacting with us" 6410 6410 msgstr "" 6411 6411 6412 6412 #: includes/admin/include/diagnostic-data.php:518 6413 6413 #, php-format 6414 6414 msgid "Thank you very much for supporting %2$s%1$s%3$s." 6415 6415 msgstr "" 6416 6416 6417 6417 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:123 6418 6418 msgid "The attribute with Maximum variations count" 6419 6419 msgstr "" 6420 6420 6421 6421 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:124 6422 6422 msgid "The attribute with Minimum variations count" 6423 6423 msgstr "" 6424 6424 6425 6425 #: includes/addons/wl_faq.php:163 6426 6426 msgid "The Basics Of Western Astrology Explained" 6427 6427 msgstr "" 6428 6428 6429 6429 #: woolentor-blocks/includes/classes/Block_Patterns_Init.php:121 6430 6430 #: woolentor-blocks/production/includes/classes/Block_Patterns_Init.php:121 6431 6431 #, php-format 6432 6432 msgid "" 6433 6433 "The block pattern fails to register because the \"Slug\" field is missing in " 6434 6434 "this pattern \"%s\"" 6435 6435 msgstr "" 6436 6436 6437 6437 #: woolentor-blocks/includes/classes/Block_Patterns_Init.php:136 6438 6438 #: woolentor-blocks/production/includes/classes/Block_Patterns_Init.php:136 6439 6439 #, php-format 6440 6440 msgid "" 6441 6441 "The block pattern fails to register because the \"Title\" field is missing " 6442 6442 "in this pattern \"%s\"" 6443 6443 msgstr "" 6444 6444 6445 6445 #: classes/class.default_data.php:288 6446 6446 msgid "The description does not set this product." 6447 6447 msgstr "" 6448 6448 6449 6449 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:122 6450 6450 msgid "The First attribute" 6451 6451 msgstr "" 6452 6452 6453 6453 #: includes/addons/wl_testimonial.php:463 includes/addons/product_tabs.php:616 6454 6454 #: includes/addons/wl_category_grid.php:488 6455 6455 msgid "The resolution to mobile." 6456 6456 msgstr "" 6457 6457 6458 6458 #: includes/addons/wl_testimonial.php:422 includes/addons/product_tabs.php:573 6459 6459 #: includes/addons/wl_category_grid.php:447 6460 6460 msgid "The resolution to the tablet." 6461 6461 msgstr "" 6462 6462 6463 6463 #: classes/class.default_data.php:275 6464 6464 msgid "The short description does not set this product." 6465 6465 msgstr "" 6466 6466 6467 6467 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:412 6468 6468 msgid "Theme" 6469 6469 msgstr "" 6470 6470 6471 6471 #: includes/admin/include/template-library.php:351 6472 6472 msgid "Theme Activated" 6473 6473 msgstr "" 6474 6474 6475 6475 #: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:308 6476 6476 #: includes/modules/shopify-like-checkout/templates/cart-shipping.php:53 6477 6477 msgid "" 6478 6478 "There are no shipping options available. Please ensure that your address has " 6479 6479 "been entered correctly, or contact us if you need any help." 6480 6480 msgstr "" 6481 6481 6482 6482 #: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:126 6483 6483 msgid "This is a pro features" 6484 6484 msgstr "" 6485 6485 6486 6486 #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:839 6487 6487 #: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:921 6488 6488 msgid "This product is currently out of stock and unavailable." 6489 6489 msgstr "" 6490 6490 6491 6491 #: includes/addons/product_accordion.php:210 6492 6492 msgid "This text effect only for simple product." 6493 6493 msgstr "" 6494 6494 6495 6495 #: includes/addons/wl_testimonial.php:198 6496 6496 #: includes/addons/wb_customer_review.php:186 6497 6497 #: includes/addons/wl_recently_viewed_products.php:78 6498 6498 #: includes/addons/wl_category_grid.php:254 6499 6499 msgid "Three" 6500 6500 msgstr "" 6501 6501 6502 6502 #: includes/addons/product_flash_sale.php:222 6503 6503 msgid "Thumbnail Bottom" 6504 6504 msgstr "" 6505 6505 6506 6506 #: includes/addons/product_flash_sale.php:214 6507 6507 msgid "Thumbnail Left" 6508 6508 msgstr "" 6509 6509 6510 6510 #: includes/addons/product_flash_sale.php:218 6511 6511 msgid "Thumbnail Right" 6512 6512 msgstr "" 6513 6513 6514 6514 #: includes/addons/wb_product_image.php:89 6515 6515 #: includes/addons/wl_product_video_gallery.php:163 6516 6516 msgid "Thumbnails" 6517 6517 msgstr "" 6518 6518 6519 6519 #: includes/addons/wb_product_image.php:98 6520 6520 msgid "Thumbnails Border" 6521 6521 msgstr "" 6522 6522 6523 6523 #: includes/addons/wl_product_video_gallery.php:57 6524 6524 msgid "Thumbnails Position" 6525 6525 msgstr "" 6526 6526 6527 #: includes/helper-function.php:12 74includes/addons/wl_faq.php:686527 #: includes/helper-function.php:1288 includes/addons/wl_faq.php:68 6528 6528 #: includes/addons/wl_faq.php:342 includes/addons/product_flash_sale.php:136 6529 6529 #: includes/addons/product_flash_sale.php:772 6530 6530 #: includes/addons/wl_product_horizontal_filter.php:249 6531 6531 #: includes/addons/wl_product_horizontal_filter.php:422 6532 6532 #: includes/addons/wl_onepage_slider.php:73 6533 6533 #: includes/addons/wl_onepage_slider.php:211 6534 6534 #: includes/addons/wb_product_upsell.php:67 6535 6535 #: includes/addons/special_day_offer.php:86 6536 6536 #: includes/addons/special_day_offer.php:325 6537 6537 #: includes/addons/wl_store_features.php:108 6538 6538 #: includes/addons/wl_store_features.php:455 6539 6539 #: includes/addons/wb_archive_product.php:128 6540 6540 #: includes/addons/wb_archive_product.php:310 6541 6541 #: includes/addons/wl_archive_title.php:135 6542 6542 #: includes/addons/product_image_accordion.php:149 6543 6543 #: includes/addons/wb_product_related.php:82 6544 6544 #: includes/addons/product_accordion.php:170 6545 6545 #: includes/addons/wl_category.php:340 includes/addons/product_curvy.php:205 6546 6546 #: includes/addons/wl_product_filter.php:94 6547 6547 #: includes/addons/wl_product_filter.php:180 6548 6548 #: includes/addons/wb_image_marker.php:304 6549 6549 #: includes/addons/wl_recently_viewed_products.php:307 6550 6550 #: includes/addons/wb_wishsuite_table.php:135 6551 6551 #: includes/addons/product_tabs.php:164 includes/addons/product_tabs.php:954 6552 6552 #: includes/addons/add_banner.php:147 includes/addons/wl_category_grid.php:602 6553 6553 msgid "Title" 6554 6554 msgstr "" 6555 6555 6556 6556 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:327 6557 6557 msgid "title" 6558 6558 msgstr "" 6559 6559 6560 6560 #: includes/addons/product_accordion.php:385 6561 6561 msgid "Title Area" 6562 6562 msgstr "" 6563 6563 6564 6564 #: includes/addons/product_flash_sale.php:420 6565 6565 #: includes/addons/wl_archive_title.php:144 6566 6566 #: includes/addons/product_image_accordion.php:374 6567 6567 #: includes/addons/product_accordion.php:415 6568 6568 #: includes/addons/product_curvy.php:427 includes/addons/product_curvy.php:441 6569 6569 #: includes/addons/wb_product_categories.php:95 6570 6570 #: includes/addons/wb_product_title.php:70 6571 6571 #: includes/addons/wb_product_sku.php:95 6572 6572 #: includes/addons/wb_wishsuite_table.php:292 6573 6573 #: includes/addons/wb_product_tags.php:95 6574 6574 msgid "Title Color" 6575 6575 msgstr "" 6576 6576 6577 6577 #: includes/addons/product_tabs.php:1000 includes/addons/product_tabs.php:1082 6578 6578 msgid "Title color" 6579 6579 msgstr "" 6580 6580 6581 6581 #: includes/addons/product_flash_sale.php:441 6582 6582 #: includes/addons/product_image_accordion.php:386 6583 6583 #: includes/addons/product_curvy.php:456 6584 6584 msgid "Title Hover Color" 6585 6585 msgstr "" 6586 6586 6587 6587 #: includes/addons/wl_archive_title.php:50 6588 6588 #: includes/addons/wb_product_title.php:49 6589 6589 #: includes/addons/wl_recently_viewed_products.php:179 6590 6590 msgid "Title HTML Tag" 6591 6591 msgstr "" 6592 6592 6593 6593 #: includes/modules/ajax-search/widget-product-search-ajax.php:41 6594 6594 msgid "Title:" 6595 6595 msgstr "" 6596 6596 6597 6597 #: includes/addons/wl_product_horizontal_filter.php:214 6598 6598 #: includes/addons/wl_product_horizontal_filter.php:229 6599 6599 msgid "to" 6600 6600 msgstr "" 6601 6601 6602 6602 #: includes/addons/product_flash_sale.php:1224 6603 6603 msgid "To show the stock progress bar. Set the initial stock amount from" 6604 6604 msgstr "" 6605 6605 6606 6606 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:71 6607 6607 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:235 6608 6608 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:345 6609 6609 msgid "Tooltip Image" 6610 6610 msgstr "" 6611 6611 6612 6612 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:256 6613 6613 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:366 6614 6614 msgid "Tooltip Image Size" 6615 6615 msgstr "" 6616 6616 6617 6617 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:63 6618 6618 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:227 6619 6619 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:337 6620 6620 msgid "Tooltip Text" 6621 6621 msgstr "" 6622 6622 6623 6623 #: includes/addons/special_day_offer.php:54 6624 6624 #: includes/addons/wl_product_video_gallery.php:69 6625 6625 #: includes/admin/include/template-library/templates_list.php:54 6626 6626 #: includes/admin/include/template-library/templates_list.php:57 6627 6627 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:411 6628 6628 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:474 6629 6629 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:488 6630 6630 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:502 6631 6631 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:523 6632 6632 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:553 6633 6633 msgid "Top" 6634 6634 msgstr "" 6635 6635 6636 6636 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:97 6637 6637 msgid "Top On Image" 6638 6638 msgstr "" 6639 6639 6640 #: includes/helper-function.php:12 806640 #: includes/helper-function.php:1294 6641 6641 msgid "Top Rated" 6642 6642 msgstr "" 6643 6643 6644 6644 #: includes/addons/product_image_accordion.php:70 6645 6645 #: includes/addons/product_accordion.php:91 6646 6646 #: includes/addons/product_curvy.php:126 includes/addons/product_tabs.php:83 6647 6647 msgid "Top Rated Products" 6648 6648 msgstr "" 6649 6649 6650 #: includes/helper-function.php:12 796650 #: includes/helper-function.php:1293 6651 6651 msgid "Top Seller" 6652 6652 msgstr "" 6653 6653 6654 6654 #: includes/modules/shopify-like-checkout/templates/review-order.php:58 6655 6655 msgid "Total" 6656 6656 msgstr "" 6657 6657 6658 6658 #: includes/modules/popup-builder/includes/class-repeater-helper.php:321 6659 6659 msgid "Total price is greater than X ammount" 6660 6660 msgstr "" 6661 6661 6662 6662 #: includes/modules/popup-builder/includes/class-repeater-helper.php:322 6663 6663 msgid "Total price is Less than X ammount" 6664 6664 msgstr "" 6665 6665 6666 6666 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:109 6667 6667 msgid "Triggers" 6668 6668 msgstr "" 6669 6669 6670 6670 #: includes/addons/wl_testimonial.php:197 6671 6671 #: includes/addons/wb_customer_review.php:185 6672 6672 #: includes/addons/wl_recently_viewed_products.php:77 6673 6673 #: includes/addons/wl_category_grid.php:253 6674 6674 msgid "Two" 6675 6675 msgstr "" 6676 6676 6677 6677 #: includes/admin/include/class.template-manager.php:96 6678 6678 #: includes/admin/include/class.template-manager.php:456 6679 6679 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:555 6680 6680 msgid "Type" 6681 6681 msgstr "" 6682 6682 6683 6683 #: includes/addons/wl_onepage_slider.php:105 6684 6684 msgid "Type your button link here" 6685 6685 msgstr "" 6686 6686 6687 6687 #: includes/addons/wl_onepage_slider.php:95 6688 6688 msgid "Type your button text here" 6689 6689 msgstr "" 6690 6690 6691 6691 #: includes/addons/product_image_accordion.php:192 6692 6692 #: includes/addons/product_accordion.php:213 6693 6693 msgid "Type your cart button text" 6694 6694 msgstr "" 6695 6695 6696 6696 #: includes/addons/wl_faq.php:71 6697 6697 msgid "Type your faq title here" 6698 6698 msgstr "" 6699 6699 6700 6700 #: includes/addons/wl_onepage_slider.php:85 6701 6701 msgid "Type your sub title here" 6702 6702 msgstr "" 6703 6703 6704 6704 #: includes/addons/wl_onepage_slider.php:75 includes/addons/wl_brand.php:77 6705 6705 msgid "Type your title here" 6706 6706 msgstr "" 6707 6707 6708 6708 #: includes/addons/wl_faq.php:452 includes/addons/wl_faq.php:565 6709 6709 #: includes/addons/wb_product_short_description.php:95 6710 6710 #: includes/addons/wb_product_price.php:63 6711 6711 #: includes/addons/wb_product_price.php:104 6712 6712 #: includes/addons/wb_wishsuite_counter.php:168 6713 6713 #: includes/addons/wl_product_horizontal_filter.php:445 6714 6714 #: includes/addons/wl_product_horizontal_filter.php:512 6715 6715 #: includes/addons/wl_product_horizontal_filter.php:598 6716 6716 #: includes/addons/wb_wc_multicurrency.php:90 6717 6717 #: includes/addons/wl_onepage_slider.php:232 6718 6718 #: includes/addons/wl_onepage_slider.php:274 6719 6719 #: includes/addons/wl_onepage_slider.php:338 6720 6720 #: includes/addons/wb_product_upsell.php:132 6721 6721 #: includes/addons/special_day_offer.php:349 6722 6722 #: includes/addons/special_day_offer.php:408 6723 6723 #: includes/addons/special_day_offer.php:467 6724 6724 #: includes/addons/special_day_offer.php:526 6725 6725 #: includes/addons/special_day_offer.php:585 6726 6726 #: includes/addons/special_day_offer.php:652 6727 6727 #: includes/addons/wb_product_meta.php:84 6728 6728 #: includes/addons/wl_store_features.php:478 6729 6729 #: includes/addons/wl_store_features.php:524 6730 6730 #: includes/addons/wb_product_data_tab.php:137 6731 6731 #: includes/addons/wb_product_data_tab.php:229 6732 6732 #: includes/addons/wb_product_data_tab.php:264 includes/addons/wb_whols.php:68 6733 6733 #: includes/addons/wb_archive_catalog_ordering.php:53 6734 6734 #: includes/addons/wb_product_related.php:144 6735 6735 #: includes/addons/wb_product_call_for_price.php:104 6736 6736 #: includes/addons/wb_archive_result_count.php:71 6737 6737 #: includes/addons/wb_product_description.php:92 6738 6738 #: includes/addons/wl_category.php:373 includes/addons/product_curvy.php:592 6739 6739 #: includes/addons/wb_just_table.php:87 6740 6740 #: includes/addons/wb_product_categories.php:52 6741 6741 #: includes/addons/wb_product_suggest_price.php:577 6742 6742 #: includes/addons/wb_product_suggest_price.php:720 6743 6743 #: includes/addons/wb_product_title.php:82 6744 6744 #: includes/addons/wl_product_filter.php:203 6745 6745 #: includes/addons/wl_product_filter.php:289 6746 6746 #: includes/addons/wl_product_filter.php:456 6747 6747 #: includes/addons/wb_product_sku.php:52 6748 6748 #: includes/addons/wb_product_stock.php:63 6749 6749 #: includes/addons/wb_wishsuite_table.php:108 6750 6750 #: includes/addons/wb_wishsuite_table.php:145 6751 6751 #: includes/addons/wb_wishsuite_table.php:185 6752 6752 #: includes/addons/wb_wishsuite_table.php:224 6753 6753 #: includes/addons/wb_wishsuite_table.php:303 6754 6754 #: includes/addons/wb_wishsuite_table.php:356 6755 6755 #: includes/addons/wb_product_add_to_cart.php:153 6756 6756 #: includes/addons/wb_product_add_to_cart.php:1063 6757 6757 #: includes/addons/wb_ever_compare_table.php:88 6758 6758 #: includes/addons/wb_product_additional_information.php:91 6759 6759 #: includes/addons/wb_product_additional_information.php:137 6760 6760 #: includes/addons/add_banner.php:180 includes/addons/add_banner.php:210 6761 6761 #: includes/addons/add_banner.php:264 includes/addons/wl_category_grid.php:664 6762 6762 #: includes/addons/wl_category_grid.php:710 6763 6763 #: includes/addons/wl_category_grid.php:790 6764 6764 #: includes/addons/wb_product_tags.php:52 6765 6765 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:197 6766 6766 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:148 6767 6767 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:237 6768 6768 msgid "Typography" 6769 6769 msgstr "" 6770 6770 6771 6771 #: includes/addons/product_flash_sale.php:1270 6772 6772 msgid "Unfortunately, no products were found in the deal you selected." 6773 6773 msgstr "" 6774 6774 6775 6775 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:478 6776 6776 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:492 6777 6777 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:506 6778 6778 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:527 6779 6779 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:557 6780 6780 msgid "Unit" 6781 6781 msgstr "" 6782 6782 6783 6783 #: classes/class.widgets_control.php:220 6784 6784 msgid "Universal Product" 6785 6785 msgstr "" 6786 6786 6787 6787 #: includes/addons/product_flash_sale.php:52 6788 6788 msgid "Unnamed Deal" 6789 6789 msgstr "" 6790 6790 6791 6791 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:133 6792 6792 msgid "Up" 6793 6793 msgstr "" 6794 6794 6795 6795 #: includes/admin/include/class.template_cpt.php:57 6796 6796 msgid "Update Template" 6797 6797 msgstr "" 6798 6798 6799 6799 #: includes/admin/templates/dashboard-freevspro.php:204 6800 6800 msgid "Upgrade Now" 6801 6801 msgstr "" 6802 6802 6803 6803 #: includes/admin/admin-init.php:129 includes/admin/admin-init.php:130 6804 6804 msgid "Upgrade to Pro" 6805 6805 msgstr "" 6806 6806 6807 6807 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:264 6808 6808 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:227 6809 6809 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:252 6810 6810 msgid "Upload" 6811 6811 msgstr "" 6812 6812 6813 6813 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:264 6814 6814 msgid "Upload Image" 6815 6815 msgstr "" 6816 6816 6817 6817 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:230 6818 6818 msgid "Upload you custom icon from here." 6819 6819 msgstr "" 6820 6820 6821 6821 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:247 6822 6822 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:357 6823 6823 #: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:407 6824 6824 msgid "Upload/Add image" 6825 6825 msgstr "" 6826 6826 6827 6827 #: includes/admin/include/class.template_cpt.php:68 6828 6828 msgid "Uploaded to this Template" 6829 6829 msgstr "" 6830 6830 6831 6831 #: includes/addons/wb_product_upsell.php:43 6832 6832 msgid "Upsells" 6833 6833 msgstr "" 6834 6834 6835 6835 #: classes/class.widgets_control.php:778 6836 6836 #, php-format 6837 6837 msgid "" 6838 6838 "Use %s widget and numerous advanced features to enhance the functionality of " 6839 6839 "build quickview." 6840 6840 msgstr "" 6841 6841 6842 6842 #: classes/class.widgets_control.php:771 6843 6843 #, php-format 6844 6844 msgid "" 6845 6845 "Use %s widget and numerous advanced features to enhance the functionality of " 6846 6846 "build side mini cart template." 6847 6847 msgstr "" 6848 6848 6849 6849 #: classes/class.widgets_control.php:603 6850 6850 #, php-format 6851 6851 msgid "" 6852 6852 "Use %s widget and numerous advanced features to enhance the functionality of " 6853 6853 "your cart / empty cart page." 6854 6854 msgstr "" 6855 6855 6856 6856 #: classes/class.widgets_control.php:568 classes/class.widgets_control.php:575 6857 6857 #: classes/class.widgets_control.php:582 classes/class.widgets_control.php:589 6858 6858 #, php-format 6859 6859 msgid "" 6860 6860 "Use %s widget and numerous advanced features to enhance the functionality of " 6861 6861 "your cart page." 6862 6862 msgstr "" 6863 6863 6864 6864 #: classes/class.widgets_control.php:610 classes/class.widgets_control.php:617 6865 6865 #: classes/class.widgets_control.php:624 classes/class.widgets_control.php:631 6866 6866 #: classes/class.widgets_control.php:638 classes/class.widgets_control.php:645 6867 6867 #: classes/class.widgets_control.php:652 classes/class.widgets_control.php:659 6868 6868 #, php-format 6869 6869 msgid "" 6870 6870 "Use %s widget and numerous advanced features to enhance the functionality of " 6871 6871 "your checkout page." 6872 6872 msgstr "" 6873 6873 6874 6874 #: classes/class.widgets_control.php:596 6875 6875 #, php-format 6876 6876 msgid "" 6877 6877 "Use %s widget and numerous advanced features to enhance the functionality of " 6878 6878 "your empty cart page." 6879 6879 msgstr "" 6880 6880 6881 6881 #: classes/class.widgets_control.php:666 classes/class.widgets_control.php:673 6882 6882 #: classes/class.widgets_control.php:680 classes/class.widgets_control.php:687 6883 6883 #: classes/class.widgets_control.php:694 classes/class.widgets_control.php:701 6884 6884 #: classes/class.widgets_control.php:708 classes/class.widgets_control.php:715 6885 6885 #: classes/class.widgets_control.php:722 classes/class.widgets_control.php:729 6886 6886 #: classes/class.widgets_control.php:736 classes/class.widgets_control.php:743 6887 6887 #, php-format 6888 6888 msgid "" 6889 6889 "Use %s widget and numerous advanced features to enhance the functionality of " 6890 6890 "your myaccount page." 6891 6891 msgstr "" 6892 6892 6893 6893 #: classes/class.widgets_control.php:505 6894 6894 #, php-format 6895 6895 msgid "" 6896 6896 "Use %s widget and numerous advanced features to enhance the functionality of " 6897 6897 "your shop page template." 6898 6898 msgstr "" 6899 6899 6900 6900 #: classes/class.widgets_control.php:498 6901 6901 #, php-format 6902 6902 msgid "" 6903 6903 "Use %s widget and numerous advanced features to enhance the functionality of " 6904 6904 "your shop/archive page template filter widget." 6905 6905 msgstr "" 6906 6906 6907 6907 #: classes/class.widgets_control.php:512 6908 6908 #, php-format 6909 6909 msgid "" 6910 6910 "Use %s widget and numerous advanced features to enhance the functionality of " 6911 6911 "your single product page template image widget." 6912 6912 msgstr "" 6913 6913 6914 6914 #: classes/class.widgets_control.php:519 6915 6915 #, php-format 6916 6916 msgid "" 6917 6917 "Use %s widget and numerous advanced features to enhance the functionality of " 6918 6918 "your single product page template image." 6919 6919 msgstr "" 6920 6920 6921 6921 #: classes/class.widgets_control.php:547 6922 6922 #, php-format 6923 6923 msgid "" 6924 6924 "Use %s widget and numerous advanced features to enhance the functionality of " 6925 6925 "your single product page template related product widget." 6926 6926 msgstr "" 6927 6927 6928 6928 #: classes/class.widgets_control.php:554 6929 6929 #, php-format 6930 6930 msgid "" 6931 6931 "Use %s widget and numerous advanced features to enhance the functionality of " 6932 6932 "your single product page template upsell product widget." 6933 6933 msgstr "" 6934 6934 6935 6935 #: classes/class.widgets_control.php:526 classes/class.widgets_control.php:533 6936 6936 #: classes/class.widgets_control.php:540 classes/class.widgets_control.php:561 6937 6937 #, php-format 6938 6938 msgid "" 6939 6939 "Use %s widget and numerous advanced features to enhance the functionality of " 6940 6940 "your single product page template." 6941 6941 msgstr "" 6942 6942 6943 6943 #: classes/class.widgets_control.php:750 classes/class.widgets_control.php:757 6944 6944 #: classes/class.widgets_control.php:764 6945 6945 #, php-format 6946 6946 msgid "" 6947 6947 "Use %s widget and numerous advanced features to enhance the functionality of " 6948 6948 "your thankyou page." 6949 6949 msgstr "" 6950 6950 6951 6951 #: includes/admin/include/class.template_cpt.php:66 6952 6952 msgid "Use as featured image" 6953 6953 msgstr "" 6954 6954 6955 6955 #: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:52 6956 6956 msgid "Use Global Setting" 6957 6957 msgstr "" 6958 6958 6959 6959 #: includes/modules/variation-swatch/includes/Admin.php:52 6960 6960 msgid "Use image" 6961 6961 msgstr "" 6962 6962 6963 6963 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:98 6964 6964 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:146 6965 6965 msgid "Use Shortcode" 6966 6966 msgstr "" 6967 6967 6968 6968 #: includes/modules/shopify-like-checkout/templates/form-login.php:24 6969 6969 #: includes/modules/shopify-like-checkout/templates/form-login.php:25 6970 6970 msgid "Username or email" 6971 6971 msgstr "" 6972 6972 6973 6973 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:410 6974 6974 msgid "Value" 6975 6975 msgstr "" 6976 6976 6977 6977 #: includes/addons/wb_archive_result_count.php:103 6978 6978 #: includes/addons/wb_product_categories.php:109 6979 6979 #: includes/addons/wb_product_sku.php:109 6980 6980 #: includes/addons/wb_product_tags.php:109 6981 6981 msgid "Value Color" 6982 6982 msgstr "" 6983 6983 6984 6984 #: includes/addons/wb_product_categories.php:121 6985 6985 #: includes/addons/wb_product_tags.php:121 6986 6986 msgid "Value Hover Color" 6987 6987 msgstr "" 6988 6988 6989 6989 #: includes/admin/templates/dashboard-freevspro.php:129 6990 6990 msgid "Variation Swatches" 6991 6991 msgstr "" 6992 6992 6993 6993 #: includes/addons/special_day_offer.php:227 6994 6994 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:483 6995 6995 msgid "Vertical Position" 6996 6996 msgstr "" 6997 6997 6998 6998 #: woolentor-blocks/src/blocks/product-reviews/index.php:42 6999 6999 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:42 7000 7000 msgid "Very poor" 7001 7001 msgstr "" 7002 7002 7003 7003 #: includes/class.product_video_gallery.php:27 7004 7004 msgid "Video" 7005 7005 msgstr "" 7006 7006 7007 7007 #: includes/addons/wl_onepage_slider.php:113 7008 7008 #: includes/addons/wl_onepage_slider.php:378 7009 7009 msgid "Video Button" 7010 7010 msgstr "" 7011 7011 7012 7012 #: includes/addons/wl_onepage_slider.php:133 7013 7013 msgid "Video Icon" 7014 7014 msgstr "" 7015 7015 7016 7016 #: includes/addons/wl_onepage_slider.php:121 7017 7017 msgid "Video Link" 7018 7018 msgstr "" 7019 7019 7020 7020 #: includes/addons/wl_product_video_gallery.php:49 7021 7021 msgid "Video Thumbnails" 7022 7022 msgstr "" 7023 7023 7024 7024 #: includes/admin/templates/dashboard-welcome.php:30 7025 7025 #: includes/admin/templates/dashboard-welcome.php:32 7026 7026 msgid "Video Tutorial" 7027 7027 msgstr "" 7028 7028 7029 7029 #: includes/modules/variation-swatch/includes/ajax-actions.php:90 7030 7030 msgid "View Cart" 7031 7031 msgstr "" 7032 7032 7033 7033 #: includes/modules/backorder/class.backorder.php:195 7034 7034 msgid "View cart" 7035 7035 msgstr "" 7036 7036 7037 7037 #: includes/admin/include/class.template_cpt.php:58 7038 7038 msgid "View Template" 7039 7039 msgstr "" 7040 7040 7041 7041 #: includes/admin/include/class.template_cpt.php:59 7042 7042 msgid "View Templates" 7043 7043 msgstr "" 7044 7044 7045 7045 #: classes/class.widgets_control.php:456 7046 7046 msgid "WC Multicurrency" 7047 7047 msgstr "" 7048 7048 7049 7049 #: includes/admin/templates/dashboard-welcome.php:31 7050 7050 msgid "" 7051 7051 "We create videos to make our customers comprehend the product quickly. Using " 7052 7052 "video tutorials is a fantastic method to learn how to use our plugins. We've " 7053 7053 "compiled a list of videos for you." 7054 7054 msgstr "" 7055 7055 7056 7056 #: includes/admin/templates/dashboard-welcome.php:20 7057 7057 msgid "" 7058 7058 "We've organized the documentation and kept it up to date on a regular basis. " 7059 7059 "This manual will assist you in using our plugin effectively." 7060 7060 msgstr "" 7061 7061 7062 7062 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:334 7063 7063 msgid "weight" 7064 7064 msgstr "" 7065 7065 7066 7066 #: includes/admin/templates/dashboard-welcome.php:8 7067 7067 msgid "Welcome To WooLentor" 7068 7068 msgstr "" 7069 7069 7070 7070 #: includes/addons/wl_faq.php:168 7071 7071 msgid "What Curling Irons Are The Best Ones" 7072 7072 msgstr "" 7073 7073 7074 7074 #: includes/addons/product_tabs.php:220 7075 7075 msgid "When the product tab is off, Then working slider." 7076 7076 msgstr "" 7077 7077 7078 7078 #: classes/class.widgets_control.php:449 7079 7079 #: includes/admin/include/class.extension-manager.php:67 7080 7080 msgid "Whols" 7081 7081 msgstr "" 7082 7082 7083 7083 #: includes/admin/include/class.extension-manager.php:99 7084 7084 msgid "" 7085 7085 "Whols is an outstanding WordPress plugin for WooCommerce that allows store " 7086 7086 "owners to set wholesale prices for the products of their online stores. This " 7087 7087 "plugin enables you to show special wholesale prices to the wholesaler. Users " 7088 7088 "can easily request to become a wholesale customer by filling out a simple " 7089 7089 "online registration form. Once the registration is complete, the owner of " 7090 7090 "the store will be able to review the request and approve the request either " 7091 7091 "manually or automatically." 7092 7092 msgstr "" 7093 7093 7094 7094 #: includes/admin/include/class.extension-manager.php:96 7095 7095 msgid "Whols Pro – WooCommerce Wholesale Prices" 7096 7096 msgstr "" 7097 7097 7098 7098 #: woolentor-blocks/includes/classes/Manage_Styles.php:127 7099 7099 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:127 7100 7100 msgid "Widget CSS Saved." 7101 7101 msgstr "" 7102 7102 7103 7103 #: includes/addons/wl_onepage_slider.php:433 7104 7104 #: includes/addons/wl_onepage_slider.php:507 7105 7105 #: includes/addons/special_day_offer.php:173 7106 7106 #: includes/addons/wb_product_add_to_cart.php:806 7107 7107 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:434 7108 7108 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:384 7109 7109 msgid "Width" 7110 7110 msgstr "" 7111 7111 7112 7112 #: includes/admin/templates/dashboard-freevspro.php:121 7113 7113 #: includes/modules/wishlist/includes/classes/Admin/Dashboard.php:65 7114 7114 #: includes/modules/wishlist/includes/classes/Admin/Dashboard.php:66 7115 7115 msgid "Wishlist" 7116 7116 msgstr "" 7117 7117 7118 7118 #: includes/addons/wb_product_add_to_cart.php:566 7119 7119 #: includes/addons/wb_product_add_to_cart.php:660 7120 7120 msgid "Wishlist Background Color" 7121 7121 msgstr "" 7122 7122 7123 7123 #: includes/addons/wb_product_add_to_cart.php:551 7124 7124 #: includes/addons/wb_product_add_to_cart.php:645 7125 7125 msgid "Wishlist Icon Color" 7126 7126 msgstr "" 7127 7127 7128 7128 #: includes/addons/wb_wishsuite_table.php:49 7129 7129 msgid "WishSuite" 7130 7130 msgstr "" 7131 7131 7132 7132 #: classes/class.widgets_control.php:428 7133 7133 #: includes/addons/wb_wishsuite_counter.php:38 7134 7134 msgid "WishSuite Counter" 7135 7135 msgstr "" 7136 7136 7137 7137 #: classes/class.widgets_control.php:424 7138 7138 msgid "WishSuite Table" 7139 7139 msgstr "" 7140 7140 7141 7141 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:231 7142 7142 msgid "Within (%)" 7143 7143 msgstr "" 7144 7144 7145 7145 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:201 7146 7146 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:290 7147 7147 msgid "Within (sec)" 7148 7148 msgstr "" 7149 7149 7150 7150 #: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:32 7151 7151 msgid "WL Color" 7152 7152 msgstr "" 7153 7153 7154 7154 #: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:33 7155 7155 msgid "WL Image" 7156 7156 msgstr "" 7157 7157 7158 7158 #: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:31 7159 7159 msgid "WL Label" 7160 7160 msgstr "" 7161 7161 7162 7162 #: includes/addons/add_banner.php:13 7163 7163 msgid "WL: Add Banner" 7164 7164 msgstr "" 7165 7165 7166 7166 #: includes/addons/wb_product_add_to_cart.php:13 7167 7167 msgid "WL: Add To cart" 7168 7168 msgstr "" 7169 7169 7170 7170 #: classes/class.widgets_control.php:495 7171 7171 msgid "WL: Advance Product Filter" 7172 7172 msgstr "" 7173 7173 7174 7174 #: classes/class.widgets_control.php:509 7175 7175 msgid "WL: Advance Product Image" 7176 7176 msgstr "" 7177 7177 7178 7178 #: includes/addons/wb_archive_catalog_ordering.php:13 7179 7179 msgid "WL: Archive Catalog Ordering" 7180 7180 msgstr "" 7181 7181 7182 7182 #: includes/addons/wb_archive_result_count.php:13 7183 7183 msgid "WL: Archive Result Count" 7184 7184 msgstr "" 7185 7185 7186 7186 #: includes/addons/wl_archive_title.php:13 7187 7187 msgid "WL: Archive Title" 7188 7188 msgstr "" 7189 7189 7190 7190 #: classes/class.widgets_control.php:530 7191 7191 msgid "WL: Available Stock Progressbar" 7192 7192 msgstr "" 7193 7193 7194 7194 #: includes/addons/wl_brand.php:13 7195 7195 msgid "WL: Brand Logo" 7196 7196 msgstr "" 7197 7197 7198 7198 #: includes/addons/wl_breadcrumbs.php:13 7199 7199 msgid "WL: Breadcrumbs" 7200 7200 msgstr "" 7201 7201 7202 7202 #: includes/addons/wb_product_call_for_price.php:13 7203 7203 msgid "WL: Call For Price" 7204 7204 msgstr "" 7205 7205 7206 7206 #: classes/class.widgets_control.php:565 7207 7207 msgid "WL: Cart Table" 7208 7208 msgstr "" 7209 7209 7210 7210 #: classes/class.widgets_control.php:572 7211 7211 msgid "WL: Cart Table(List Style)" 7212 7212 msgstr "" 7213 7213 7214 7214 #: classes/class.widgets_control.php:579 7215 7215 msgid "WL: Cart Total" 7216 7216 msgstr "" 7217 7217 7218 7218 #: includes/addons/wl_category_grid.php:12 7219 7219 msgid "WL: Category Grid" 7220 7220 msgstr "" 7221 7221 7222 7222 #: includes/addons/wl_category.php:13 7223 7223 msgid "WL: Category List" 7224 7224 msgstr "" 7225 7225 7226 7226 #: classes/class.widgets_control.php:621 7227 7227 msgid "WL: Checkout Additional info Form" 7228 7228 msgstr "" 7229 7229 7230 7230 #: classes/class.widgets_control.php:607 7231 7231 msgid "WL: Checkout Billing Form" 7232 7232 msgstr "" 7233 7233 7234 7234 #: classes/class.widgets_control.php:642 7235 7235 msgid "WL: Checkout Payment Method" 7236 7236 msgstr "" 7237 7237 7238 7238 #: classes/class.widgets_control.php:614 7239 7239 msgid "WL: Checkout Shipping Form" 7240 7240 msgstr "" 7241 7241 7242 7242 #: classes/class.widgets_control.php:649 7243 7243 msgid "WL: Checkout Shipping Method" 7244 7244 msgstr "" 7245 7245 7246 7246 #: classes/class.widgets_control.php:628 7247 7247 msgid "WL: Coupon Form" 7248 7248 msgstr "" 7249 7249 7250 7250 #: classes/class.widgets_control.php:586 7251 7251 msgid "WL: Cross Sell" 7252 7252 msgstr "" 7253 7253 7254 7254 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:12 7255 7255 msgid "WL: Currency Switcher" 7256 7256 msgstr "" 7257 7257 7258 7258 #: classes/class.widgets_control.php:747 7259 7259 msgid "WL: Customer Address Details" 7260 7260 msgstr "" 7261 7261 7262 7262 #: includes/addons/wb_customer_review.php:13 7263 7263 msgid "WL: Customer Review" 7264 7264 msgstr "" 7265 7265 7266 7266 #: classes/class.widgets_control.php:593 7267 7267 msgid "WL: Empty Cart Message" 7268 7268 msgstr "" 7269 7269 7270 7270 #: includes/addons/wb_ever_compare_table.php:13 7271 7271 msgid "WL: EverCompare" 7272 7272 msgstr "" 7273 7273 7274 7274 #: includes/addons/wl_faq.php:13 7275 7275 msgid "WL: FAQ" 7276 7276 msgstr "" 7277 7277 7278 7278 #: classes/class.widgets_control.php:489 7279 7279 msgid "WL: Filterable Product Grid" 7280 7280 msgstr "" 7281 7281 7282 7282 #: includes/addons/wb_image_marker.php:13 7283 7283 msgid "WL: Image Marker" 7284 7284 msgstr "" 7285 7285 7286 7286 #: includes/addons/wb_just_table.php:13 7287 7287 msgid "WL: JustTable" 7288 7288 msgstr "" 7289 7289 7290 7290 #: classes/class.widgets_control.php:635 7291 7291 msgid "WL: Login Form" 7292 7292 msgstr "" 7293 7293 7294 7294 #: classes/class.widgets_control.php:768 7295 7295 msgid "WL: Mini Cart" 7296 7296 msgstr "" 7297 7297 7298 7298 #: includes/addons/wb_wc_multicurrency.php:13 7299 7299 msgid "WL: Multi Currency" 7300 7300 msgstr "" 7301 7301 7302 7302 #: classes/class.widgets_control.php:656 7303 7303 msgid "WL: Multi Step Checkout" 7304 7304 msgstr "" 7305 7305 7306 7306 #: classes/class.widgets_control.php:663 7307 7307 msgid "WL: My Account" 7308 7308 msgstr "" 7309 7309 7310 7310 #: classes/class.widgets_control.php:677 7311 7311 msgid "WL: My Account Address" 7312 7312 msgstr "" 7313 7313 7314 7314 #: classes/class.widgets_control.php:670 7315 7315 msgid "WL: My Account Dashboard" 7316 7316 msgstr "" 7317 7317 7318 7318 #: classes/class.widgets_control.php:684 7319 7319 msgid "WL: My Account Download" 7320 7320 msgstr "" 7321 7321 7322 7322 #: classes/class.widgets_control.php:691 7323 7323 msgid "WL: My Account Edit" 7324 7324 msgstr "" 7325 7325 7326 7326 #: classes/class.widgets_control.php:698 7327 7327 msgid "WL: My Account Login Form" 7328 7328 msgstr "" 7329 7329 7330 7330 #: classes/class.widgets_control.php:705 7331 7331 msgid "WL: My Account Logout" 7332 7332 msgstr "" 7333 7333 7334 7334 #: classes/class.widgets_control.php:712 7335 7335 msgid "WL: My Account Lost Password Form" 7336 7336 msgstr "" 7337 7337 7338 7338 #: classes/class.widgets_control.php:719 7339 7339 msgid "WL: My Account Navigation" 7340 7340 msgstr "" 7341 7341 7342 7342 #: classes/class.widgets_control.php:726 7343 7343 msgid "WL: My Account Order" 7344 7344 msgstr "" 7345 7345 7346 7346 #: classes/class.widgets_control.php:733 7347 7347 msgid "WL: My Account Register Form" 7348 7348 msgstr "" 7349 7349 7350 7350 #: classes/class.widgets_control.php:740 7351 7351 msgid "WL: My Account Reset Password Form" 7352 7352 msgstr "" 7353 7353 7354 7354 #: includes/addons/wl_onepage_slider.php:12 7355 7355 msgid "WL: One page slider" 7356 7356 msgstr "" 7357 7357 7358 7358 #: classes/class.widgets_control.php:754 7359 7359 msgid "WL: Order Details" 7360 7360 msgstr "" 7361 7361 7362 7362 #: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:12 7363 7363 msgid "WL: Popup Close Trigger Button" 7364 7364 msgstr "" 7365 7365 7366 7366 #: includes/addons/product_accordion.php:14 7367 7367 msgid "WL: Product Accordion" 7368 7368 msgstr "" 7369 7369 7370 7370 #: includes/addons/wb_product_additional_information.php:13 7371 7371 msgid "WL: Product Additional Information" 7372 7372 msgstr "" 7373 7373 7374 7374 #: classes/class.widgets_control.php:502 7375 7375 msgid "WL: Product Archive Layout (Custom)" 7376 7376 msgstr "" 7377 7377 7378 7378 #: includes/addons/wb_archive_product.php:13 7379 7379 msgid "WL: Product Archive Layout (Default)" 7380 7380 msgstr "" 7381 7381 7382 7382 #: includes/addons/wb_product_categories.php:13 7383 7383 msgid "WL: Product Categories" 7384 7384 msgstr "" 7385 7385 7386 7386 #: includes/addons/product_curvy.php:14 7387 7387 msgid "WL: Product Curvy" 7388 7388 msgstr "" 7389 7389 7390 7390 #: includes/addons/wb_product_data_tab.php:13 7391 7391 msgid "WL: Product Data Tabs" 7392 7392 msgstr "" 7393 7393 7394 7394 #: includes/addons/wb_product_description.php:13 7395 7395 msgid "WL: Product Description" 7396 7396 msgstr "" 7397 7397 7398 7398 #: classes/class.widgets_control.php:483 7399 7399 msgid "WL: Product Expanding Grid" 7400 7400 msgstr "" 7401 7401 7402 7402 #: includes/addons/wl_product_filter.php:13 7403 7403 msgid "WL: Product Filter" 7404 7404 msgstr "" 7405 7405 7406 7406 #: classes/class.widgets_control.php:417 7407 7407 #: includes/addons/product_flash_sale.php:13 7408 7408 msgid "WL: Product Flash Sale" 7409 7409 msgstr "" 7410 7410 7411 7411 #: classes/class.widgets_control.php:477 7412 7412 msgid "WL: Product Grid" 7413 7413 msgstr "" 7414 7414 7415 7415 #: includes/addons/wl_product_horizontal_filter.php:13 7416 7416 msgid "WL: Product Horizontal Filter" 7417 7417 msgstr "" 7418 7418 7419 7419 #: includes/addons/wb_product_image.php:13 7420 7420 msgid "WL: Product Image" 7421 7421 msgstr "" 7422 7422 7423 7423 #: includes/addons/product_image_accordion.php:14 7424 7424 msgid "WL: Product Image Accordion" 7425 7425 msgstr "" 7426 7426 7427 7427 #: classes/class.widgets_control.php:516 7428 7428 msgid "WL: Product Image With Zoom" 7429 7429 msgstr "" 7430 7430 7431 7431 #: includes/addons/wb_product_meta.php:13 7432 7432 msgid "WL: Product Meta" 7433 7433 msgstr "" 7434 7434 7435 7435 #: includes/addons/wb_product_price.php:13 7436 7436 msgid "WL: Product Price" 7437 7437 msgstr "" 7438 7438 7439 7439 #: includes/addons/wb_product_rating.php:13 7440 7440 msgid "WL: Product Rating" 7441 7441 msgstr "" 7442 7442 7443 7443 #: includes/addons/wb_product_reviews.php:13 7444 7444 msgid "WL: Product Reviews" 7445 7445 msgstr "" 7446 7446 7447 7447 #: classes/class.widgets_control.php:537 7448 7448 msgid "WL: Product Sale Schedule" 7449 7449 msgstr "" 7450 7450 7451 7451 #: includes/addons/wb_product_short_description.php:13 7452 7452 msgid "WL: Product Short Description" 7453 7453 msgstr "" 7454 7454 7455 7455 #: includes/addons/wb_product_sku.php:13 7456 7456 msgid "WL: Product SKU" 7457 7457 msgstr "" 7458 7458 7459 7459 #: classes/class.widgets_control.php:523 7460 7460 msgid "WL: Product Social Share" 7461 7461 msgstr "" 7462 7462 7463 7463 #: includes/addons/wb_product_stock.php:13 7464 7464 msgid "WL: Product Stock" 7465 7465 msgstr "" 7466 7466 7467 7467 #: includes/addons/product_tabs.php:13 7468 7468 msgid "WL: Product Tab" 7469 7469 msgstr "" 7470 7470 7471 7471 #: includes/addons/wb_product_tags.php:13 7472 7472 msgid "WL: Product Tags" 7473 7473 msgstr "" 7474 7474 7475 7475 #: includes/addons/wb_product_title.php:13 7476 7476 msgid "WL: Product title" 7477 7477 msgstr "" 7478 7478 7479 7479 #: includes/addons/wb_product_upsell.php:13 7480 7480 msgid "WL: Product Upsell" 7481 7481 msgstr "" 7482 7482 7483 7483 #: includes/addons/wl_product_video_gallery.php:13 7484 7484 msgid "WL: Product Video Gallery" 7485 7485 msgstr "" 7486 7486 7487 7487 #: includes/addons/wb_product_qr_code.php:13 7488 7488 msgid "WL: QR Code" 7489 7489 msgstr "" 7490 7490 7491 7491 #: classes/class.widgets_control.php:775 7492 7492 msgid "WL: Quickview Product Image" 7493 7493 msgstr "" 7494 7494 7495 7495 #: includes/addons/wl_recently_viewed_products.php:13 7496 7496 msgid "WL: Recently Viewed Products" 7497 7497 msgstr "" 7498 7498 7499 7499 #: includes/addons/wb_product_related.php:13 7500 7500 msgid "WL: Related Product" 7501 7501 msgstr "" 7502 7502 7503 7503 #: classes/class.widgets_control.php:544 7504 7504 msgid "WL: Related Product layout(Custom)" 7505 7505 msgstr "" 7506 7506 7507 7507 #: classes/class.widgets_control.php:600 7508 7508 msgid "WL: Return To Shop Button" 7509 7509 msgstr "" 7510 7510 7511 7511 #: classes/class.widgets_control.php:558 7512 7512 msgid "WL: Single Product Navigation" 7513 7513 msgstr "" 7514 7514 7515 7515 #: includes/addons/special_day_offer.php:13 7516 7516 msgid "WL: Special Day Offer" 7517 7517 msgstr "" 7518 7518 7519 7519 #: includes/addons/wl_store_features.php:13 7520 7520 msgid "WL: Store Feature" 7521 7521 msgstr "" 7522 7522 7523 7523 #: includes/addons/wb_product_suggest_price.php:13 7524 7524 msgid "WL: Suggest Price" 7525 7525 msgstr "" 7526 7526 7527 7527 #: includes/addons/wl_testimonial.php:13 7528 7528 msgid "WL: Testimonial" 7529 7529 msgstr "" 7530 7530 7531 7531 #: classes/class.widgets_control.php:761 7532 7532 msgid "WL: Thank You Order" 7533 7533 msgstr "" 7534 7534 7535 7535 #: woolentor-blocks/src/blocks/universal-product/old_index.php:48 7536 7536 #: woolentor-blocks/src/blocks/universal-product/sort_index.php:48 7537 7537 msgid "WL: Universal Product Layout" 7538 7538 msgstr "" 7539 7539 7540 7540 #: classes/class.widgets_control.php:551 7541 7541 msgid "WL: Upsell Product layout(Custom)" 7542 7542 msgstr "" 7543 7543 7544 7544 #: includes/addons/wb_whols.php:13 7545 7545 msgid "WL: Whols" 7546 7546 msgstr "" 7547 7547 7548 7548 #: includes/addons/wb_wishsuite_counter.php:13 7549 7549 msgid "WL: WishSuite Counter" 7550 7550 msgstr "" 7551 7551 7552 7552 #: includes/addons/wb_wishsuite_table.php:13 7553 7553 msgid "WL: WishSuite Table" 7554 7554 msgstr "" 7555 7555 7556 7556 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:291 7557 7557 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:348 7558 7558 msgid "wobble" 7559 7559 msgstr "" 7560 7560 7561 7561 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:141 7562 7562 msgid "WooCommerce" 7563 7563 msgstr "" 7564 7564 7565 7565 #: includes/modules/popup-builder/includes/class-repeater-helper.php:25 7566 7566 #: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:152 7567 7567 msgid "WooCommerce (Pro)" 7568 7568 msgstr "" 7569 7569 7570 7570 #: includes/admin/templates/dashboard-freevspro.php:11 7571 7571 msgid "WooCommerce Template Builder" 7572 7572 msgstr "" 7573 7573 7574 7574 #: includes/manage_wc_template.php:106 7575 7575 msgid "WooLentor" 7576 7576 msgstr "" 7577 7577 7578 7578 #: includes/manage_wc_template.php:106 7579 7579 msgid "WooLentor Admin Menu" 7580 7580 msgstr "" 7581 7581 7582 7582 #: includes/modules/ajax-search/widget-product-search-ajax.php:12 7583 7583 msgid "WooLentor Ajax Product Search Widget" 7584 7584 msgstr "" 7585 7585 7586 7586 #: woolentor-blocks/includes/classes/Manage_Styles.php:160 7587 7587 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:160 7588 7588 msgid "WooLentor Blocks CSS Delete." 7589 7589 msgstr "" 7590 7590 7591 7591 #: woolentor-blocks/includes/classes/Manage_Styles.php:150 7592 7592 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:150 7593 7593 msgid "WooLentor Blocks css file update." 7594 7594 msgstr "" 7595 7595 7596 7596 #: includes/admin/include/class.template-manager.php:233 7597 7597 msgid "WooLentor Canvas" 7598 7598 msgstr "" 7599 7599 7600 7600 #: includes/admin/include/class.template-manager.php:234 7601 7601 msgid "WooLentor Full width" 7602 7602 msgstr "" 7603 7603 7604 7604 #: includes/admin/templates/dashboard-sidebar.php:8 7605 7605 msgid "Woolentor Logo" 7606 7606 msgstr "" 7607 7607 7608 7608 #: includes/admin/include/class.template_cpt.php:76 7609 7609 msgid "WooLentor Template" 7610 7610 msgstr "" 7611 7611 7612 7612 #: includes/modules/ajax-search/widget-product-search-ajax.php:14 7613 7613 msgid "WooLentor: Product Search Ajax" 7614 7614 msgstr "" 7615 7615 7616 7616 #: includes/addons/wl_faq.php:153 7617 7617 msgid "Words To Live By" 7618 7618 msgstr "" 7619 7619 7620 7620 #: includes/addons/wb_just_table.php:129 7621 7621 msgid "Wrapper Background" 7622 7622 msgstr "" 7623 7623 7624 7624 #: includes/addons/wb_product_suggest_price.php:143 7625 7625 #: includes/addons/wb_product_suggest_price.php:144 7626 7626 msgid "Write your message" 7627 7627 msgstr "" 7628 7628 7629 7629 #: classes/class.quickview_manage.php:25 7630 7630 msgid "X" 7631 7631 msgstr "" 7632 7632 7633 7633 #: includes/addons/wb_image_marker.php:118 7634 7634 msgid "X Position" 7635 7635 msgstr "" 7636 7636 7637 7637 #: includes/addons/wb_image_marker.php:139 7638 7638 msgid "Y Position" 7639 7639 msgstr "" 7640 7640 7641 7641 #: includes/admin/include/class.template-manager.php:137 7642 7642 msgid "YES" 7643 7643 msgstr "" 7644 7644 7645 7645 #: classes/class.assest_management.php:335 includes/addons/wl_faq.php:113 7646 7646 #: includes/addons/wl_faq.php:192 includes/addons/wl_faq.php:205 7647 7647 #: includes/addons/wl_testimonial.php:217 7648 7648 #: includes/addons/wl_testimonial.php:333 includes/addons/wl_category.php:183 7649 7649 #: includes/addons/wb_customer_review.php:205 7650 7650 #: includes/addons/wl_recently_viewed_products.php:120 7651 7651 #: includes/addons/product_tabs.php:478 7652 7652 #: includes/addons/wl_category_grid.php:176 7653 7653 #: includes/addons/wl_category_grid.php:200 7654 7654 #: includes/addons/wl_category_grid.php:215 7655 7655 #: includes/addons/wl_category_grid.php:273 7656 7656 #: includes/addons/wl_category_grid.php:359 7657 7657 #: includes/admin/include/class.template-manager.php:491 7658 7658 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:62 7659 7659 #: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:90 7660 7660 msgid "Yes" 7661 7661 msgstr "" 7662 7662 7663 7663 #: includes/admin/include/template-library.php:78 7664 7664 msgid "You are not permitted to import the template." 7665 7665 msgstr "" 7666 7666 7667 7667 #: woolentor-blocks/includes/classes/Manage_Styles.php:146 7668 7668 #: woolentor-blocks/includes/classes/Manage_Styles.php:199 7669 7669 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:146 7670 7670 #: woolentor-blocks/production/includes/classes/Manage_Styles.php:199 7671 7671 msgid "You are not permitted to save CSS." 7672 7672 msgstr "" 7673 7673 7674 #: includes/admin/include/class.template-manager.php:513 7675 #: includes/admin/include/class.template-manager.php:696 7676 #: includes/admin/include/class.template-manager.php:741 7677 #: includes/admin/include/class.template-manager.php:857 7678 msgid "You are unauthorize to adding template!" 7679 msgstr "" 7680 7674 7681 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:350 7675 7682 msgid "You can change heading text from here." 7676 7683 msgstr "" 7677 7684 7678 7685 #: includes/admin/templates/dashboard-gutenberg.php:29 7679 7686 msgid "You can enable or disable all blocks by one click." 7680 7687 msgstr "" 7681 7688 7682 7689 #: includes/admin/templates/dashboard-element.php:16 7683 7690 #: includes/admin/templates/dashboard-module.php:18 7684 7691 msgid "You can enable or disable all options by one click." 7685 7692 msgstr "" 7686 7693 7687 7694 #: includes/admin/include/template-library/popup-template.php:23 7688 7695 msgid "" 7689 7696 "You can import the template either into the Elementor Template Library or " 7690 7697 "the ShopLentor Builder." 7691 7698 msgstr "" 7692 7699 7693 7700 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:91 7694 7701 msgid "You can manage compare button position in product list page." 7695 7702 msgstr "" 7696 7703 7697 7704 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:138 7698 7705 msgid "You can manage compare button position in single product page." 7699 7706 msgstr "" 7700 7707 7701 7708 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:358 7702 7709 msgid "You can manage message for maximum product added in the compare table." 7703 7710 msgstr "" 7704 7711 7705 7712 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:188 7706 7713 msgid "You can manage the popup window from here." 7707 7714 msgstr "" 7708 7715 7709 7716 #: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:311 7710 7717 msgid "You can manage your maximum compare quantity from here." 7711 7718 msgstr "" 7712 7719 7713 7720 #: includes/addons/wl_recently_viewed_products.php:108 7714 7721 msgid "You haven't viewed at any of the products yet." 7715 7722 msgstr "" 7716 7723 7717 7724 #: includes/addons/wl_recently_viewed_products.php:751 7718 7725 #: woolentor-blocks/src/blocks/recently-viewed-products/index.php:23 7719 7726 #: woolentor-blocks/production/src/blocks/recently-viewed-products/index.php:23 7720 7727 msgid "" 7721 7728 "You haven't viewed at any of the products yet. Below are demo product for " 7722 7729 "the editing mode." 7723 7730 msgstr "" 7724 7731 7725 7732 #: woolentor-blocks/src/blocks/product-reviews/index.php:26 7726 7733 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:26 7727 7734 msgid "Your rating" 7728 7735 msgstr "" 7729 7736 7730 7737 #: woolentor-blocks/src/blocks/product-reviews/index.php:47 7731 7738 #: woolentor-blocks/production/src/blocks/product-reviews/index.php:47 7732 7739 msgid "Your review" 7733 7740 msgstr "" 7734 7741 7735 7742 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:450 7736 7743 msgid "Z-Index" 7737 7744 msgstr "" 7738 7745 7739 7746 #: includes/addons/wl_onepage_slider.php:484 7740 7747 msgid "Zippers cotton jogger" 7741 7748 msgstr "" 7742 7749 7743 7750 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:321 7744 7751 msgid "zoomIn" 7745 7752 msgstr "" 7746 7753 7747 7754 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:322 7748 7755 msgid "zoomInDown" 7749 7756 msgstr "" 7750 7757 7751 7758 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:323 7752 7759 msgid "zoomInLeft" 7753 7760 msgstr "" 7754 7761 7755 7762 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:324 7756 7763 msgid "zoomInRight" 7757 7764 msgstr "" 7758 7765 7759 7766 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:325 7760 7767 msgid "zoomInUp" 7761 7768 msgstr "" 7762 7769 7763 7770 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:378 7764 7771 msgid "zoomOut" 7765 7772 msgstr "" 7766 7773 7767 7774 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:379 7768 7775 msgid "zoomOutDown" 7769 7776 msgstr "" 7770 7777 7771 7778 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:380 7772 7779 msgid "zoomOutLeft" 7773 7780 msgstr "" 7774 7781 7775 7782 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:381 7776 7783 msgid "zoomOutRight" 7777 7784 msgstr "" 7778 7785 7779 7786 #: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:382 7780 7787 msgid "zoomOutUp" 7781 7788 msgstr "" 7782 7789 7783 7790 #: includes/addons/wl_testimonial.php:153 7784 7791 msgid "" 7785 7792 "“ Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod " 7786 7793 "tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, " 7787 7794 "consectetur adipisicing elit ”" 7788 7795 msgstr "" 7789 7796 7790 7797 #: includes/addons/wl_testimonial.php:130 7791 7798 #: includes/addons/wl_testimonial.php:147 7792 7799 #: includes/addons/wl_testimonial.php:159 7793 7800 msgid "" 7794 7801 "“ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod " 7795 7802 "tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, " 7796 7803 "laboris consequat. ”" 7797 7804 msgstr "" 7798 7805 7799 7806 #: includes/admin/include/diagnostic-data.php:502 7800 7807 #, php-format 7801 7808 msgid "🌟 Enhance Your %1$s Experience as a Valued Contributor!" 7802 7809 msgstr "" -
woolentor-addons/trunk/readme.txt
r3037382 r3044764 1 1 === ShopLentor – WooCommerce Builder for Elementor & Gutenberg +12 Modules – All in One Solution (formerly WooLentor) === 2 2 Contributors: hasthemes, htplugins, devitemsllc, zenaulislam, tarekht, aslamhasib 3 3 Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product, Woo Builder, Variation Swatches, woocommerce blocks, Product Slider, Product Compare, Wishlist, Product Filter 4 4 Requires at least: 4.7 5 5 Tested up to: 6.4 6 Stable tag: 2.8. 16 Stable tag: 2.8.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 10 10 Elementor WooCommerce Builder Addons, Quick View, Wishlist, Products Compare, Product Filter, Variation Swatches, Woo builder are functionalities that ShopLentor offers to your online store. 11 11 12 12 == Description == 13 13 If you own a WooCommerce website, you'll almost certainly want to use these capabilities: Woo Builder (Elementor WooCommerce Builder), WooCommerce Templates, WooCommerce Widgets, Elementor Widgets, product compare or Products Comparison table, WooCommerce order notifications, WooCommerce slider addons (Woo sliders), Woo recently viewed products widget, Sold out count, Elementor Addons, Woocommerce variation swatches module, Elementor Templates, WooCommerce Product Addons, WooCommerce products blocks, WooCommerce Gutenberg Blocks, custom product archive builder, WooCommerce product quick view, out of stock label customization, count sold product, flash sale countdown, Woo wishlist, etc. 14 14 15 15 By using ShopLentor - Elementor WooCommerce Builder, you will get all in one plugin. 16 16 17 17 Have you ever searched for a WooCommerce Addons plugin for Elementor Page Builder or WooCommerce template builder for an online store that does not look ordinary like most of the stores out there? ShopLentor is an all-in-one solution that will not only give you complete control over the WooCommerce page designs but also provide you with several features. 18 18 19 19 The plugin comes with a powerful WooCommerce page builder for Elementor, allowing you to effortlessly design all WooCommerce pages from scratch using the Elementor page builder. As a result, you no longer have to rely on the default page designs of WooCommerce. 20 20 21 21 ShopLentor gives you the flexibility to design a custom Shop and Product details page using the free version of the plugin. The rest of the pages are also customizable with the pro version. Furthermore, ShopLentor - Elementor WooCommerce builder offers a plethora of Elementor widgets with extensive customization options that you can leverage for creating your store as per your needs. 22 22 23 23 Apart from a large number of Elementor WooCommerce widgets, there are plenty of useful functionalities available in the form of modules. For example, product comparison, woo wishlist, quick view, Shopify style checkout, flash sale countdown, and so on. The main purpose of these modules is to offer the users as many options as users would need to enhance their website further. That way, they don't have to look for another third-party plugin just for a single feature. 24 24 25 25 [Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo) | [Documentation](https://woolentor.com/documentation/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=doc) | [Purchase Pro](https://woolentor.com/pricing/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=purchasepro) 26 26 27 27 28 28 == Elementor WooCommerce Woo Builder Includes == 29 29 🛍️ WooCommerce Elementor Widgets / Elementor WooCommerce Widgets 30 30 🛍️ Single Product Page Builder 31 31 🛍️ Custom Product Template Builder for Individual Product (Pro) 32 32 🛍️ Shop / Archive Page Builder 33 33 🛍️ Individual Archive Page Builder (Pro) 34 34 🛍️ Cart / Checkout / My account / WooCommerce custom thank you page Builder (Pro) 35 35 36 36 37 37 You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo) 38 38 39 39 40 40 ==❤️ Free Features: == 41 41 42 42 * WooCommerce Template Builder 43 43 * Elementor WooCommerce Builder 44 44 * WooCommerce Widgets 45 45 * Woocommerce Product Grid 46 46 * Woocommerce Responsive Grid 47 47 * WooCommerce Product List 48 48 * WooCommerce Product Sort 49 49 * WooCommerce Slider Layout 50 50 * Shopify Style Checkout Page / Shopify-like Checkout 51 51 * Woocommerce Product Slider Addons / Woo Sliders Widget 52 52 * WooCommerce Testimonial Widget 53 53 * WooCommerce Featured Product Slider 54 54 * WooCommerce Featured Slider 55 55 * Promotional Product Slider 56 56 * WooCommerce Gutenberg Blocks / Gutenberg WooCommerce blocks 57 57 * Recently Viewed Products / Woo Recently Viewed Products Widget 58 58 * Woocommerce Product Compare / Products Comparison Table 59 59 * Quick View WooCommerce / WooCommerce Quickview 60 60 * Woocommerce Product Wishlist / Woo Wishlist 61 61 * Woocommerce Product Tab 62 62 * Grid and List View WooCommerce 63 63 * Action Buttons in different Positions 64 64 * Customize WooCommerce Buttons Color 65 65 * Sales Countdown WooCommerce Addon / Discount Schedule Counter 66 66 * WooCommerce Image Gallery 67 67 * Enable / Disable WooCommerce Product Gallery 68 68 * WooCommerce Product Gallery Carousel 69 69 * Unlimited Color and Font Variations 70 70 * WooCommerce Slider or Woo Sliders Control Options 71 71 * WooCommerce Variation Swatches Module / Variation Switcher 72 72 * Woocommerce Live Sales Notifications (Real) 73 73 * Woocommerce Sales Notification (Custom) 74 74 * Rename labels / WooCommerce Text / WooCommerce add custom text. 75 75 * WooCommerce Upsell Widget 76 76 * WooCommerce Cross-sell Widget 77 77 * WooCommerce Related Products Widget (Custom Related Products Layout, Disable / Remove / Hide Related Products) 78 78 * WooCommerce Category Carousel / WooCommerce Category Showcase / WooCommerce Product Category Slider 79 79 * WooCommerce Category and Product List 80 80 * Call for Price Button for WooCommerce 81 81 * Suggest Price / Suggest Product Price 82 82 * Special Day Offer Banner / Banner Widget 83 83 * Product QR Code / WooCommerce QR Widget 84 84 * WooCommerce Marker / WooCommerce Hotspot 85 85 * Archive page with Pagination 86 86 * Product Share Widget 87 87 * Multi-language Support 88 88 * Works with Free Elementor and WooCommerce 89 89 * Custom WooCommerce Product Template Builder 90 90 * Product Grid (Curvy) 91 91 * Product Accordion Listing / Responsive Accordion 92 92 * Product Image Accordion / WooCommerce Accordion 93 93 * WooCommerce Shop Page Builder 94 94 * AJAX Search Widget 95 95 * WordPress post or WooCommerce Product Duplicator 96 96 * Single product AJAX Add to Cart (In Product Detail Page) 97 97 * Horizontal WooCommerce Product Filter [Demo](https://woolentor.com/demo/horizontal-filter/) 98 98 * Vertical WooCommerce Product Filter [Demo](https://woolentor.com/demo/filter-vertical/) 99 99 * WooCommerce Template Library (Basic) 100 100 * Product Reviews widget for WooCommerce 101 101 102 102 103 103 ==🔥 Premium Features: == 104 104 105 105 ✅ 100+ WooCommerce Elementor Widgets / Elementor WooCommerce Widgets 106 106 ✅ 24 WooCommerce Modules 107 107 ✅ 29 WordPress Gutenberg Blocks / WoCommerce Gutenberg Blocks 108 108 ✅ Custom WooCommerce Product Template Builder for Individual Product 109 109 ✅ Individual Archive Page Builder / WooCommerce Template Builder 110 110 ✅ WooCommerce Checkout Field Editor / Checkout Field Manager 111 111 ✅ Custom Cart Page Builder / WooCommerce Template Builder 112 112 ✅ Custom Checkout Page Builder / WooCommerce Template Builder 113 113 ✅ Custom My Account Page Builder / WooCommerce Template Builder 114 114 ✅ Custom Thank you Page for WooCommerce 115 115 ✅ WooCommerce Partial Payment 116 116 ✅ WooCommerce Multi step checkout 117 117 ✅ Order Confirmations Widget 118 118 ✅ Product Variation Swatches for WooCommerce 119 119 ✅ Product Size Chart / Size Chart WooCommerce Module 120 120 ✅ WooCommerce Progress Bar / WooCommerce Stock Progress 121 121 ✅ Related Products Slider for WooCommerce 122 122 ✅ WooCommerce Upsell Products / Upsells Carousel 123 123 ✅ WooCommerce Pre Order Module / Pre-order for WooCommerce 124 124 ✅ Side Mini Cart / WooCommerce Minicart / Cart Drawer 125 125 ✅ Redirect to Checkout Page (Direct Checkout) 126 126 ✅ Social Share Product / Social Share Buttons / Quick Share 127 127 ✅ GTM Conversion Tracking (Google Tag Manager) with Data layer 128 128 ✅ Sticky Add to Cart 129 129 ✅ Template Library 130 130 ✅ 15 Product Custom Template Layouts (Deafult + Invidual) 131 131 ✅ WooCommerce Template Builder (Advanced) 132 132 ✅ Access to our Premium Udemy Course for WooCommerce (On Request) 133 133 ✅ Zoom / Skype / TeamViewer Support 134 134 ✅ Free Store Setup / (Maximum 2) 135 135 ✅ Phone Call Support 136 136 ✅ Premium Support 137 137 138 138 139 139 <strong>[WooCommerce Checkout Page Customization and Field Editor (Pro)](https://woolentor.com/doc/build-a-custom-checkout-page-template/)</strong> 140 140 ShopLentor Pro (Elementor WooCommerce Builder) allows you to customize the checkout page to reduce the bounce rate and increase the conversion rate. Sometimes, a custom checkout page is necessary for an eCommerce store or online storefront. ShopLentor Pro (Elementor WooCommerce Builder) makes it easy by providing several WooCommerce custom checkout options. 141 141 142 142 Besides creating a custom checkout page, ShopLentor allows removing or editing existing checkout page fields (billing and shopping fields). You can also add custom checkout page field like WooCommerce phone field or WooCommerce checkout phone. 143 143 144 144 By creating a custom Elementor WooCommerce Checkout page template according to your needs, you can get rid of the default Checkout page layout of WooCommerce. To help you achieve this, ShopLentor – Elementor WooCommerce Addon offers loads of Elementor WooCommerce builder widgets (Woo builder) specifically designed to create a custom Elementor WooCommerce Checkout page design. 145 145 146 146 If you want to improve customer experience through the checkout page of your store, you can utilize these WP WooCommerce checkout widgets or Elementor WooCommerce checkout widgets that enable you to do things like WooCommerce checkout customization, customize WooCommerce checkout page, customize checkout WooCommerce, Elementor WooCommerce checkout customization, etc. 147 147 148 148 Furthermore, the plugin comes with several beautifully designed pre-built Elementor WooCommerce checkout templates or WooCommerce templates for checkout that will allow you to create a custom checkout page within a minute. 149 149 150 150 <strong>[Customize WooCommerce Single Product Template](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)</strong> 151 151 ShopLentor (Elementor WooCommerce Builder) allows you to create a custom single product template. With all the powerful WooCommerce product addons or Woo addons available in ShopLentor, creating a unique design for your WooCommerce product page is a breeze. 152 152 153 153 The free version has the option to create a common product page template layout throughout the entire store, and the pro version allows you to create different WooCommerce single templates for various WooCommerce single product pages individually. 154 154 155 155 With all the WooCommerce extra product addons or Elementor WooCommerce widgets offered by ShopLentor (Elementor WooCommerce Builder), you can easily manage the WooCommerce single product page or WooCommerce single templates. In addition, these WooCommerce extra product addons, or WooCommerce product addons, are compatible with other popular Elementor WooCommerce plugins. 156 156 157 157 ShopLentor (Elementor WooCommerce Builder) lets you assign a separate Elementor template for each of your WooCommerce products from the WooCommerce product settings. For example, in the product setting WooCommerce screen, you will find a dropdown option where you can choose a custom template for the details page of that specific WooCommerce product. 158 158 159 159 160 160 ==⭐ Available Widgets: == 161 161 162 162 <strong>General Widgets</strong> 163 163 164 164 <strong>[Product Tabs](https://woolentor.com/demo/product-tabs)</strong> – Display your WooCommerce products in a tabbed format based on different categories. With the help of this Elementor WooCommerce product tabs widget, WooCommerce category tabs widget, or Woo product tabs widget you can dynamically list your WooCommerce products category wise in various WooCommerce category tabs. It even allows you to choose which WooCommerce product categories you want to display as tabs. 165 165 166 166 Furthermore, you can filter what type of WooCommerce products to showcase under a single WooCommerce product category or multiple WooCommerce product categories. For example, WooCommerce category recent products. 167 167 168 168 Since the Elementor WooCommerce widget for product tabs (woo product tabs) allows you to display recent products while at the same time supporting category based products, you can effortlessly showcase your newest WooCommerce products or WooCommerce recent products in your online storefront. In addition, WooCommerce category recent products can be handy to show products for specific categories or all WooCommerce categories. 169 169 170 170 You can even control the number of products that are displayed. So, whether you're launching a new product line or simply want to keep your customers informed about your latest WooCommerce products or WooCommerce recent products, WooCommerce category recent products is a great way to do it. 171 171 172 172 Other noteworthy features of this Elementor WooCommerce widget include controlling the WooCommerce product layout, the number of WooCommerce products to show, the WooCommerce category list, the customization of WooCommerce product ordering, etc. 173 173 174 174 <strong>[Product Grid](https://woolentor.com/demo/product-grid)</strong> – Display your WooCommerce products within a WooCommerce responsive grid layout with the WooCommerce product grid widget. This Elementor WooCommerce builder widget (Woo builder) offers 5 different WooCommerce grid layouts to showcase your WooCommerce products in a responsive grid for WooCommerce store with its WooCommerce widget responsive settings. Meaning the WooCommerce product grid widget will adjust to fit any screen size. 175 175 176 176 A key feature of this Elementor WooCommerce widget is its WooCommerce responsive grid, which displays your WooCommerce products in a WooCommerce grid layout or responsive grid for WooCommerce while ensuring that your WooCommerce website adapts to the screen size of the customer's device. You can rest assured that with the WooCommerce responsive grid system, your WooCommerce products are always displayed in an optimal way, regardless of what device your customers use. The WooCommerce responsive grid or responsive grid for WooCommerce is a significant selling point for WooCommerce, as it helps businesses reach a wider audience. You can even use this WooCommerce widget to control how many columns you want to display on each device. 177 177 178 178 By using a responsive grid for WooCommerce, you can ensure that your customers will be able to see your WooCommerce products no matter what device they're using. The WooCommerce product grid or Elementor grid widget can be of tremendous help if you want to showcase your WooCommerce products in a WooCommerce grid layout or responsive grid for WooCommerce. With this Elementor WooCommerce widget, you can enjoy the flexibility to exhibit your WooCommerce products in a grid view or WooCommerce grid layout. 179 179 180 180 Furthermore, the Elementor grid widget allows you to control the number of columns, gutter width, and breakpoints. A grid view is a type of WooCommerce product display that arranges items in a WooCommerce grid layout or a responsive grid for WooCommerce instead of displaying them in a single column. The grid view products or grid products make it easy for visitors to scroll through the WooCommerce products and find their desired ones. 181 181 182 182 Apart from choosing and configuring a WooCommerce product layout, you can control which WooCommerce products to display and how to display them in a WooCommerce product grid or WooCommerce grid layout based on multiple query settings such as product type, product categories, product order, number of products, and so on. Meaning that you can also leverage this Elementor WooCommerce product grid widget like a WooCommerce category product widget to display products based on categories. This WooCommerce category product widget is handy when it comes to getting the ability to control which category based products to display. 183 183 184 184 Since the Elementor WooCommerce widget enables store owners to display their WooCommerce products in a responsive grid for WooCommerce stores, rest assured that the WooCommerce products will look great no matter which device visitors use to browse the store. If you prefer using the WooCommerce grid, WooCommerce grid layout, or WooCommerce responsive grid, this WooCommerce product grid widget will be tremendously helpful. 185 185 186 186 ShopLentor's product grid widget lets you showcase WooCommerce products in a WooCommerce grid layout. WooCommerce product grids are commonly used to display WooCommerce products on your online storefront. With this WooCommerce product grid widget or display product widget you can present your WooCommerce products on the WooCommerce shop and archive pages. 187 187 188 188 Aside from displaying WooCommerce products in a responsive grid for WooCommerce, this product grid widget offers a wide range of customization options so that you can control many aspects of this widget, such as the number of columns, the number of WooCommerce products, WooCommerce product order, and so on. If you want your WooCommerce product display to be visually appealing, so it captures potential customers' attention, you should try out the WooCommerce product grid widget. This WooCommerce product grid widget is perfect for an online storefront that wants to display their WooCommerce products in a more organized and visually appealing way. 189 189 190 190 In this Elementor WooCommerce widget, there are a few different WooCommerce product layout or product layouts for WooCommerce options available for store owners to choose from. Some of the most popular WooCommerce product layouts or product layouts for WooCommerce include the grid layout, the list layout, and the carousel layout. 191 191 192 192 Each WooCommerce product layout has its own advantages and disadvantages, so it's important to choose the right WooCommerce product layout for your online store based on your WooCommerce products and your customer's needs. 193 193 194 194 A WooCommerce product slider or Woo slider is a great way to showcase your WooCommerce products on your website. With a WooCommerce product slider or Woo slider, you can easily display your WooCommerce products in a stylish and eye-catching way. In addition, customers can scroll through your WooCommerce products in a WooCommerce product slider or Woo slider. 195 195 196 196 Furthermore, the Woo slider is easy to use and comes with many customization options. That means you can control the WooCommerce slider or eCommerce slider and configure the WooCommerce widget product slider as per your needs. If you're looking for a way to improve the look and feel of your online storefront and make it more user-friendly, then a WooCommerce product slider or Woo slider is definitely worth considering. 197 197 198 198 ShopLentor's feature to create a WooCommerce product carousel or product carousel WooCommerce is very handy when it comes to showcasing your WooCommerce products in a responsive product carousel or responsive product slider (Woo product slider / Woo slider). With this product carousel WooCommerce or WooCommerce product carousel widget, you can choose how many WooCommerce products to display, what order to display them in, and whether or not to show navigation arrows. 199 199 200 200 You can also choose to autoplay the responsive product slider carousel or have it pause on hover. With just a few clicks, you can configure the product carousel WooCommerce or product slider for WooCommerce widget to display products from specific WooCommerce product categories. 201 201 202 202 You can also choose to show WooCommerce featured products slider, sale product list, new product list, or recent products list. With all the options available in this WooCommerce widget product slider addons (Woo product slider) or product carousel WooCommerce widget, you can create a WordPress product carousel, WooCommerce product slider (eCommerce slider), or WooCommerce widget product slideshow that looks great on any screen size. 203 203 204 204 Whether you're looking to increase conversions or simply showcase your WooCommerce products more effectively, the product carousel WooCommerce, Elementor WooCommerce product carousel slider, Elementor product carousel slider addons, or WooCommerce product carousel slider widget is an excellent solution. 205 205 206 206 If you are interested in displaying your WooCommerce products in an eye-catching WooCommerce slider, WooCommerce products slider, or Woo product slider, you can do so simply by enabling an option. After activating the WooCommerce product slider or Woo product slider option, this Elementor WooCommerce widget product slideshow, WooCommerce widget product slider, or product carousel WooCommerce widget will display your WooCommerce products in a wonderful Elementor WooCommerce product carousel slider, WooCommerce product slider, or WooCommerce slideshow. 207 207 208 208 <strong>[Add Banner](https://woolentor.com/demo/add-banner)</strong> – Create an eye-catching banner section anywhere you want on your WooCommerce store with this banner widget. A beautifully designed banner can help you with product exposure, advertisement of various WooCommerce offers or WooCommerce discounts, and strengthening your brand's identity. This Elementor WooCommerce builder widget (Woo builder) can be utilized as a banner designer that helps you add a banner image. For example, a promo banner, WooCommerce products announcement banner, responsive banner, etc. 209 209 210 210 You can also use this banner widget to alert your potential store visitor about the WooCommerce offers of your store. All you have to do is add an Elementor banner on your storefront, whether the discount type is WooCommerce cart discount, WooCommerce category discounts for WooCommerce, or any other WooCommerce custom discounts. 211 211 212 212 <strong>[Special Day Offer Banner](https://woolentor.com/demo/special-day-offer/)</strong> – Create a captivating banner with engaging offer texts to make an offer for WooCommerce store or show product discounts on any special days like Black Friday, Cyber Monday, Christmas, etc. There are many special days like Black Friday, Christmas, Halloween. Discounts and hot offers can increase store sales or work as WooCommerce booster these days. A wonderful Elementor banner can grab the attention of visitors and sometimes it increases a 15-30% conversion rate. We have added this Elementor WooCommerce widget for adding a special day offer. 213 213 214 214 If you want to give WooCommerce offers, WooCommerce discounts, or show product discounts on special days like Christmas and New Year, you can utilize this banner widget to display an eye-catching banner on your WooCommerce website. This special day offer banner encourages customers to purchase WooCommerce products that are on sale or with WooCommerce discounts. So on the occasion of special days, you should definitely give this banner widget a try! 215 215 216 216 <strong>[Image marker](https://woolentor.com/demo/image-marker/)</strong> – Describe specific parts of a WooCommerce product by adding multiple markers or WooCommerce hotspots to the WooCommerce image of that particular WooCommerce product. This WooCommerce marker widget or WooCommerce tooltip widget will also let you display detailed information about various parts of a WooCommerce product image via tooltip options that can be seen by hovering over the WooCommerce markers, WooCommerce product markers, or WooCommerce hotspots. Besides, you can include as many WooCommerce hotspot markers, WooCommerce markers, or WooCommerce product tooltips as you want in a WooCommerce image. 217 217 218 218 Product markers or image markers are a great way to help define WooCommerce products and WooCommerce images in a store. When product markers or image markers are used on a WooCommerce product image, customers can find their desired WooCommerce products faster and without any confusion. 219 219 220 220 This way, you can engage with your store visitors by giving them a visual representation of a product where they can see detailed information about different parts of it. All they need to do is hover over a WooCommerce hotspot or WooCommerce marker. It will help them decide whether or not to purchase a product. 221 221 222 222 <strong>[Universal Product Layouts for WooCommerce](https://woolentor.com/demo/product-layout/)</strong> – Create your own customized layout to display your WooCommerce products from several different options available in this Elementor WooCommerce builder widget (Woo builder). You can also choose from a selection of WooCommerce product layouts to better match your website’s look and feel. 223 223 224 224 That's not all; The Universal Product Layout WooCommerce widget of ShopLentor (all in one for WooCommerce) can also be used as a WooCommerce product slider plugin, WooCommerce widget product slider, WooCommerce widget product slideshow, WooCommerce slider addons, or Woo product slider for WooCommerce using which you can add a product carousel WooCommerce, WooCommerce carousel, WooCommerce product carousel, WooCommerce products carousel, Elementor WooCommerce product carousel slider, Woocommerce products slider, or WooCommerce slider to your WooCommerce store. 225 225 226 226 A WooCommerce products carousel or WooCommerce product carousel slider is a wonderful way to showcase your WooCommerce products on your website. Using a WooCommerce product carousel, WooCommerce widget product slideshow, WooCommerce widget product slider, or Woo product slider addons you can highlight multiple WooCommerce products in a single space, making it easy for visitors to browse and choose the WooCommerce products they want. 227 227 228 228 You can also use an Elementor WooCommerce product carousel slider, WooCommerce product carousel slider, or promotional product slider to promote special WooCommerce offers or WooCommerce discounts. A promotional product slider allows businesses to display promotional WooCommerce products or WooCommerce sale product list on their WooCommerce store, making it easy for customers to find and purchase these specific WooCommerce products. Promotional product sliders are a simple and effective way to boost sales and improve the visibility of your WooCommerce products to potential customers. 229 229 230 230 If you're using WooCommerce with Elementor, you can easily incorporate an Elementor WooCommerce product carousel slider, WooCommerce widget product slider, WooCommerce widget product slideshow, or Woo carousel to your website using the Universal Product Layouts widget of ShopLentor (Elementor WooCommerce Builder) as a WooCommerce product slider plugin. A shop page product slider, WooCommerce slider, or WooCommerce widget product slideshow can help to increase conversion rates by making it easier for customers to find and purchase the WooCommerce products they're interested in. 231 231 232 232 All you have to do is drag and drop the Elementor WooCommerce widget product slideshow, WooCommerce slider, or responsive slider into your WooCommerce layout and enable the Elementor WooCommerce product carousel slider or WooCommerce products slider (eCommerce slider) option. Moreover, the WooCommerce products carousel, product carousel WooCommerce or Elementor product carousel slider itself is mobile-friendly, so your potential visitors can easily scroll through the responsive slider or responsive product slider (Woo product slider / Woo slider) on their phone or tablet. 233 233 234 234 Another fantastic fact about this Elementor WooCommerce builder widget (Woo builder) or WooCommerce widget product slider is that it offers a useful option that allows showing WooCommerce products in different product layouts for WooCommerce or WooCommerce product layouts. For example, WooCommerce slider, WooCommerce tab, and WooCommerce grid. 235 235 236 236 Aside from that, you can choose what type of WooCommerce products to display in your store, such as WooCommerce featured products, WooCommerce category recent products, best selling products, top rated products, wp products on sale, WooCommerce best sale products, and so on. 237 237 238 238 For example, if you want to use this versatile Elementor WooCommerce widget like a WooCommerce product slider plugin or WooCommerce slider plugin to display only the featured WooCommerce products in a WooCommerce products carousel, WooCommerce product slider, or Woo product slider, this Elementor WooCommerce widget can help you achieve that by giving you the ability to create a WooCommerce featured products slider or WooCommerce featured product slider. You can also control the number of products and manage the featured product by category or category name. 239 239 240 240 <strong>[WooCommerce Category List](https://woolentor.com/demo/category-view/)</strong> – WooCommerce category list widget helps you to show categories vertically and horizontally. There are several styles that you can choose from like category icon/image, and the number of products in the category. This helps visitors to understand how much product you have in the specific category. Control the WooCommerce product category list or WooCommerce category list style according to your requirements. 241 241 242 242 <strong>[WooCommerce Category Carousel / Slider / Grid for Elementor](https://woolentor.com/demo/category-grid/)</strong> – WooCommerce store can be represented in a WooCommerce category slider, subcategory slider, or WooCommerce category carousel. This is an elegant way to showcase WooCommerce product categories and subcategories on your website. WooCommerce Category Carousel is a powerful Elementor WooCommerce builder widget by ShopLentor (Woo builder) that helps you add a WooCommerce product category slider, WooCommerce categories slider, subcategory slider, or category slider for WooCommerce. 243 243 244 244 You can also control the WooCommerce category carousel according to your requirements. This Elementor WooCommerce widget work like a Woocommerce category slider plugin that can be used for WooCommerce product category slider for Elementor, WooCommerce product category slider, product category slider, product category carousel, WooCommerce product category, WooCommerce category carousel, WooCommerce category slider, or subcategory slider. 245 245 246 246 If you're looking for a way to showcase your WooCommerce product categories in a stylish and engaging way, then a WooCommerce category carousel or WooCommerce category slider is the way to go. With ShopLentor (Elementor WooCommerce Builder), you can easily create a WooCommerce product category carousel or WooCommerce product category slider using the category grid WooCommerce widget. By using a WooCommerce product category slider for Elementor or category slider for WooCommerce, you can easily highlight different WooCommerce product categories on your site. 247 247 248 248 The WooCommerce category carousel or WooCommerce category slider are two popular ways to showcase WooCommerce product category on your WooCommerce site. By leveraging a WooCommerce category carousel or WooCommerce category slider, you can have the flexibility to display WooCommerce product categories in a WooCommerce carousel or WooCommerce slider format. This WooCommerce category recent products feature of this ShopLentor (WooCommerce builder) widget also allows you to showcase your most recent products in a user-friendly WooCommerce carousel or WooCommerce slider layout. 249 249 250 250 If you are planning to make your online storefront more accessible and easier to explore, then this wonderful Elementor WooCommerce widget or WooCommerce category showcase widget can help you achieve that by letting you showcase WooCommerce category list or WooCommerce category and product list in an eye-catching manner. You may be surprised at how easy it is to use this Elementor WooCommerce widget and how helpful it can be in showcasing your WooCommerce category. 251 251 252 252 This category slider for WooCommerce or WooCommerce category slider can help you encourage customers to browse through your WooCommerce product catalog. Additionally, a WooCommerce category carousel or product category carousel can also be helpful to increase the chances that customers will find the WooCommerce product they are looking for. So if you're looking for an easy way to incorporate a WooCommerce product category carousel or WooCommerce category carousel for WooCommerce category showcase, then be sure to check out this Elementor WooCommerce widget of ShopLentor (WooCommerce addon for wp page builder). 253 253 254 254 <strong>[WooCommerce Category Grid](https://woolentor.com/demo/category-grid/)</strong> – A very useful Elementor WooCommerce builder category product widget that can be utilized to showcase WooCommerce product category or Woocommerce category in a responsive grid layout on your WooCommerce store. This WooCommerce category post widget can also help you create a WooCommerce category list, WooCommerce category menu, or WooCommerce category showcase including WooCommerce category images. 255 255 256 256 There are options to manage WooCommerce category list and WooCommerce category image. Moreover, the WooCommerce category grid widget is fully responsive and mobile-friendly. In short, you can showcase WooCommerce product categories on your store in many different ways with the help of this Elementor WooCommerce builder widget. WooCommerce category grid is a great way to ehance the look of your WooCommerce store and make it more user friendly. 257 257 258 258 <strong>[WooCommerce Brands](https://woolentor.com/demo/brand-logo/)</strong> – Showcase brand logos within a grid or Woo carousel layout. WooCommerce Brands widget lets you display brands in different layouts. WooCommerce product brands is a ShopLentor's widget (Elementor WooCommerce builder widget) that helps you to showcase product brands in your store. With this Woo builder widget for brand logo showcase, you can display the brand logos of your partners or sponsors within a rotating brand logo carousel or brand logo slider. 259 259 260 260 A brand carousel or brand slider makes it easy for you to display the brand logos in a way that is creative and engaging. Not to mention, they can help you attract new customers and build brand loyalty. Aside from showcasing your partner’s logo, you can show the product brands or WooCommerce brands whose products you sell on your online storefront. Furthermore, the brand logo Carousel or brand logo slider is fully responsive and mobile-friendly. If you want to make your business trustworthy to your customers, this brand carousel or brands slider widget is worth considering. 261 261 262 262 263 263 264 264 265 265 <strong>[WooCommerce Breadcrumbs](https://woolentor.com/demo/product-layout/)</strong> – Add WooCommerce breadcrumbs to your WooCommerce store so that visitors can clearly understand which page they are currently viewing by seeing the WooCommerce navigation links, WooCommerce pages links, or WooCommerce menu links of the WooCommerce breadcrumbs. 266 266 267 267 <strong>[Customer Review](https://woolentor.com/demo/customer-review/)</strong> – Display customer reviews and control the style and layout of the reviews. With the help of this Elementor WooCommerce builder widget (Woo builder), you can increase the credibility of your business by allowing potential customers to see what the previous customers are saying about a particular product. 268 268 269 269 <strong>[WooCommerce Testimonial](https://woolentor.com/demo/testimonial/)</strong> – Display product testimonials on your WooCommerce site using the testimonial widget of ShopLentor. A testimonial widget or testimonials widget can be an excellent way to showcase customer testimonials on your online storefront. You can place the testimonial widget on any page you want. With this testimonials widget, you can show product testimonials in a testimonial grid format. 270 270 271 271 Furthermore, the testimonial widget will allow you to create an Elementor testimonial carousel and display multiple product testimonials in a testimonial slider or testimonial carousel format. Not to mention, the testimonials widget is also responsive, so it will look great on all devices. If you are looking for a way to show off product testimonials from satisfied customers and build trust with store visitors, be sure to check out this testimonial widget! 272 272 273 273 <strong>[Product Curvy](https://woolentor.com/demo/product-curvy/)</strong> – Showcase your WooCommerce products in an attractive card layout with circular images. Apart from drawing the attention of your store visitors, this Elementor WooCommerce builder widget (Woo builder) will also make your WooCommerce website stand out from the thousands of other stores. 274 274 275 275 <strong>[Product Image Accordion](https://woolentor.com/demo/product-image-accordion/)</strong> – Add a stunning product image accordion for your WooCommerce products to grab the attention of your customers. This powerful WordPress accordion widget will allow you to design an advanced accordion and control the necessary styles of the WooCommerce widgets accordion elements. 276 276 277 277 Product image accordion is a powerful WooCommerce accordion widget that allows you to showcase your WooCommerce product images in a beautiful and responsive accordion. The WordPress accordion widget comes with a number of different customization options, so you can personalize the image accordion to fit your needs. You can also configure how many WooCommerce products to show in the image accordion or WooCommerce widgets accordion. Once you create a responsive accordion using this WooCommerce widgets accordion or WooCommerce accordion, it will look great on all devices. 278 278 279 279 With this wonderful WooCommerce widgets accordion, you can even set filter as to what type of WooCommerce products you want to display on your online storefront. WoCommerce accordion is a great way to increase the visibility of your WooCommerce products and boost sales. So if you're looking for an easy way to add a WooCommerce accordion or image accordion to your WooCommerce site, a product Image Accordion or a responsive accordion is the perfect solution. Besides, the Product Image WooCommerce Accordion widget is easy to use and comes with a detailed documentation. 280 280 281 281 <strong>[Product Accordion](https://woolentor.com/demo/product-accordion/)</strong> – Add a simple but effective product accordion to your store and customize it according to your needs. ShopLentor's product accordion widget lets you showcase your WooCommerce products in a jQuery accordion or WooCommerce accordion where each product is displayed individually in an accordion pane. You can use this wp accordion widget to display certain WooCommerce products of your store differently. 282 282 283 283 <strong>[AJAX Search Form](https://woolentor.com/demo/ajax-search-form/)</strong> – Incorporate an AJAX search form into your store so that your customers can get live WooCommerce search suggestions or WooCommerce search content when searching for a WooCommerce product or performing a WooCommerce search. Customers can find their desired WooCommerce products in a matter of seconds with the help of an AJAX-powered WooCommerce search bar. 284 284 285 285 You can use this Elementor WooCommerce widget for AJAX search form to add an advanced WooCommerce search bar to your WooCommerce website. This advanced search widget or WooCommerce search bar will help customers find the exact WooCommerce product they are looking for. With the WooCommerce advanced search widget, you can provide your visitors with an extra level of convenience and functionality on your online storefront. If WooCommerce powers your online store, you should definitely incorporate an AJAX-powered WooCommerce search bar or WooCommerce advanced search option to your WooCommerce site. 286 286 287 287 Besides, this powerful AJAX WooCommerce search form module allows you to perform WooCommerce search by category. If you want to provide your customers with an incredible WooCommerce product search experience while they search WooCommerce store, you should definitely consider adding an efficient WooCommerce advanced search option to your WooCommerce store. 288 288 289 289 <strong>[WooCommerce Recently Viewed Products](https://woolentor.com/doc/recently-viewed-products/)</strong> – When it comes to displaying the recently viewed products or recent viewed WooCommerce products by shoppers on a WooCommerce store, this WooCommerce recently viewed products widget or recent viewed products widget will come in handy. This way, visitors can see what WooCommerce products they recently viewed in a store, making it easier for them to decide. Moreover, you can control the number of products (recent viewed products) to showcase, product order, columns, visibility of elements, and some necessary styles to change the look and feel of these woo recently viewed products or recent viewed products. 290 290 291 291 With this WooCommerce recently viewed products widget or recent viewed WooCommerce products widget of ShopLentor, you can enable your store visitors to keep track of the WooCommerce products they have viewed recently on your online storefront. This Elementor WooCommerce widget for recent viewed products can be used to remind your customers of items they were interested in but didn't purchase or to keep track of WooCommerce products they have already purchased so they don't accidentally buy them again. 292 292 293 293 Customers who visit your WooCommerce store might not purchase anything on their first visit. However, you can encourage them to return and make a purchase by showing them the WooCommerce products they recently viewed or recent viewed products using the WooCommerce recently viewed products widget or Woo recently viewed products widget. This WooCommerce recently viewed products widget or recent viewed WooCommerce products widget displays a list of WooCommerce products that the customer has previously viewed, making it simple for them to find and purchase WooCommerce products they're interested in. The WooCommerce recently viewed products widget or Woo recently viewed products widget can be highly convenient for boosting customer engagement and conversion rates. 294 294 295 295 You can add the recent viewed products widget or recently viewed products widget to any page on your WooCommerce site, and it will automatically update itself with the recently viewed products or recent viewed products. You can also customize the number of Woo recently viewed products that are displayed. Once you place the WooCommerce widget, it will automatically track the WooCommerce products your customers view and show them in a recently viewed products section on your website. When it comes to allowing your store visitors to see what WooCommerce products they have recently viewed, this WooCommerce recently viewed products widget or recent viewed products widget is pretty helpful. 296 296 297 297 <strong>Frequently Asked Questions</strong> – Incorporate a section for the most commonly asked questions by providing their answers on your WooCommerce store using this Elementor WooCommerce builder widget for WooCommerce faqs. You can utilize this widget to create a WooCommerce ask question tab, WooCommerce faq tab, or product faq for WooCommerce section that will undoubtedly improve the user experience. If you are running a WooCommerce store, you must have known that visitors ask question about WooCommerce products. Right? So, you should definitely make use of this Elementor WooCommerce widget to showcase the answers to their product based questions WooCommerce. 298 298 299 299 <strong>Template Selector</strong> – Create a custom Elementor template by utilizing this very widget and use it anywhere you want. 300 300 301 301 302 302 <strong>For Single Product Page:</strong> 303 303 304 304 <strong>[Product Title](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Control the layout and styling of your product title. In addition, you can dynamically display a product title on the WooCommerce product page or WooCommerce product templates by using the product title WooCommerce widget, which is available in this WordPress WooCommerce builder plugin (Woo builder). You can hide product title as well. 305 305 306 306 <strong>[Product Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get control over the layout and style of your product description. The product description WooCommerce widget included in this WooCommerce builder (Woo builder) allows you to showcase the WooCommerce product description anywhere you want on the WooCommerce single product page. 307 307 308 308 If you want to create a professional looking WooCommerce product page, this product description for WooCommerce or WooCommerce product description widget will come in handy as you'll be able to manage the necessary style for the WooCommerce product description. 309 309 310 310 <strong>[Product Short Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the layout and style of your product short description with this simple widget. When store owners want to display a short description of their WooCommerce products instead of a long description on the WooCommerce single product page, this Elementor WooCommerce widget or product widget WooCommerce can be pretty useful. 311 311 312 312 <strong>[Add to Cart](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the style and layout of the Add to Cart button for WooCommerce or WooCommerce single product cart button. Moreover, you can place this Elementor WooCommerce widget or product widget WooCommerce anywhere on the WooCommerce product page, WooCommerce product templates, or WooCommerce single templates to display the WooCommerce add to cart button link, Woocommerce cart link, single product cart button, or the cart button for WooCommerce. 313 313 314 314 That’s not all; This WooCommerce add to cart widget allows you to change the Woocommerce add to cart button text or WooCommerce add to cart button label, including all the necessary button styles to match your brand needs so that you can create a custom add to cart button WooCommerce. Place the single product cart button in any position you prefer and personalize the single product cart button as per your requirements while designing a custom add to cart button WooCommerce. 315 315 316 316 <strong>[Additional Information or Additional Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Display additional product information on the WooCommerce single product page or WooCommerce product templates. Here, additional information refers to a product's weight, height, color, dimension, and other information. If you want to show such information, this Elementor WooCommerce widget for product additional description or additional information can be handy. 317 317 318 318 <strong>[Product Data Tabs](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Gives you the flexibility to display WooCommerce product tabs in any place you prefer on the WooCommerce single product page. Also, with this WooCommerce tabs widget or WooCommerce product tab widget, you can control how product page tabs will appear, applying WooCommerce product custom tabs or WooCommerce custom tabs styling. You can even manage the appearance of WooCommerce product tabs for different devices using its WooCommerce widget responsive settings. 319 319 320 320 <strong>[Related Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of WooCommerce related products to display and change the style according to your needs. This Elementor WooCommerce widget or product widget WooCommerce is designed to showcase WooCommerce related products, similar products, or product recommendations based on the product whose details page you are on. 321 321 322 322 Showing WooCommerce related products can be a fantastic way to prompt customers to purchase additional items, and it can also help to boost your sales. You can utilize this WooCommerce related products widget to show products related to category. This Elementor WooCommerce widget or product widget WooCommerce will help your customers find their desired WooCommerce related product or related products. 323 323 324 324 Even though showing product related to the one customer are currently viewing is quite a useful feature, some store owners may think of it otherwise. For example, some businesses prefer to disable related products on their WooCommerce store because they don't want to clutter up their WooCommerce product pages or WooCommerce single product pages with an additional Woocommerce related products section. The main reason for doing so is that they believe that it might make it more difficult for customers to find what WooCommerce products they're looking for. 325 325 326 326 <strong>[Related Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Create a more customized layout to display the WooCommerce related products or recommended products on the WooCommerce product page. You can even utilize this Elementor WooCommerce widget as a WooCommerce related products slider plugin to design a striking WooCommerce related products slider and personalize all the settings available for the related products slider for WooCommerce. 327 327 328 328 If you are looking for a way to increase sales and conversions in your store, leverage this related products slider for WooCommerce widget that works like a WooCommerce related product slider plugin or WooCommerce related products slider plugin. The handy Woo builder widget for WooCommerce related products slider offers a plethora of options to add and configure a related products slider for WooCommerce stores. 329 329 330 330 When it comes to enhancing your WooCommerce site, one of the best things you can do is to add WooCommerce recommendations. There are several ways to accomplish this, but one of the most effective is to add a related products slider for woocommerce or WooCommerce related products slider. A related product slider will allow you to show your visitors other WooCommerce products that they may be interested in, based on what WooCommerce product they're currently viewing. 331 331 332 332 The WooCommerce related products slider or related products slider for WooCommerce is an excellent way to showcase product recommendations on the WooCommerce product page or WooCommerce single product page. By displaying WooCommerce related products in a related products slider format, you can easily highlight a wide range of product recommendations or WooCommerce recommendations without overwhelming your potential customers. So if you're looking for a way to boost your WooCommerce site, adding WooCommerce recommendations through a related products slider for WooCommerce or WooCommerce related products slider is a great place to start. 333 333 334 334 Furthermore, the WooCommerce related products slider addons is highly customizable, so you can ensure that it perfectly matches the look and feel of your online storefront. The related products slider allows you to showcase recommended products in a prominently displayed, easy-to-use product widget WooCommerce. If you're running a WooCommerce store, WooCommerce related products slider or related products slider for WooCommerce is a must-have feature. 335 335 336 336 WooCommerce recommended products are a great way to increase customer satisfaction. By showing WooCommerce recommended products on your WooCommerce product pages or WooCommerce product templates, you can increase the chances that customers will add additional items to their cart. It’s super easy to include a woocommerce recommendations or product recommendations section using the related products slider for WooCommerce widget. 337 337 338 338 The WooCommerce related products slider plugin like widget is super easy to use and comes with plenty of features. If you are running a WooCommerce store, embellish your WooCommerce product pages or WooCommerce product templates with a beautiful related products slider for WooCommerce. Furthermore, by showing WooCommerce related products slider or related products slider for WooCommerce, you can make it convenient for customers to find other WooCommerce products they might be interested in. (Pro) 339 339 340 340 <strong>[Product Price](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Show WooCommerce product prices dynamically on your store. This Elementor WooCommerce widget or product widget WooCommerce will automatically render the WooCommerce prices of a specific WooCommerce product. Even when a product is on sale, this simple widget will display both the WooCommerce sale price and the regular price. Besides, you can manage the style for the WooCommerce product price using this WooCommerce price addon. 341 341 342 342 <strong>[Product Rating](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Display your WooCommerce product ratings on the product page using the product ratings widget of ShopLentor (Woo Builder). You can also control the product rating or WooCommerce rating style with this product widget WooCommerce or WooCommerce product page widget. 343 343 344 344 <strong>[Product Reviews](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Show WooCommerce product reviews or WooCommerce reviews along with a review form for the customers to submit WooCommerce reviews on a product. Customer reviews on the WooCommerce product page can be helpful for potential customers to understand how people are reviewing a particular product. 345 345 346 346 Customers can leave WooCommerce reviews and ratings on a WooCommerce product they have purchased by using the review form of this WooCommerce product reviews widget. These customer reviews WooCommerce provide other potential store visitors with valuable insights into the quality of a particular product a business offers. 347 347 348 348 WooCommerce product reviews can be beneficial in improving the overall user experience on your WooCommerce store. Apart from that, many of your potential customers can easily decide whether or not to purchase a WooCommerce product after checking the WooCommerce reviews available on a product. 349 349 350 350 <strong>[Product Image](https://woolentor.com/demo/product/ninja-silhouette/)</strong> – Display WooCommerce product images or WooCommerce photos on the WooCommerce single product page and take control over the styling of your WooCommerce product images and product thumbnails. Shoppers can also view the WooCommerce product images, Woocommerce featured images, or WooCommerce images in a user-friendly WooCommerce lightbox or WooCommerce popup. 351 351 352 352 A WooCommerce product image is one of the most significant elements on a WooCommerce product page. When a customer visits your WooCommerce store, the first thing they will see is the WooCommerce product image. It allows shoppers to view how the WooCommerce product looks like and get an idea of its size and shape. A good WooCommerce product image can make all the difference in whether or not a shopper decides to add a product to their cart. In addition, a WooCommerce product image can convey additional information about a WooCommerce product, such as color options, features, and materials. A well-chosen WooCommerce product image can help to improve the shopper's experience and increase the conversion rates. 353 353 354 354 <strong>[Advanced Product Thumbnails](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get full control over the product thumbnails layout with this advanced Elementor WooCommerce builder widget or Woo builder widget. It allows showcasing product thumbnails in a WooCommerce product gallery slider, WooCommerce gallery slider, WooCommerce gallery carousel, or WooCommerce product gallery carousel, which makes the thumbnail images look quite appealing. You can even show or hide the WooCommerce sale badges or WooCommerce badges (Woo badges) if you want. 355 355 356 356 A WooCommerce gallery slider or WooCommerce gallery carousel is a great way to showcase your WooCommerce product thumbnails in an eye-catching and engaging way. This Elementor WooCommerce product gallery carousel allows you to showcase multiple product thumbnails of a WooCommerce product at once, and the sleek design is sure to capture your audience's attention. 357 357 358 358 In addition, the WooCommerce product gallery slider or WooCommerce product gallery carousel is fully responsive, meaning it will look great on any device. So, if you want to add some flair to your online storefront, try this Elementor WooCommerce widget to showcase your WooCommerce product thumbnails within an eye-catching WooCommerce gallery slider or WooCommerce gallery carousel. (Pro) 359 359 360 360 <strong>[Advanced Product Thumbnails with Zoom](https://woolentor.com/demo/product/image-zoom/)</strong> – One of the most useful WooCommerce product addons that helps you showcase your product images or WooCommerce images with a WooCommerce zoom effect. This Elementor WooCommerce builder widget (Woo builder) for WooCommerce product zoom plays the role of a WooCommerce zoom image plugin, WooCommerce zoom plugin, or product image zoom for WooCommerce plugin. 361 361 362 362 As ShopLentor's advanced product thumbnails with zoom widget works like a WooCommerce zoom image plugin or product image zoom for WooCommerce plugin, rest assured that you can effortlessly add a product image zoom or product photo zoom effect to the WooCommerce images of your store. 363 363 364 364 This product zoom WooCommerce or WooCommerce product zoom widget allows your customers to zoom in on WooCommerce product images, making it easier for them to see details and get a better idea of what WooCommerce product they are buying. If you're looking for an easy way to improve the usability of your WooCommerce site, the WooCommerce image zoom or WooCommerce product zoom can be a great solution to help you achieve that. 365 365 366 366 By leveraging this WooCommerce product zoom or WooCommerce zoom widget as a product image zoom for WooCommerce plugin, WooCommerce zoom image plugin, or WooCommerce zoom plugin, add versatile product zoom, product photo zoom, or hover over image zoom functionality to your WooCommerce product images, making it easy for customers to see detailed WooCommerce product information and get a closer look at the WooCommerce product they are interested in. With product zoom WooCommerce or WooCommerce product zoom, your customers will be able to see your WooCommerce products in greater detail, making it more likely that they'll make a purchase. 367 367 368 368 On top of that, you can create a beautiful WooCommerce product thumbnails slider or WooCommerce product image slider on your store with this WooCommerce product addon or WooCommerce product options. Using such functionality of product zoom WooCommerce and WooCommerce product thumbnails slider on WooCommerce product templates or WooCommerce single templates, you can enhance the look and feel of the WooCommerce single product page. 369 369 370 370 A product slider (Woo product slider / Woo slider) with thumbnails or WooCommerce product thumbnails slider is a great way to showcase a WooCommerce product on the WooCommerce product page. By displaying product thumbnails in a slider, you can give your customers a better idea of what they are looking at and make it easier for them to find their desired WooCommerce product. You can easily create a WooCommerce product thumbnails slider or WooCommerce product image slider using this Elementor WooCommerce widget. 371 371 372 372 This way, customers can quickly browse through the WooCommerce product thumbnails slider or product slider with thumbnails and get an idea of what each WooCommerce product looks like. The product thumbnails provide a clear overview of a specific WooCommerce product, and the WooCommerce product thumbnails slider helps increase product visibility as well as encourage customer engagement. 373 373 374 374 <strong>[Product Video Gallery](https://woolentor.com/demo/product/video-in-product-gallery/)</strong> – Add WooCommerce product videos to the product thumbnails gallery and get control over the WooCommerce gallery position. This video gallery widget or WooCommerce product video widget is not limited to including WooCommerce videos or product videos in the thumbnails gallery. In addition, you will be able to create an engaging video gallery of your WooCommerce products. 375 375 376 376 You can also use this Elementor WooCommerce widget to add a products promo video of your WooCommerce product to the single product page. The products promo video in WooCommerce is a crucial part of the shopping experience. A products promo video allows customers to see a WooCommerce product in action and understand how they work. In addition, the products promo video can help to build brand awareness and establish an emotional connection with potential customers. 377 377 378 378 <strong>[Product Share Widget](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Product sharing is a great way to promote your WooCommerce products and get word-of-mouth marketing. By displaying the product share options to your customers in a lively manner, you can make it easy for them to share WooCommerce products on their social media. This product share widget will help your visitors or customers to share products or spread the word about your WooCommerce products and increase sales. 379 379 380 380 This product share widget works like a WooCommerce booster or booster for WooCommerce. In addition, by making it easy for customers to share products, you will build trust and goodwill. Customers who have a positive experience with your company are more likely to return in the future and recommend your WooCommerce products to others. Therefore, product sharing or product share is an essential part of any good marketing strategy. 381 381 382 382 <strong>[Upsell Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of WooCommerce upsell products to display and change the style based on your needs. With this WooCommerce builder (Woo builder) upsell products widget or WooCommerce product upsell widget, you can encourage potential customers to include some more expensive WooCommerce products or add-ons to their orders so that it increases the overall order value. 383 383 384 384 You can also use the WooCommerce upsell products widget or WooCommerce product upsell widget like a WooCommerce upsell plugin to display similar or related upsells products on a specific product's detail page and persuade customers to spend more on those WooCommerce upsells products. 385 385 386 386 Upselling WooCommerce products is a common marketing technique that encourages customers to purchase higher-priced WooCommerce products. By showcasing upsells products or WooCommerce upsell products, you can increase your store's average order value and boost profits. 387 387 388 388 So, what are you waiting for? Make sure to leverage the WooCommerce product upsell feature in your store and multiply your sales. 389 389 390 390 <strong>[Upsell Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Create a more personalized layout to display the WooCommerce upsell products. This WooCommerce builder product upsell widget or upsell WooCommerce widget gives you the ability to have even more control over the look and feel of the WooCommerce upsell products or upsells products section. You can even showcase WooCommerce upsell products in an attractive WooCommerce upsell carousel or upsells carousel. 391 391 392 392 A WooCommerce upsell carousel or upsells carousel is an excellent way to increase your average order value and boost your sales. By offering upsell carousel or upsells carousel products, you can encourage customers to add items to their cart that they may not have otherwise considered. Upsell carousels or upsells carousels can be used to promote other WooCommerce products in your store. 393 393 394 394 WooCommerce upsells carousel or WooCommerce upsell carousel is a great way to showcase and sell WooCommerce products. The WooCommerce upsells carousel displays WooCommerce products in a rotating carousel. ShopLentor (Woo builder) makes it easy to create a WooCommerce upsells carousel or WooCommerce upsell carousel to showcase WooCommerce upsells products on your store. 395 395 396 396 With this Woo Builder widget for upsells products or product upsell, you can upsell WooCommerce products to your customers by displaying them within a beautiful upsell carousel or upsells carousel. 397 397 398 398 WooCommerce upsells can be a great strategy to boost your purchase total. You can quickly promote several WooCommerce upsell products on your site using a WooCommerce upsells carousel. By including WooCommerce upsell products in an upsells carousel, you can increase the chances that shoppers will see and purchase them. 399 399 400 400 The main key is to offer WooCommerce upsells products that customers might be interested in, based on what they're already looking at. Furthermore, a WooCommerce upsells carousel or product upsell carousel is easy to set up and configure. So you should definitely check this Elementor WooCommerce widget out. 401 401 402 402 With this Woo builder or Elementor WooCommerce widget, you can upsell products on the WooCommerce product page for each of your WooCommerce products. This feature to display WooCommerce upsell products or upsells products in a WooCommerce upsells carousel or WooCommerce upsell carousel can be leveraged to increase sales and encourage customers to buy higher-quality items. 403 403 404 404 Upsell products, upsell WooCommerce products, or WooCommerce upsell products can be displayed in many ways, including a product upsell carousel, WooCommerce upsell carousel, or WooCommerce upsells carousel, which allows customers to browse upsells products easily. So if you're looking for a way to increase your sales, consider utilizing the WooCommerce upsell products, or the product upsell widget of ShopLentor. With just a few clicks, you can start promoting additional WooCommerce products and generating additional revenue. 405 405 406 406 And because the Elementor WooCommerce widget for upsells products or product upsell is highly customizable, store owners can tailor the experience to best fit their individual business needs. So if you're looking for a way to boost your eCommerce sales, consider using the WooCommerce upsells carousel widget or WooCommerce upsell carousel widget on your store. (Pro) 407 407 408 408 <strong>[Product Stock](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Show the stock status of your WooCommerce products on the WooCommerce single product page or WooCommerce product templates using this product stock widget. When you show stock or stock available notice to your potential customers, including the number of WooCommerce stock available for a product (i.e. stock count), they will get a clear idea of whether a product is available for purchase. Besides, you can control the style of your product stock status. 409 409 410 410 <strong>[Product Meta](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Show or hide WooCommerce product meta on the WooCommerce product page. Here product meta refers to product category, WooCommerce product tag, product SKU, etc. With the product meta widget, you can also customize the style of your WooCommerce product meta data. 411 411 412 412 With the WooCommerce show terms feature of this WooCommerce product meta widget, you can display WooCommerce terms like product category and Woo product tags on the WooCommerce product page or WooCommerce single product page. 413 413 414 414 Therefore, if you intend to display the WooCommerce category and WooCommerce tags of your WooCommerce products on the WooCommerce single product page of your store, this WooCommerce product meta widget will come in handy. 415 415 416 416 <strong>[Call for Price](https://woolentor.com/doc/call-for-price/)</strong> – Allows you to add a click to call button to a WooCommerce store using which your customers will be able to call you to know the price of your WooCommer products. You may want to add WooCommerce products without showing the WooCommerce price, so your customers can call you to know the WooCommerce price. We found many websites that hide WooCommerce price for some of their WooCommerce products. For this type of website, we added this Elementor WooCommerce widget or WooCommerce price addon. If anyone clicks on the “Call for price” button from a mobile, he/she can easily contact you by phone call. 417 417 418 418 On a WooCommerce site, the "WooCommerce no price" and "call for price" button can be used when a seller does not want to display the price of a WooCommerce product upfront or when the customer needs to request a quote based on their requirements. For example, ShopLentor's "WooCommerce no price" or "call for price" button widget or WooCommerce price addon lets you hide the price of a WooCommerce product until the customer calls the store admin to know the WooCommerce price. 419 419 420 420 The "call for price" button is typically used to link to a phone number, which customers can directly call through their mobile devices. This type of WooCommerce button can be pretty helpful when selling WooCommerce products that are made to order or when the WooCommerce price is variable based on customer needs. 421 421 422 422 <strong>[Suggest Price](https://woolentor.com/doc/suggest-price/)</strong> – Insert a button to get suggestions from your customers regarding the price of your WooCommerce products. Your customers can suggest a price for your WooCommerce products. You can add this button widget or WooCommerce price addon anywhere on your product details page. We recommend putting it on the right side of the add to cart button for WooCommerce. When a customer clicks the button, a contact form will open to send a WooCommerce product price suggestion or suggest product price. Finally, you can add a suggest product price button to any WooCommerce product page, allowing visitors to provide product price suggestion or price suggestion for the WooCommerce products of your store.. 423 423 424 424 Suggest Price Elementor WooCommerce widget works like a feature called WooCommerce name your price or name your price for WooCommerce products. In simple words, customers can use the suggest price button to name their own WooCommerce product prices or suggest product prices simply by submitting a simple form. A store owner or admin will then take the customer's input and review the price. The WooCommerce builder widget or Woo builder widget could be a great way to get customers interested in WooCommerce products they may not have considered of purchasing in the beginning. 425 425 426 426 <strong>[QR Code](https://woolentor.com/demo/product/qr-code/)</strong> – Let your customers add any WooCommerce products to their cart just by scanning a simple QR code from their mobile phone. You can add this WooCommerce QR code widget or QR widget on the WooCommerce product page. 427 427 428 428 This QR WooCommerce or WooCommerce QR widget makes it easy for customers to add a WooCommerce product to their cart. All they need to do is scan the simple QR code or WooCommerce QR code using their mobile devices, and the QR widget will automatically add the product to their cart. So if you're looking for a way to make your WooCommerce product or website more accessible, consider using a WooCommerce QR code widget. 429 429 430 430 <strong>[Social Share](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Enable your customers to share your WooCommerce products on different social media platforms. This Social Share for WooCommerce widget makes it easy for customers to share products with their friends and followers on various social media sites. Furthermore, you can share products with just a few clicks using this product share widget of ShopLentor. Whether you're looking to increase traffic to your WooCommerce product pages or offer customers a quick share option to share products with their friends, Social Share for WooCommerce widget is a wonderful option. (Pro) 431 431 432 432 <strong>[Stock Progress Bar](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Add a WooCommerce stock progress bar to display the number of WooCommerce ordered products and available products. This Elementor WooCommerce widget lets you visually represent the available stock of a specific product by using a WooCommerce progress bar or product stock count progress bar for WooCommerce. Once your prospective customers see the amount of WooCommerce ordered products, sales count WooCommerce, or WooCommerce sales count, it becomes easier for them to understand how much demand that particular WooCommerce product has on your store. 433 433 434 434 When it comes to online shopping, one of the most important factors for customers is knowing how much stock is available. This is where the WooCommerce stock progress bar widget comes in. This handy WooCommerce progress bar or stock progress bar widget allows you to display a product stock count progress bar on WooCommerce single product pages, WooCommerce product templates, or WooCommerce single templates letting customers know how much stock is left at a glance. Adding a WooCommerce progress bar can encourage customers to buy WooCommerce products before they sell out, and it can also help to avoid customer disappointment. 435 435 436 436 In addition, the product stock count progress bar for WooCommerce module can also be configured to display the number of WooCommerce ordered products. Whether you're running a small online storefront or a large eCommerce operation, the WooCommerce Stock Progress Bar or WooCommerce progress bar is a valuable feature to keep your business running smoothly. (Pro) 437 437 438 438 <strong>[Product Sale Schedule](https://woolentor.com/demo/product/patient-ninja/)</strong> – Set up a discount scheduler or WooCommerce sale schedule for every WooCommerce product of your store that is on sale. (Pro) 439 439 440 440 441 441 <strong>Cart Page Widgets (Pro):</strong> 442 442 443 443 <strong>[Cart Table](https://woolentor.com/demo/cart/)</strong> – Control each and every element of the cart table and customize the action buttons. 444 444 445 445 <strong>[Cart Total](https://woolentor.com/demo/cart/)</strong> – Manage the style and layout of the cart total table. Aside from displaying the cart total, this cart WooCommerce widget lets you show product discount, WooCommerce cart discount, WooCommerce discounts, WooCommerce coupons, etc. WooCommerce discounts on the WooCommerce cart page are an excellent way to show appreciation for your customers and encourage them to purchase more WooCommerce products from your store. 446 446 447 447 <strong>[Empty Cart Message](https://woolentor.com/demo/cart/)</strong> – Show a WooCommerce cart message when the cart is empty. This WooCommerce empty cart message widget will also allow you to change the WooCommerce cart message text and customize some essential styles. 448 448 449 449 If you're running a WooCommerce store, it's important to setup a WooCommerce cart message. This message will let your customers know that they've reached the limit for the number of items they can purchase. By doing this, you can prevent oversold items and help keep your inventory levels in check. There are a few different ways to setup a WooCommerce cart message, so be sure to consult the WooCommerce documentation to find the best method for your store. Remember, a well-run WooCommerce store requires careful planning and attention to detail - setting up a WooCommerce cart message or cart message WooCommerce is just one small part of this process. 450 450 451 451 <strong>[Empty Cart Redirect Button](https://woolentor.com/demo/cart/)</strong> – Get full control over the redirect button of an empty Cart page or WooCommerce add to cart redirect. 452 452 453 453 <strong>[Cross Sell Product](https://woolentor.com/demo/cart/)</strong> – Showcase WooCommerce cross sell products on your WooCommerce store and control the styles for each cross sell widget element. 454 454 455 455 Cross selling WooCommerce products is an incredible technique for selling related WooCommerce products to a customer who has already purchased something. For example, a customer who is buying a dress may also be interested in purchasing a matching handbag. 456 456 457 457 ShopLentor’s Elementor WooCommerce widget to showcase WooCommerce cross sell products, or crosssell products which is fully compatible with WooCommerce's built-in feature for cross selling. By showing the customer relevant cross sell products or cross-sells products to the customer, businesses can increase the value of each transaction and boost their overall sales. 458 458 459 459 When used correctly, cross selling can be an effective way to increase revenue and grow a business by recommending genuinely useful WooCommerce cross sell, cross-sells, or crosssell WooCommerce products to your potential store visitors. 460 460 461 461 <strong>[Cross Sell Product Layout (Custom)](https://woolentor.com/demo/cart/)</strong> – Get even more control over the cross selling products or WooCommerce cross sell products using this fantastic Cross-sell products widget or crosssells products widget. 462 462 463 463 ShopLentor can assist you with product promotion on Cart for WooCommerce. If you are wondering how you can achieve this, ShopLentor's WooCommerce cross-sell products widget or WooCommerce cross sell widget is the way to go. With a little creativity, you can showcase WooCommerce crosssell products in a stunning cross sells or crosssells carousel. 464 464 465 465 Adding a beautiful carousel for WooCommerce cross sell products on the Cart page, product promotion on Cart becomes a lot easier than you might expect. This WooCommerce cross-sell products slider can be utilized as a promotional product slider as well to urge customers to purchase more items by showing relevant WooCommerce products to them. 466 466 467 467 If you use this Elementor WooCommerce widget for cross-selling WooCommerce products properly, you can effectively set up an engaging section for WooCommerce cross sell product promotion, multiple product promotions, or any other WooCommerce promotion. If you want to enhance sales and conversion rates, WooCommerce product promotion on cart is definitely worth considering. 468 468 469 469 470 470 <strong>Checkout Page Widgets (Pro):</strong> 471 471 472 472 <strong>[Checkout Additional Info Form](https://woolentor.com/demo/checkout/)</strong> – Modify the fields and style of the additional information form. 473 473 474 474 <strong>[Checkout Billing Form](https://woolentor.com/demo/checkout/)</strong> – Get full control over the fields and styles of the billing form. 475 475 476 476 <strong>[Checkout Shipping Form](https://woolentor.com/demo/checkout/)</strong> – Manage all the fields and necessary styles of the shipping form. 477 477 478 478 <strong>[Checkout Payment Method](https://woolentor.com/demo/checkout/)</strong> – Set your own style for the payment method section of the Checkout page. 479 479 480 480 <strong>[Checkout Coupon Form](https://woolentor.com/demo/checkout/)</strong> – Control the layout and style of the coupon form effortlessly. 481 481 482 482 <strong>[Checkout Login Form](https://woolentor.com/demo/checkout/)</strong> – Customize the login form as per your requirements. 483 483 484 484 <strong>[Checkout Order Review](https://woolentor.com/demo/checkout/)</strong> – Allow your customers to review the order details before placing their orders. To name a few, WooCommerce ordered products, subtotal, WooCommerce discounts, WooCommerce shipping cost, WooCommerce additional cost, WooCommerce extra cost, WooCommerce checkout cost, WooCommerce costs, etc. With this Elementor WooCommerce builder widget or Woo builder widget, you can also change the style of the order review form exactly the way you want. 485 485 486 486 487 487 <strong>My Account Page Widgets (Pro):</strong> 488 488 489 489 <strong>[My Account](https://woolentor.com/demo/my-account/)</strong> – Control the navigation menu items and style of the account page. 490 490 491 491 <strong>[My Account Dashboard](https://woolentor.com/demo/my-account/)</strong> – Display the dashboard options from the account page separately and set your own style. 492 492 493 493 <strong>[My Account Download](https://woolentor.com/demo/my-account/)</strong> – Display the download options from the account page separately. 494 494 495 495 <strong>[My Account Edit](https://woolentor.com/demo/my-account/)</strong> – Show a WooCommerce form for your customers to edit the account information and control the style of the form elements. 496 496 497 497 <strong>[My Account Address](https://woolentor.com/demo/my-account/)</strong> – Enable your customers to provide their billing and shipping details. 498 498 499 499 <strong>[My Account Login Form](https://woolentor.com/demo/my-account/)</strong> – Control the layout and style of the customer login form. 500 500 501 501 <strong>[My Account Register Form](https://woolentor.com/demo/my-account/)</strong> – Control the layout and style of the customer registration form. 502 502 503 503 <strong>[My Account Logout](https://woolentor.com/demo/my-account/)</strong> – Show a link to log out and customize the link based on your needs. 504 504 505 505 <strong>[My Account Order](https://woolentor.com/demo/my-account/)</strong> – Display the order details from the account page separately. 506 506 507 507 508 508 <strong>Shop or Archive Page Widgets:</strong> 509 509 510 510 <strong>[Product Archive Layout](https://woolentor.com/demo/shop/)</strong> – Display your WooCommerce products in the WooCommerce layout supported by your theme and customize some necessary styles if necessary. This Elementor WooCommerce builder widget fetches all your WooCommerce products and displays them depending on your theme style alongside a WooCommerce product sort or WooCommerce sort and WooCommerce pagination. 511 511 512 512 One of the great things about WooCommerce is that it gives customers a lot of flexibility when it comes to sorting WooCommerce products. For example, WooCommerce product sort or WooCommerce sort options can be configured to sort products by popularity, product price, or product rating. With WooCommerce product sort or WooCommerce sort, your customers can sort WooCommerce products any way they want. WooCommerce store owners or visitors can use the WooCommerce sort or WooCommerce product sort feature to control how WooCommerce products are displayed on a WooCommerce site. So if you're looking for a way to give your online storefront an edge, be sure to leverage the WooCommerce product sort or WooCommerce sort option. 513 513 514 514 You can also make use of this Elementor Woo builder widget to create an eye-catching WooCommerce product catalog to showcase your WooCommerce products and make it easy for customers to find what they're looking for. To put it in a nutshell, this WooCommerce products archive widget is mainly designed for WooCommerce product display based on your theme style. 515 515 516 516 <strong>[Product Archive Layout (Custom)](https://woolentor.com/demo/product-category/clothing/hoodies/)</strong> – Display your WooCommerce products using a more customized layout and get control over the styles of every element. You can easily create an appealing product list for WooCommerce websites with this Elementor WooCommerce builder widget or Woo builder widget. 517 517 518 518 You can also use this product catalog WooCommerce or WooCommerce catalog widget to showcase your WooCommerce products in a WooCommerce product catalog. So even if you want to create multiple WooCommerce categories designs for every WooCommerce category your online storefront has, this WooCommerce category product widget or WooCommerce widget has you covered. 519 519 520 520 This incredible Elementor WooCommerce widget allows you to display your WooCommerce products in a WooCommerce responsive grid view. WooCommerce grid products or grid view products can be helpful if you want to show off multiple WooCommerce products at once or if you want to give customers a better way to browse through your WooCommerce products. 521 521 522 522 In addition, the grid products or grid view products could be the better option when you're selling WooCommerce products that are visually appealing. WooCommerce grid products or grid view products can also be displayed in various ways with this Elementor WooCommerce widget. 523 523 524 524 Furthermore, you can use WooCommerce product filters and WooCommerce search bar along with this Woo builder widget for WooCommerce grid products or grid view products. This way, customers can easily filter through the WooCommerce products to find what they're looking for. 525 525 526 526 You can even have the flexibility to tailor the WooCommerce product display to your specific needs. Ultimately, the WooCommerce product grid for shop and archive pages is a powerful Elementor WooCommerce widget that can be leveraged to create an engaging and user-friendly shopping experience. 527 527 528 528 The WooCommerce Product listing page is the most important page on your WooCommerce store. It's where customers go to browse and buy your WooCommerce products. By default, WooCommerce displays products in a WooCommerce grid layout. But sometimes, customers may want to view WooCommerce products or product list for WooCommerce in a list layout instead. That's where this Elementor WooCommerce widget for grid and list view WooCommerce comes in. This Elementor WooCommerce widget lets you add both grid and list view WooCommerce options to your product list for WooCommerce. 529 529 530 530 Customers can shift between the two views simply by clicking on the grid and list view WooCommerce tabs or toggle buttons while browsing the WooCommerce products of your online storefront. Best of all, the WooCommerce product listing page with list and grid view WooCommerce will be responsive and mobile friendly! If you are looking for a way to provide your customer with an amazing user experience, this grid and list view WooCommerce widget is a must-have for any WooCommerce store. (Pro) 531 531 532 532 <strong>[Horizontal Filter](https://woolentor.com/demo/horizontal-filter/)</strong> – Provide your store visitors with various Woocommerce products filters or Woo products filters horizontally (Woo filters) while having absolute control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. You can leverage this WooCommerce product filter widget or Elementor filter widget like a WooCommerce filter plugin to add several product filters for WooCommerce or WooCommerce shop filters, such as WooCommerce search filter, category filter WooCommerce, WooCommerce search by price filter, WooCommerce search by tag, WooCommerce sort, and so on. 533 533 534 534 The horizontal product filter for WooCommerce is one of the powerful Elementor WooCommerce widgets of ShopLentor (all in one for WooCommerce), which allows customers to narrow down their WooCommerce search results by various product options, such as product categories, WooCommerce tags, etc. 535 535 536 536 These WooCommerce filters or WooCommerce products filter (Woo products filter) can be useful for shoppers and store owners, as it helps to improve the best shopping experience and increase conversions. On the other hand, this WooCommerce shop filter widget or WordPress WooCommerce product filter widget works like a WooCommerce filter plugin or product filter for WooCommerce plugin that provides your customers with intuitive WooCommerce filters when they search for a WooCommerce product in your store. 537 537 538 538 Different types of filtering options are offered by this product filter, WooCommerce shop filter, or Elementor filter widget of ShopLentor (WooCommerce addon for wp page builder). So, what are you waiting for? Leverage this incredible WordPress WooCommerce product filter widget on your store and enhance the user experience ans start converting more of your visitors into customers. 539 539 540 540 <strong>[Vertical Filter](https://woolentor.com/demo/filter-vertical/)</strong> – Display several WordPress WooCommerce product filters vertically (Woo filters) on your WooCommerce store and get complete control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. When you associate this WooCommerce product filter widget, Elementor filter widget, or vertical filter widget with an archive widget, your products will become WooCommerce filterable products. It means that store visitors can filter through the WooCommerce products or filterable products based on different WooCommerce filters or WooCommerce shop filters and easily find or view products they are looking for. 541 541 542 542 WooCommerce filterable products are a great way to keep WooCommerce products of your online storefront organized and allow customers to find precisely what they're looking for. Using this WooCommerce product filter widget or vertical filter widget, you can incorporate a WooCommerce products filter (Woo products filter) on the shop and archive pages that will enable your customers to filter products by various product attributes or criteria. 543 543 544 544 This WordPress WooCommerce product filter, WooCommerce shop filter or Elementor filter widget of ShopLentor (Woo builder) provides different types of filterting options such as WooCommerce search filter, category filter WooCommerce that can be nifty to improve the shopping experience on your WooCommerce store while driving more sales. 545 545 546 546 If you don't want your visitors to jump to another store, you must ensure that they don't have to wade through a long list of WooCommerce products in your store. In this case, you can add WooCommerce filterable products to your store by using the WooCommerce product filter widget offered in ShopLentor (Woo builder). This product filter widget or Woo products filter widget can help you enhance the overall user experience by allowing the users to filter down the WooCommerce products that don't comply with their needs. 547 547 548 548 == 🧱 Available Gutenberg Blocks: == 549 549 550 550 <strong>General Gutenberg Blocks</strong> 551 551 552 552 <strong>[Product Tab](https://woolentor.com/demo/block-product-tab/)</strong> – WooCommerce product tabs Gutenberg block by ShopLentor lets you showcase your WooCommerce products category wise in a tabbed format. If you want to organize your WooCommerce products and make them easier to find for your store visitors, this Gutenberg WooCommerce block for WooCommerce product tabs can be handy. 553 553 554 554 You can leverage the tabbed category product listing feature to display WooCommerce products from different product categories in various WooCommerce category tabs. Hence it becomes easy for customers to browse through WooCommerce products from each product category simply by clicking on a WooCommerce category tab. Furthermore, customers are not required to visit an individual archive or category page to view WooCommerce products from a specific product category. 555 555 556 556 If you want to remove product tab, you can also achieve this in the settings panel of this Gutenberg WooCommerce block. Doing so is helpful for customers who don't want to show particular WooCommerce product tabs or WooCommerce product categories in a tabbed format on their websites. The WooCommerce Gutenberg block for product tabs can be used on any page you want to showcase your WooCommerce products in a tabbed format based on product categories. 557 557 558 558 This WooCommerce block for Gutenberg block editor includes everything you need to get started with WooCommerce product tabs. Plus, the Gutenberg WooCommerce block offers the same functionalities as the WooCommerce product tabs widget or category tabs widget of ShopLentor, designed exclusively for the Elementor page builder. Meaning you are not forced to use the Elementor page builder anymore. 559 559 560 560 You can now include a tabbed category product listing section in your online storefront using the WooCommerce Gutenberg block editor of WordPress alone. This product tab WooCommerce block for Gutenberg offers customers a wide variety of customization options using which a store owner can control almost every element of this WooCommerce Gutenberg block or Gutenberg WooCommerce block. 561 561 562 562 <strong>[Product Grid](https://woolentor.com/demo/product-grid-block/)</strong> – The WooCommerce product grid Gutenberg block of ShopLentor enables you to display WooCommerce products in a responsive grid. You can place this product grid Gutenberg block anywhere you like on your WooCommerce site. The output rendered by this WooCommerce Gutenberg block is fully responsive and will adjust to the screen size of the device it is being viewed on. It is also possible to customize the WooCommerce products grid block from the Gutenberg block settings. 563 563 564 564 If you don't want to use the Elementor Page Builder and stick with the native Gutenberg editor, you should try out this Gutenberg block for WooCommerce product grid. It works exactly the same as the Elementor grid widget or product grid widget of ShopLentor. Meaning you can utilize this WooCommerce Gutenberg block to showcase your WooCommerce products in a responsive grid for WooCommerce. All you have to do is enable Gutenberg product block for WooCommerce responsive grid. 565 565 566 566 Furthermore, this Gutenberg block for WooCommerce gives you full control over the WooCommerce grid layout or WooComerce product grids. You can also choose how many WooCommerce products to display per page and what order they are displayed in. Displaying WooCommerce products in a responsive grid is crucial for a WooCommerce store, as it will ensure that visitors can browse through the store no matter what type of devices they use. 567 567 568 568 So, what are you waiting for? Leverage this WooCommerce product grid block for the Gutenberg block editor and exhibit your WooCommerce products in a more visually appealing way. If you are interested in displaying your WooCommerce products using the Gutenberg block editor only, this WooCommerce Gutenberg block could be a great solution. 569 569 570 570 <strong>[Customer Review](https://woolentor.com/demo/customer-review-block/)</strong> – Customer reviews are an essential part of any eCommerce business, and WooCommerce is no exception. The default customer review system in WooCommerce is basic, but you can improve it with ShopLentor's customer review Gutenberg block. This customer reviews WooCommerce Gutenberg block allows you to add and display customer reviews on any post or page you wish. 571 571 572 572 There is no limitation to using this customer reviews block or WooCommerce product reviews block only on a single product page. Customer reviews, WooCommerce reviews, or WooCommerce product reviews can even assist you in boosting conversion rates by fostering a sense of trust and credibility among potential customers. 573 573 574 574 The customer review Gutenberg block for WooCommerce can also be customized to match the look and feel of your website. Besides, the WooCommerce Gutenberg block includes an option to insert star ratings, making it easy for customers to leave ratings and feedback on a WooCommerce product. It also helps potential customers to make informed decisions about WooCommerce products. 575 575 576 576 <strong>[Promo Banner](https://woolentor.com/demo/block-promo-banner/)</strong> – In this competitive world of eCommerce business, it's important to make sure your WooCommerce products stand out from the crowd. One way to do this is to promote products using promo banners. Promo Banners are a great way to grab attention and draw potential customers to your WooCommerce site or online storefront. With ShopLentor's promo banner Gutenberg block, you can easily create and customize promo banners to promote products on your WooCommerce store. 577 577 578 578 You can even use this Gutenberg block, like a banner widget or banner designer, to add banners or banner images to your website or blog. It doesn't have to be a WooCommerce page. This promo banner block for Gutenberg will help you design responsive banners or responsive banner images, so you can rest assured that all the promo banners will look great on any device. 579 579 580 580 You can also utilize an announcement banner in your WooCommerce store to notify customers of new WooCommerce products promo or product promotions. So, if you're looking for an easy way to promote products through a promo banner or announcement banner, adding promo banners is a great option. 581 581 582 582 <strong>[Special Day Offer](https://woolentor.com/demo/block-special-day-offer/)</strong> – Make an offer for WooCommerce to your customers by adding a beautiful banner with the special day offer block. This Gutenberg block is easy to use and has various customization options that make it ideal for businesses of all sizes. You can leverage this Gutenberg block to add banners on your WooCommerce store during any sort of special days like Christmas, Halloween, Black Friday, Cyber Monday, etc. businesses can easily create WooCommerce special offers and banners to promote their WooCommerce products and any other services. WooCommerce special offers can be used to attract new customers and keep existing ones coming back for more. 583 583 584 584 A special day offer banner can be a great way to attract attention and boost sales. By making special product offer and product promotions, businesses can encourage customers to buy more products and services. You can even use special offers to promote seasonal products, clearance items, or anything else you want to move quickly. With this Gutenberg block for special day offer, making special offers is easy and effective in a WooCommerce site. Just create a banner image and display it on your WooCommerce site. You can even use special offers to drive traffic to specific landing pages or product pages. So if you're looking for a way to boost sales and drive traffic, WooCommerce special offers are a great option. 585 585 586 586 <strong>[Image Marker](https://woolentor.com/demo/blocks-image-marker/)</strong> – Add image markers or image hotspots to an image using the image marker Gutenberg block of ShopLentor. This image marker block will allow you to add multiple markers to any image you want. Usually, store owners use WordPress markers or WooCommerce markers on various positions of a product image to show detailed information for every specific part of that product where the WooCoomerce markers are added. 587 587 588 588 This Gutenberg image marker block allows you to add a title and description for each product marker or WooCommerce marker. Customers can view the details in a tooltip option simply by hovering over the WooCommerce hotspots or image hotspots. Adding multiple markers to product images is a wonderful way to highlight specific parts of WooCommerce products on an online storefront. Not only do product markers add a touch of interactivity, but they can also help to boost engagement and encourage website visitors to explore your WooCommerce products in greater depth. 589 589 590 590 With this WooCommerce product marker or image marker Gutenberg block, you can quickly and easily add multiple markers to your product images with just a few clicks. Overall, WooCommerce product markers or WooCommerce product image hotspots can be a valuable option for creating a more interactive experience for your users. So if you're looking for a way to add some extra flair to your product photos, product markers are worth considering. 591 591 592 592 <strong>[Category Grid](https://woolentor.com/demo/block-category-grid/)</strong> – WooCommerce product category grid block allows you to show WooCommerce product categories in a grid view. The category grid view or categories grid is an excellent way for WooCommerce category showcase and makes it easy for customers to find what they're looking for. You can also use this category grid block or WooCommerce product category block for Gutenberg editor like a WooCommerce category product widget or WooCommerce product category widget to create an eye-catching WooCommerce category list, WooCommerce category carousel, product category carousel, WooCommerce category slider, product category slider, or category slider for WooCommerce. 593 593 594 594 This WooCommerce Gutenberg block for WooCommerce product category grid gives you the flexibility to control the style of WooCommerce category grid view and WooCommerce product category slider. You can even leverage this WooCommerce Gutenberg block to order category, limit the number of product categories, show count, set the number of columns, gutter space, and many more. On top of that, the WooCommerce category grid block is fully responsive and mobile-friendly. If you are looking for a way to display your WooCommerce product category compellingly, you should definitely check this WooCommerce Gutenberg block of ShopLentor. 595 595 596 596 <strong>[Frequently Asked Questions](https://woolentor.com/demo/block-faq/)</strong> – If you're selling products online, then you know that product FAQ for WooCommerce is an important part of the customer journey. Not only do they help to provide common product question and answer, but they can also help to reduce returns and increase customer satisfaction. 597 597 598 598 Fortunately, ShopLentor has a Gutenberg FAQ block for product FAQ for WooCommerce or WooCommerce FAQs that enables you to add a WordPress responsive accordion with FAQ or responsive frequently asked questions section to your WooCommerce store. With this useful WooCommerce product FAQ block for Gutenberg editor or Gutenberg FAQ block, you can also include category wise FAQs or category wise frequently asked question. 599 599 600 600 It is also possible to leverage this Gutenberg FAQ block for WooCommerce FAQ or product FAQ to place a FAQ in single product page or a responsive frequently asked questions section on any page you want on your WooCommerce website. The FAQ Gutenberg block or Gutenberg FAQ block even comes with many customization options using which you can design a stylish FAQ to improve the customer experience. 601 601 602 602 Adding a product FAQ or WooCommerce FAQ section to your WooCommerce store can be a great way to provide additional information about your WooCommerce products and help customers make informed purchase decisions. Customers usually ask question about WooCommerce products to know more detail about specific products. 603 603 604 604 That's where a WordPress responsive accordion with FAQ can assist in reducing customer support inquiries, as customers can find answers to their commonly asked questions without needing to contact you directly. 605 605 606 606 Even though the Gutenberg FAQ block is mainly designed to add a WordPress responsive accordion with FAQ, you can still utilize the FAQ Gutenberg block as a Gutenberg accordion block or an accordion Gutenberg block to design and add a Gutenberg custom accordion to your WooCommerce site. 607 607 608 608 <strong>[Brand Logo](https://woolentor.com/demo/block-brand-logo/)</strong> – Showcase the brand logos of your clients, partners, or sponsors on your WooCommerce website using this brand logo block for Gutenberg blocks editor. You can also add a title and URL along with the logo image. You can provide proof that your business is credible by displaying multiple brand logos in a beautiful logo grid. That's why it's essential to have a brand logo showcase on your website. 609 609 610 610 This brand logo showcase Gutenberg block or brand logo gallery Gutenberg block enables you to display a group of brand logo images in an eye-catching logo grid. In this Gutenberg logo block settings, you will find some customization options as well, using which you can personalize the look and feel of the brand logo grid section. If you're looking for a way to take your website to the next level, consider adding a brand logo showcase to your website leveraging the Gutenberg logo block of ShopLentor (Addons for Gutenberg). 611 611 612 612 Apart from showing the logos in a grid format, there are other ways to make them look even more attractive. For example, you can showcase brand logos in a brand logo carousel or brand logo slider, making it easy for visitors to browse through them. Even though the option to showcase the logos in a sliding format is not present in this brand logo showcase block for Gutenberg editor, we'll introduce them very soon. Make sure to keep an eye on our plugin update! 613 613 614 614 <strong>[Product Curvy](https://woolentor.com/demo/block-product-curvy/)</strong> – As the block name "Product Curvy" suggests, this WooCommerce Gutenberg block is a wonderful way to showcase your WooCommerce products in a captivating manner where the product images are shown inside a circular shape. This WooCommerce block for Gutenberg editor works precisely like the Elementor WooCommerce widget available in ShopLentor named "Product Curvy." 615 615 616 616 You can also have the power to choose a layout for your WooCommerce product display. Besides, the WooCommerce product block for Gutenberg editor offers a plethora of customization options to manage each element rendered by this WooCommerce Gutenberg block. 617 617 618 618 Do you want to display your WooCommerce products in a unique WooCommerce layout as well as grab the attention of your potential store visitors? If you do, then enable Gutenberg product block and leverage this WooCommerce Gutenberg block. 619 619 620 620 <strong>[WooCommerce Breadcrumbs](https://woolentor.com/demo/woolentor-template/shop-for-gutenberg-block/)</strong> – Breadcrumbs are an important part of website navigation, especially on websites with a lot of content. They help users to see their position in the store and make it easy to backtrack if they need to. Breadcrumbs nav or breadcrumb navigation can also be a great way to improve the usability of your WooCommerce website. 621 621 622 622 WooCommerce breadcrumb is a simple breadcrumbs block for Gutenberg editor that allows you to add breadcrumbs nav, breadcrumb nac, or breadcrumb navigation to your online storefront. The Gutenberg block for WooCommerce breadcrumb is super easy to use, and gives you the ability to customize the breadcrumbs navigation trail to your desire. 623 623 624 624 Breadcrumb navigation is typically displayed as a row of links, with the current page represented by a disabled link. The WooCommerce breadcrumb feature is a fantastic way to improve the navigation of your website. 625 625 626 626 Additionally, woocommerce breadcrumb makes it easy to return to a specific page if you need to. For example, if you are looking for a specific product on a woocommerce website, you can use the breadcrumbs to quickly find the page that you need. woocommerce breadcrumb is a simple, yet essential, tool for anyone who uses woocommerce websites. 627 627 628 628 <strong>[Archive Title](https://woolentor.com/demo/woolentor-template/shop-for-gutenberg-block/)</strong> – Show a custom archive title and a description on any archive page or archive template of your WooCommerce site using this custom Gutenberg block available in ShopLentor. You can also use this WooCommerce Gutenberg block for the product archive title to customize some necessary styles of the archive title and description. All you need to do is enable this custom Gutenberg block. 629 629 630 630 <strong>[Store Feature](https://woolentor.com/demo/block-product-curvy/)</strong> – When setting up a WooCommerce store, it is essential to showcase your business or store features in order to attract customers. Therefore, showing off your WooCommerce store features is one of the most crucial aspects of running a successful eCommerce business. By informing your potential customers about the special features or perks of your WooCommerce store, you can let them know what you have to offer and why they should choose you. 631 631 632 632 With the help of this block for Gutenberg editor, you can highlight some of the unique features of your WooCommerce store in different layouts that let potential customers know what your store has to offer and set your WooCommerce store or business apart from the competition. 633 633 634 634 635 635 <strong>For Single Product Page:</strong> 636 636 637 637 <strong>[Product Title](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display WooCommerce product title dynamically on the single product page or WooCommerce product page of your WooCommerce site. This WooCommerce product block for Gutenberg editor also gives you the ability to customize tha necessary layout and style for the WooCommerce product title. You can even choose what HTML heading tag you want to use for your WooCommerce product title. 638 638 639 639 <strong>[Product Description](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Another Gutenberg dynamic block by ShopLentor (Gutenberg addon) fetches the product description for every WooCommerce product on the WooCommerce single product page or the WooCommerce product page. You can place the WooCommerce Gutenberg block anywhere on the product details page. This Gutenberg ready block for WooCommerce product description also allows you to customize the styles according to your requirements. 640 640 641 641 <strong>[Product Price](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Use this WooComerce Gutenberg block to display WooCommerce product prices dynamically on the single product page. You can leverage this dynamic Gutenberg block or WordPress Gutenberg block to render the WooCommerce prices of your WooCommerce products. This advanced Gutenberg block can even display both the WooCommerce sale price and the regular price even when a product is on sale. Besides, you can manage the style for the WooCommerce product price using this Gutenberg block for WooCommerce. 642 642 643 643 <strong>[Product Short Description](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Show a brief overview of your WooCommerce product on the product details page using this Gutenberg block for WooCommerce Product Short Description. WooCommerce product short description helps potential customers understand your product and what it can do for them. You can also highlight the key features of your WooCommerce product by including a short description on the WooCommerce single product page. Besides, this WooCommerce product block for Gutenberg editor allows you to manage the layout and style of your WooCommerce product short description. 644 644 645 645 This way, you can focus on a particular feature of your WooCommerce product, especially if your WooCommerce product has multiple features. WooCommerce product short description is an essential part of any WooCommerce store as it helps improve the usability of your online storefront. So, if you are building your WooCommerce store with WordPress Gutenberg block editor, make sure you take advantage of this useful WooCommerce Gutenberg block. 646 646 647 647 <strong>[Add to Cart](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display a WooCommerce add to cart button on your website's WooCommerce product page or single product page by using this WooCommerce Gutenberg block of ShopLentor (Gutenberg addon). By default, this single product cart button is usually located at the bottom of the WooCommerce product page, next to the WooCommerce product price and description. 648 648 649 649 Still, this WooCommerce Gutenberg block will not force you to place the single product cart button or add to cart button for WooCommerce in the same place. Meaning you can place this WordPress Gutenberg dynamic block anywhere you wish on the WooCommerce product page, WooCommerce product template, or WooCommerce single templates. 650 650 651 651 The single product cart button or WooCommerce add to cart button can also be customized to match the style of your site. The best part about this WooCommerce Gutenberg block is that it doesn't limit the functionality only to placing and customizing the Woo add to cart button or add to cart button for WooCommerce. 652 652 653 653 You can even change the WooCommerce add to cart button label, or the WooCommerce add to cart button text of the single product cart button or cart button for WooCommerce with this WooCommerce add to cart Gutenberg block. All these features available in this dynamic Gutenberg block, make it easier for store owners to design a custom add to cart button WooCommerce by personalizing the WooCommerce add to cart button style as per their needs. 654 654 655 655 <strong>[Product Image](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – This product image block for the WordPress Gutenberg block editor lets you showcase WooCommerce product images on the single product page or the WooCommerce product page. It also allows you to include WooCommerce product thumbnails alongside the WooCommerce featured image. In addition, by clicking on a magnifying glass icon, visitors can view the WooCommerce product images in an interactive WooCommerce modal or WooCommerce popup which can help give your customers a closer look at your WooCommerce products. 656 656 657 657 Viewing WooCommerce product images is an essential part of the buying process for any online shopper. The WooCommerce product images provide potential customers with a way to see what they're buying and can be incredibly helpful in making a final purchase decision. Since WooCommerce sites don't have the same brick-and-mortar presence as traditional stores, it's even more vital for them to have clear and attractive product images. After all, they are the first thing that potential customers will see when they visit your site. 658 658 659 659 A quality WooCommerce product image can influence the decision of a customer to add a product to their cart. In addition, a WooCommerce product image can convey extra details about a WooCommerce product, such as color options, features, and materials. Therefore, a great WooCommerce product image can help to enhance the shopper's experience and boost the conversion rates. So, make sure to this give this Gutenberg photo block a try! 660 660 661 661 <strong>[Product Rating](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display product ratings on the WooCommerce products of your store using this product rating Gutenberg block. For a shopper, product rating is one of the most important things to consider when choosing a product from an online store. ShopLentor (Gutenberg addon) offers a rating Gutenberg block or star rating block that allows businesses to showcase product ratings on the WooCommerce product page using the WordPress Gutenberg block editor. 662 662 663 663 WooCommerce product ratings give your potential customers an insight into what other customers think about a specific WooCommerce product that can help them make a more informed purchasing decision. When visitors look at a WooCommerce rating or product rating, they get an honest opinion from someone who has actually used the product. 664 664 665 665 If you are interested in using the Gutenberg builder or Gutenberg editor, be sure to add this product rating block, star rating block, or rating Gutenberg block to the WooCommerce single product page. This WooCommerce rating Gutenberg block even lets you customize the product rating style from the Gutenberg styling tab of this WooCommerce Gutenberg block. 666 666 667 667 <strong>[Product Data Tabs](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – WooCommerce product tabs block offers you the flexibility to display WooCommerce product tabs in any place you wish on the WooCommerce single product page. Plus, with this product page tabs block or Woo product tabs block, you can control how WooCommerce product tabs will appear, personalizing the necessary style for WooCommerce product tabs or Woo product tabs. 668 668 669 669 This WooCommerce Gutenberg block will give you full control over the presentation of the WooCommerce product tabs or product page tabs on the single product pages of your WooCommerce website. Aside from that, you can manage the appearance of product page tabs 670 670 for various devices by using the settings offered by this tabs block for Gutenberg block editor. 671 671 672 672 <strong>[Related Products](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – ShopLentor (Gutenberg addon) has made it possible to showcase WooCommerce related products on your online storefront using the WordPress Gutenberg block editor. WooCommerce related products help boost your sales and encourage customers to purchase additional items. You can enable Gutenberg product block and use it on the WooCommerce product page or WooCommerce product template to show products related to the category you are currently viewing, making it easy for customers to find the right WooCommerce product. 673 673 674 674 In short, this WooCommerce Gutenberg block or product block for Gutenberg editor is mainly designed to display WooCommerce related products, similar products, or product recommendations based on the WooCommerce product whose details page you are on. Since the WooCommerce Gutenberg block for WooCommerce related products lets you show products related to a specific category, it can be really handy for your customers to find the WooCommerce related products they are looking for. 675 675 676 676 You can also customize the style of the WooCommerce related products block to better match your website's overall look and feel. You can also control a couple of settings for the WooCommerce related products block, such as the number of columns you want in the WooCommerce responsive grid, the number of WooCommerce related products per page, WooCommerce product order, and so on. 677 677 678 678 Showing WooCommerce recommendations or WooCommerce product recommendations on the product details page can improve the usability of your WooCommerce site. There are multiple ways to accomplish this, but one of the most effective ways is to add a WooCommerce related products section in a WooCommerce responsive grid or responsive grid for WooCommerce. By utilizing this WooCommerce Gutenberg block, you can easily achieve that. 679 679 680 680 <strong>[Product Meta](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display WooCommerce product meta on the single product page of your online storefront using ShopLentor's product meta block for Gutenberg block editor. WooCommerce Product meta refers to product categories, WooCommerce product tags, product SKUs, and so on. You can also change the appearance of your WooCommerce product meta data using this WooCommerce Gutenberg block for product meta data. 681 681 682 682 You can even customize WooCommerce terms or WooCommerce product meta like product category and Woo product tags on the WooCommerce product page or WooCommerce single product page using the product meta block of ShopLentor (Gutenberg addon). For example, WooCommerce product meta color, meta link color, meta link hover color, etc. 683 683 684 684 Therefore, if you intend to display the WooCommerce category and WooCommerce tags of your WooCommerce products on the WooCommerce product page of your store, this WooCommerce product meta block for Gutenberg editor is an ideal solution. 685 685 686 686 <strong>[Additional Information or Additional Description](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – When it comes to providing customers with as much information about your WooCommerce product as possible, adding a product additional description or product additional information on the WooCommerce product page is very important. Enable Gutenberg product block for product additional information offered by ShopLentor (Gutenberg addon). The additional WooCommerce product description can include additional descriptions, such as weight, color, dimension, and some other information. 687 687 688 688 Displaying such information on the single product page can be handy for customers as they can view specific details for a WooCommerce product they are interested in. You can also customize some necessary styles to change the look and feel of the additional description block for the Gutenberg block editor. As a result, the description under products or additional Woo description can lead to happier customers and increased sales for your business. 689 689 690 690 Including product additional information or additional description under products on the product details page can also help to improve your search engine ranking, as it provides more content for search engines to index. If you're looking for a way to enhance your WooCommerce store, consider using this WooCommerce Gutenberg block and show additional product information for WooCommerce products on the WooCommerce product pages. 691 691 692 692 <strong>[Product Stock](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display the product stock or stock count on the WooCommerce product page or WooCommerce single product page using the product stock block of ShopLentor (Gutenberg addon). WooCommerce product stock refers to the number of units of a particular WooCommerce product available for sale. This WooCommerce Gutenberg block helps your customers get an idea about the stock status of the stock quantity of your WooCommerce products. 693 693 694 694 Plus, they can see which WooCommerce product is low in terms of stock count. So, you can utilize this product page block to show WooCommerce stock currently available for the WooCommerce products of your store. On top of that, this stock quantity or stock count block for the WordPress Gutenberg editor can work like a WooCommerce products stock notification, stock available notice, stock alert, stock label, etc. 695 695 696 696 If a store owner manages the product stock for any WooCommerce product, this WooCommerce block displays a stock label on the WooCommerce product page. In addition, it will show a WooCommerce out of stock text when there is no item left in stock, which can be helpful for customers to see at a glance whether an item is available or not. On the other hand, if customers cannot see that a WooCommerce product is out of stock, they may attempt to purchase it and be disappointed when they find out that the WooCommerce product is not available. 697 697 698 698 Once the store owner takes steps to update product stock from the WooCommerce product inventory, the out of stock message will be replaced by the new stock count. Aside from helping customers make informed purchase decisions, this Gutenberg builder block for product stock allows you to customize the style of your WooCommerce product stock status. 699 699 700 700 <strong>[QR Code](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Add a WooCommerce QR code to the product details page of your WooCommerce site using this WooCommerce QR block for the WordPress Gutenberg block editor. Once you include a WooCommerce QR code into the WooCommerce single product page, it will allow your customers to add their desired WooCommerce products to their carts from their mobile devices. To do so, they only need to scan the QR WooCommerce code or QR image generated by this simple QR code block of ShopLentor (Gutenberg addon). 701 701 702 702 After customers are done performing a WooCommerce QR scan or simple QR code scan on a specific product page, the product will automatically be added to their cart by the WooCommerce QR block designed for the Gutenberg editor. Adding a WooCommerce QR code to the product details page is a great way to streamline the shopping experience for your customers. 703 703 704 704 This WooCommerce block for the Gutenberg block editor functions exactly like the QR code widget or QR widget available in ShopLentor for the Elementor page builder. If you want to provide a positive customer experience and boost sales, don’t forget to enable this Gutenberg ready product block. 705 705 706 706 <strong>[Product Upsell](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Showcase WooCommerce upsell products on your WooCommerce store using this WooCommerce Gutenberg block for product upsells. In this product upsell block for Gutenberg editor, you will find settings to control the number of columns in a grid, the number of products, product order, etc. Furthermore, you can customize some styles for the upsell WooCommerce products section heading. 707 707 708 708 Product upselling is an effective marketing strategy for any business that sells products online. Displaying WooCommerce upsell products can help you convince customers to purchase higher-priced items and boost your profits at the same time. By offering customers a more expensive WooCommerce product related to the one they are already interested in, businesses can encourage them to spend more money. 709 709 710 710 The product upsell or upsells products block can also play the role of a WooCommerce upsell plugin that lets you build an upsell system in your online store. This WooCommerce Gutenberg block will display WooCommerce upsell products on the product details page and persuade customers to spend more on those WooCommerce upsells products. 711 711 712 712 If you are managing your online storefront using the Gutenberg block editor or Gutenberg builder and want to increase the average order value of your WooCommerce site, you should definitely check the WooCommerce product upsell or upsell WooCommerce block. 713 713 714 714 715 715 <strong>For Cart Page</strong> 716 716 717 717 <strong>[Cart Table](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display all the cart items in a WooCommerce table layout or WooCommerce table view with this Gutenberg table block. This Cart table block provides a quick and easy way for customers to view the WooCommerce products they have added to their cart, along with the product images, quantities, and prices. You can also customize various elements of this Gutenberg table block to match the look and feel of your website. 718 718 719 719 That's not all; Aside from showing the cart contents in a WooCommerce product list table or Woo product table, this WooCommerce Gutenberg table block gives you the flexibility to control what product attributes to display in the cart table row. You can even personalize the action button styles and other necessary cart table styles. 720 720 721 721 The WooCommerce cart table is a great way to view what items are available in a shopping cart and ensure that customers have everything they need before they checkout. If you want to provide a smooth and efficient shopping experience for customers by making some tweaks in the cart table, this WooCommerce Gutenberg table block is worth considering. 722 722 723 723 <strong>[Cart Total](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Add a cart total table on the cart page and get control over the table styles and layout. With this WooCommerce Gutenberg table block, you can display the subtotal and total price in a WooCommerce table along with a WooCommerce button to proceed to checkout. If your store offers WooCommerce cart discounts or WooCommerce coupons, it will also be shown in the cart total table. 724 724 725 725 You can leverage this WordPress Gutenberg table block to give customers a clear idea about what is subtotal of all WooCommerce products and what the total price will be after taxes, shipping, and discounts (if available). The Gutenberg table block lets you customize different elements of your cart total table like the table header, tabel cell, table content, checkout, etc. 726 726 727 727 <strong>[Cross Sell](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Enables you to display WooCommerce cross-sell products on the cart page of your online storefront while having control to customize the styles for various elements of this WooCommerce cross-sell products block. 728 728 729 729 WooCommerce cross-sell products are a great way to increase your sales and encourage customer loyalty. Cross selling is when you offer a related product to a customer who is already interested in what you're selling or has already purchased something from your store. ShopLentor makes it easy to set up cross sells or crosssells with this WooCommerce Gutenberg block. 730 730 731 731 You can add this WooCommerce cross-sell block to your cart page. It is also possible to manage the number of WooCommerce cross-sell products to show, the number of columns you want in a single WooCommerce cross-sell products row, the product order they are shown in, etc. Cross-selling is an incredibly effective way to persuade customers to buy more from your WooCommerce store. 732 732 733 733 Another important fact is that this WooCommerce Gutenberg block for WooCommerce cross-sell products or cross-selling offered by ShopLentor is perfectly compatible with WooCommerce's built-in feature for cross selling, crosssell, or cross-sells. 734 734 735 735 <strong>[Return to Shop](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Allows you to add a return to shop button anywhere in your WooCommerce store. By default, this button block for Gutenberg editor usually links to the shop page. Meaning customers can visit the shop page no matter what WooCommerce page they are on. Even though the WooCommerce Gutenberg block can be used anywhere you want, it is mainly designed to be used on the Cart page, so customers can quickly return to shop page when there are no items available in the cart. 736 736 737 737 In short, this button block for Gutenberg will help your customers return to shop page from an empty cart page, so they can continue shopping. If you are using Gutenberg, you should leverage this return to shop button block on your WooCommerce store. 738 738 739 739 The Gutenberg block even lets you insert a custom link for the return to shop button. This WooCommerce block feature for the WordPress Gutenberg editor will come in handy if you want to avoid linking the button to the shop page. So, make sure to check this Gutenberg button block from ShopLentor. 740 740 741 741 <strong>[Empty Cart Message](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – 742 742 743 743 744 744 == 💪 ShopLentor's WooCommerce Module: == 745 745 746 746 = 🎨 WooCommerce Variation Swatches Module = 747 747 Love the look of those variations swatches in your favorite online store, but don’t know how to get that effect on your own site? 748 748 749 749 We feel you. That’s why we created this WooCommerce product Variation Swatches Module – to help you turn those boring old WooCommerce product drop down options into more visually appealing WooCommerce variation swatches or woo variation swatches (variation switcher). Now your customers can see all the variations at a glance, making their shopping experience much better. 750 750 751 751 Plus, with WooCommerce product variation swatches module or variation swatches addons, you can choose from WooCommerce color swatches, button swatches, Label Swatches or image swatch (WooCommerce Color and Label Variations, Link Variation, etc..) – whichever suits your store’s style best. So why wait? Start using this variation swatches module or product attribute swatches today and watch your sales soar! 752 752 753 753 With the WooCommerce color swatches, you can provide your customers with a wide range of colors to choose from while streamlining their shopping experience. Furthermore, WooCommerce color swatches are a great way to make your WooCommerce store more user-friendly and efficient. When all the WooCommerce color swatches are displayed together, it becomes easier for shoppers to compare and contrast different options and find the perfect WooCommerce product quickly. 754 754 755 755 Using WooCommerce variation swatches module Addon, as opposed to the traditional dropdown method of displaying product variants (variation switcher), provides exceptional convenience for your customers and gives your store a professional look. Product variation swatches for WooCommerce provide a user-friendly way for your customers to select product variations (variations checkbox for WooCommerce swatches attributes swatches) without having to click on the dropdown menu. Customers can quickly identify and choose from different colors, sizes, styles (color and label variations), or other attributes that you have selected for each product. 756 756 757 757 If you need a lot of flexibility and customizability, then WooCommerce variation swatches module or variation swatches addons is an excellent option. ShopLentor's variation swatches module is easy to use and comes with a powerful variation switcher. With this variation switcher, you can incorporate WooCommerce colors and labels variations in the form of variation swatches or Woo variation swatches. On the other hand, these product variation swatches for WooCommerce will enable your customers to easily switch between different WooCommerce product variation swatches on your product. 758 758 759 759 Start using WooCommerce product variation swatches or variations swatches module now! 760 760 761 761 [More Details](https://woolentor.com/doc/variation-swatches/) 762 762 763 763 = 🌟 POPUP BUILDER = 764 764 ShopLentor's Popup Builder is a powerful and easy-to-use module that can help boost your store's engagement by up to 500%. Whether you're a fan of Elementor or Gutenberg, our Popup Builder is compatible with both, so you can use either one to create stunning popups to captivate your website visitors. The module even provides some beautifully designed, ready-to-use templates, and you can customize your popups according to your needs. 765 765 766 766 If you don't have design skills, you can utilize these pre-built popup templates to build an attractive popup in just seconds. Furthermore, you can build an unlimited number of popups and tailor them to align perfectly with your brand's identity and message. 767 767 768 768 Using the smart display conditions, you can control when and where your popup will appear. The module also provides options to trigger popups based on various events. In addition, there are several other settings available to enhance the user experience. 769 769 770 770 When it comes to keeping your visitors engaged through implementing eye-catching popups, this module can be really handy. You can use it to highlight special offers, create a sense of urgency, collect leads, or even turn visitors into potential customers. 771 771 772 772 If you are looking for an effective solution to improve the engagement and conversion rates of your website, you should definitely try this module out. 773 773 774 774 [More Details](https://woolentor.com/popup-builder/) 775 775 776 776 💱 CURRENCY SWITCHER 777 777 Reach potential customers from multiple countries and expand your business to new heights With ShopLentor's Currency Switcher module. With this incredible module, you are no longer constrained to change the default currency of your store only. 778 778 779 779 You can incorporate an intuitive currency switcher into your WooCoomerce store according to the needs of your customers from multiple countries. It enables them to effortlessly switch currencies to their preferred ones, regardless of your store's base currency. 780 780 781 781 When it comes to scaling up your online business, the currency-switching features can be tremendously effective. Why? Because customers around the world will have the flexibility to view product prices and purchase their desired products in their local currencies. 782 782 783 783 Apart from the currency-switching features, the module comes with a couple of useful customization and styling options to alter the look and feel to reflect your brand style. 784 784 785 785 If you want to reach a wider audience while offering them a seamless shopping experience, you should definitely give the Currency Switcher module a try! 786 786 787 787 [More Details](https://woolentor.com/woocommerce-multi-currency/) 788 788 789 789 = 🔔 Sales Notification = 790 790 This feature allows showing the sales notification or sales popup to display real/custom WooCommerce orders. Furthermore, you can customize the design of the WooCommerce sales popup or live notification for WooCommerce from the module settings. Even though this recent sales popup WordPress module’s name suggests that is meant for displaying sales notifications, WooCommerce order notifications, or WooCommerce pop ups, nevertheless, you can also do other things like showing WooCommerce product announcements, WooCommerce announcements, WooCommerce product notices, or WooCommerce notices regarding WooCommerce product price drop or WooCommerce drop price. To achieve this, all you need to do is create a custom notification. 791 791 792 792 If you're running a WooCommerce store, then you must know how important it is to keep your customers engaged. A great way to do this is by displaying recent sales notifications or recent sales popup on your WooCommerce site to show WooCommerce recent purchases, recent purchase orders, or recent orders. Not only does this help to keep customers informed about what's going on at your WooCommerce store, but it also allows you to create a sense of urgency and encourage them to make a purchase. 793 793 794 794 This way, shoppers can see what others have bought and get excited about their own upcoming purchases. So if you are planning to enhance customer engagement and boost your overall sales, this recent sales notifications or recent sales popup module is the way to go. 795 795 796 796 [More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/) 797 797 798 798 = 🎨 WooCommerce Product Filter Module = 799 799 ShopLentor has recently introduced a powerful WooCommerce products filter module that enables store owners to incorporate multiple WooCommerce product filters or Woo products filters into their shop page or product archive page. With the help of this remarkable WordPress WooCommerce product filter or product filter for WooCommerce module, your potential customers can easily filter WooCommerce products by various product filters or criteria of your WooCommerce products. 800 800 801 801 This way it becomes way more easier for them to find exactly what WooCommerce products they're looking for. And when customers can find their desired WooCommerce products, they're more likely to make a purchase. 802 802 803 803 You can effortlessly add different product filters, products filter items, or Woo filters to your WooCommerce store as per their needs. The WordPress WooCommerce product filter also allows you to choose the field type and terms type for each particular WooCommerce product attribute. 804 804 805 805 One of the best noteworthy feature of this WooCommerce products filter module is that the WooCommerce product filters you create using this module will help visitors to filter through all of your WooCommerce products in real time. Meaning, every product filter or Woo filter will be powered by AJAX. 806 806 807 807 If you don’t want to see the filtered results immediately after you apply a product filter, you can also customize product filters even more by including an additional button to apply the selected filters in a click or clear the product filters. Doing so, will require visitors to click on the “Apply” button in order to search for products based on different product filters and “Clear” button to uncheck all the previously applied filters. 808 808 809 809 Once you add and configure a WooCommerce product filter item inside the WordPress product filter with WooCommerce module settings panel, an intuitive shortcode will be generated automatically. All you need to do is place the shortcode on the Shop and/or Archive page(s) alongside a product archive widget that ShopLentor offers. 810 810 811 811 Apart from providing your customers with the option to select which product attributes to filter by, you can also include an AJAX search form or a handy WooCommerce search bar using which they can search WooCommerce products by keywords. Another incredible feature of this module is that it comes with an advanced product filter widget. This Elementor WooCommerce product filter widget is quite useful if you plan to add WooCommerce product filtering options through the Elementor page builder. 812 812 813 813 The best part about this WooCommerce filterable products or filterable products widget is that you don’t have to configure the WooCommerce products filter items all over again. This WooCommer shop filter or product filter widget will save your precious time by fetching all the filter items that you will create from the WooCommerce products filter or WooCommerce shop filter module settings. 814 814 815 815 All you have to do is drag the WooCommerce filterable products widget or filterable products widget to Elementor canvas and choose which product filters or Woo filters to display. So, be sure to make use of this amazing WooCommerce product filter module and offer an easy and user-friendly shopping experience to your customers. 816 816 817 817 [More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/) 818 818 819 819 = ✏️ WooCommerce Order Bump = 820 820 Order Bump for WooCommerce module can help you increase sales and customer satisfaction. Order Bump allows customers to add additional WooCommerce products to their cart at Checkout, which can lead to increased average order values. WooCommerce order bump or Checkout Order Bump also allows you to set up an upsell Order Bump Offer for WooCommerce, which can give customers a chance to purchase higher-priced items. 821 821 822 822 Order Bump is a special offer that can enable you in upselling products on the WooCommerce checkout page. It allows customers to add additional WooCommerce products to their WooCommerce orders at a discounted price. Order Bumps or orderbumps can be used to increase order value, improve customer satisfaction, and boost sales. Checkout Order Bumps are a great way to increase average order value and boost sales. In addition, order bumps can be used to give WooCommerce discounts or special offers on upgrades, upsell products, or related products. 823 823 824 824 The order bump for WooCommerce or upsell order bump offer for WooCommerce module lets you offer an Order Bump product or service at the Checkout of your WooCommerce store. Order Bump can help you to overcome shopping cart abandonment. Order Bump in WooCommerce is also a great way to reduce your customer's risk when trying a new product. 825 825 826 826 Order Bump for WooCommerce offers automatic Order Bumps that are displayed with a checkbox. The customer only needs to check the box, and the WooCommerce order bump will be automatically added to their cart without leaving the page they're currently on. When it comes to reducing shopping cart abandonment and boosting your average order value. 827 827 828 828 Store owners can provide special offers during the WooCommerce checkout process by using this upsell Order Bump Offer for WooCommerce module. This will assist them in converting more of their visitors into customers while increasing sales. It only takes a single click for the customers to add the order Bump product or order bump offer to their existing WooCommerce order. 829 829 830 830 Checkout Order Bump helps you boost conversions and sales by allowing you to offer a WooCommerce Order Bump product or service at the Checkout of your WooCommerce store. With Checkout Order Bump or WooCommerce order bump at the Checkout, there's no need for the customers to leave the page they're currently on. Checkout Order Bump is a great way to increase sales, reduce shopping cart abandonment, and boost your average order value using Upsell Order Bump Offer for WooCommerce is the way to go. 831 831 832 832 = ✏️ Rename Label = 833 833 ShopLentor (Woo builder) allows renaming WooCommerce labels for Shop, Product details, Cart, Checkout page text. For example, WooCommerce button text, WooCommerce text message, WooCommerce add custom text, WooCommerce add to cart button text, Change cart button text, Order button text, and checkout page fields text. 834 834 835 835 [More Details](https://woolentor.com/doc/change-woocommerce-text/) 836 836 837 837 = 👀 Product Quick View = 838 838 Incorporate a WooCommerce product quick view into your store so that visitors can immediately see detailed information about a specific product without having to visit the WooCommerce product page. This Elementor WooCommerce builder module or Woo builder module displays a WooCommerce product quick view modal or WooCommerce product quick view popup within a WooCommerce lightbox that helps shoppers with stuff like quick product view, quick products view, quickshop, quick shop, quick buy, or WooCommerce quick order. 839 839 840 840 The WooCommerce modal for products quick view or WooCommerce product quick view popup is a crucial feature for any WooCommerce store that sells WooCommerce products. This WooCommerce products quick view feature or product quick view for WooCommerce enables customers to view product information in a WooCommerce lightbox, WooCommerce modal, or WooCommerce pop up without having to leave the WooCommerce single product page they are on. 841 841 842 842 When there are a lot of WooCommerce products in a WooCommerce store, the WooCommerce products quick view, WooCommerce quick view, quick view WooCommerce, or WooCommerce quickview option is very useful as it helps customers to find the product they are looking for without having to search through all of the WooCommerce products. 843 843 844 844 Product quick view modal or quick view WooCommerce modal also has other benefits, such as the ability to add products to the cart from the quick view WooCommerce modal or WooCommerce products quick view modal itself and view WooCommerce product reviews. 845 845 846 846 You can even utilize the WooCommerce product quick view popup, WooCommerce product pop up, or quick view WooCommerce modal to perform quick cart addition. In other words, customers can effortlessly add a WooCommerce product to their cart simply by clicking the WooCommerce add to cart button link available on the WooCommerce quick view, WooCommerce product quick view, WooCommerce quickview, or product quick view popup without the need to navigate away from the WooCommerce product page. Overall, WooCommerce product quick view or product quick view for WooCommerce is an excellent addition to your online storefront for improving the user experience. 847 847 848 848 [More Details](https://woolentor.com/doc/change-woocommerce-text/) 849 849 850 850 = ❤️ WooCommerce Wishlist Module = 851 851 ShopLentor's WooCommerce Wishlist Module is a fantastic module that enables you to integrate the woo wishlist or products wishlist feature on your WooCommerce store. With the help of this extraordinary Wishlist module, you can provide a seamless shopping experience to your potential customers by allowing them to create a wishlist for WooCommerce and add their desired WooCommerce products to that WooCommerce wishlist (Woo wishlist) so that they find all their items in one place later. 852 852 853 853 Once you enable the products wishlist or product wishlist module of ShopLentor (WooCommerce addon for wp page builder), an Elementor WooCommerce wishlist widget will get unlocked. With the wishlist widget, you can display a flexible wishlist tables or WooCommerce wishlist where customers can view the WooCommerce products they have added to the WooCommerce wishlist (Woo wishlist). You can even use this WooCommerce wishlist widget to give your customers the ability to share their products wishlists with friends and family. 854 854 855 855 Adding a wishlist widget to your WooCommerce store can be a great way to entice customers to come back and buy WooCommerce products they're interested in. Allowing customers to save WooCommerce products they want to purchase later, makes it easy for them to find and buy what they're looking for, increasing the chances that they'll make a purchase from your store. ShopLentor offers a WooCommerce wishlist or flexible wishlist module that allows creating a products wishlist or Woo wishlist of WooCommerce products on your WooCommerce-powered website. 856 856 857 857 After enabling this flexible wishlist or product wishlist module, a wishlist widget will be available, using which store owners can easily showcase the WooCommerce products available in a WooCommerce wishlist, wishlist WooCommerce, or Woo wishlist. This wishlist widget will also allow your customers to create and manage their own WooCommerce wishlists or Woo wishlists. Furthermore, this incredible products wishlist widget or WooCommerce wishlist widget can be quite handy if you want to promote specific WooCommerce products while improving your store's usability and engagement. 858 858 859 859 Plus, the wishlist widget (Woo wishlist) is fully responsive so that it will work on any device, including mobile phones and tablets. Therefore, if you intend to encourage your customers to keep returning to your website, adding a wp eCommerce wishlist or products wishlist (Woo wishlist) to your site is a great way to achieve that. This WooCommerce wishlist module makes it easy to convert many of your potential visitors into a potential customer. 860 860 861 861 [More Details](https://woolentor.com/builder/quick-view-template/) 862 862 863 863 = ⚖️ Product Comparison / Product Compare or Comparison Table Module = 864 864 Product comparison / Product Compare is a wonderful module that lets you add a product comparison option to your WooCommerce store using which your store visitors will be able to compare different products in WooCommer table layout or a WooCommerce popup window. This product comparison module or WooCommerce compare module allows them to check the differences among the WooCommerce products based on several attributes while helping them make the buying decision easier at the same time. 865 865 866 866 Furthermore, customers can compare prices of various WooCommerce compare products within the compare tables generated by this powerful compare products plugin or products compare plugin. But, that’s not all; This WooCommerce product compare plugin or WooCommerce compare products plugin even allows visitors to do several other things, such as compare offers, compare images, image comparison WooCommerce, compare images WooCommerce, price compare, and many more. All it requires is a click on a WooCommerce compare products button, and an interactive compare popup or product pop up will appear where they can compare WooCommerce products in a compare table. 867 867 868 868 Product comparison is a great way to engage your customers and help them make informed decisions about the products they're interested in. Product comparison is an essential tool for any WooCommerce store, and the Product Comparison for WooCommerce module or WooCommerce compare module makes it easy to add this functionality to your site. 869 869 870 870 This WooCommerce compare products or WooCommerce product compare module enables you to do WooCommerce products comparison or comparison products within WooCommerce compare tables. This remarkable feature for products compare or product compare can be handy for customers who want to find the best deals on items. Moreover, the WooCommerce product compare module or products comparison module of ShopLentor plays the role of a WooCommerce compare products plugin that eCommerce businesses can leverage to provide store visitors with the option to compare prices, compare offers, compare WooCommerce products, and so on. 871 871 872 872 Products comparison is a crucial feature in a WooCommerce site to compare WooCommerce products to find the best possible product for your needs. The process of product comparison involves the evaluation of two or more WooCommerce products with the aim of finding out the differences and similarities between them. With so many options available, a functionality to perform product comparison is valuable for finding the right product at the right price. 873 873 874 874 Fortunately, ShopLentor (Woo builder) offers an exclusive product compare module or products comparison module that works like a WooCommerce product compare, WooCommerce compare products, or compare products plugin. As a result, you can compare various WooCommerce products simply by clicking on a compare button. Afterward, you can view the products comparison side-by-side on a product comparison table. With this product comparison module, shoppers can save time and effort while finding the perfect product for their needs. 875 875 876 876 Thus it becomes a lot easier for customers to make informed purchase decisions and find the best WooCommerce product in their budget with the help of this shopping comparison or comparison shopping feature. The compare WooCommerce product module is a great solution that can help you provide an informative and user-friendly shopping comparison experience to your customers. If you're looking for a way to incorporate the WooCommerce products comparison feature to your WooCommerce site, you should definitely check this WooCommerce product compare or WooCommerce compare products module out. 877 877 878 878 On top of that, ShopLentor (WooCommerce builder plugin) is fully compatible with the YITH WooCommerce compare plugin, which many users use to accomplish the same task. 879 879 880 880 [More Details](https://woolentor.com/doc/woocommerce-product-compare/) 881 881 882 882 = ⏲️ Flash Sale Countdown = 883 883 Flash Sale Countdown module allows you to show discounts available for a limited time by adding a WooCommerce sale countdown timer, sale countdown timer WooCommerce, WooCommerce product countdown, sale discount countdown, or product time countdown for WooCommerce. Short-term sales can be a fantastic way to sell a large number of items in a few hours. If your company expects an exceptional rise in your checkout counts, you ought to leverage the Flash Sale Countdown module or WooCommerce sale countdown module on New Year’s Eve, Black Friday, Christmas, and other holiday sales. In short, the flash sale countdown module or WooCommerce product countdown module plays the role of a countdown plugin for WooCommerce or a sale countdown WooCommerce addon. 884 884 885 885 This incredible WooCommerce product countdown module or sales countdown WooCommerce addon will also help you create a sense of urgency and scarcity among your customers by allowing you to display a WooCommerce sales countdown timer, WooCommerce countdown timer, countdown timer WooCommerce, sale countdown timer WooCommerce, or WooCommerce timer on the promotional campaigns you run. You can even set a time when a Woocommerce sale schedule will begin using this sales countdown WooCommerce addon or WooCommerce sales countdown timer module, which helps in creating a buzz as well as boosting the conversion rate. 886 886 887 887 The sales countdown WooCommerce addon or countdown timer WooCommerce addon is the perfect way to drive sales and boost product awareness. This sales countdown WooCommerce addon or countdown timer WooCommerce allows you to display a WooCommerce sale countdown or WooCommerce timer on your WooCommerce product pages or WooCommerce product templates. You can create a sense of urgency that encourages customers to buy before time runs out. You can also use this WooCommerce sale countdown or countdown timer WooCommerce to highlight special WooCommerce discounts or WooCommerce promotion as well as promote seasonal products. 888 888 889 889 If you want to increase sales and encourage customers to buy your products, a sale countdown timer WooCommerce, product time countdown for WooCommerce, or countdown timer WooCommerce can help you with that. By leveraging ShopLentor's sales countdown WooCommerce addon in the form of a WooCommerce countdown timer module or WooCommerce sale countdown module, you can incorporate a lot of things on your online storefront, such as WooCommerce sale countdown, WooCommerce sales countdown, sales countdown timer, sales timer, or WooCommerce timer. 890 890 891 891 When it comes to showing WooCommerce discounts or WooCommerce offers for a limited time, this sale countdown timer WooCommerce or product time countdown for WooCommerce module allows you to add a WooCommerce countdown timer or countdown timer WooCommerce on your WooCommerce store to show WooCommerce sale time.This way, you can create a sense of urgency that will motivate customers to make a purchase. So if you're looking for a way to convert more of your potential visitors into customers, consider adding a sale countdown timer WooCommerce plugin to your online store. 892 892 893 893 Running a WooCommerce flash sales work like a charm if you want to boost your overall sales. A flash sale is referred to limited-time WooCommerce offers or WooCommerce discounts for a few chosen WooCommerce products in your store. If you want to make the most of your flash sale, it's essential to display a flash sale countdown timer, sale flash, or flash bar on your WooCommerce website. The WooCommerce flash sales module allows you to add a flash sale countdown or product time countdown for WooCommerce using which you can apply flash sales for a short period of time. 894 894 895 895 If you're running a sale or special WooCommerce promotion on your WooCommerce store, a WooCommerce countdown timer or sale countdown timer WooCommerce can be a great way to create a sense of urgency and encourage customers to buy before the deal expires. You can use the flash sale countdown or WooCommerce sale countdown module of ShopLentor to create a WooCommerce countdown timer or WooCommerce timer. 896 896 897 897 This sales countdown WooCommerce addon or product time countdown for WooCommerce addon can also help you countdown to the launch of a new WooCommerce product, WooCommerce products announcement, WooCommerce offers, or WooCommerce discounts. ShopLentor's WooCommerce countdown or WooCommerce product countdown module is packed with a few options that allow you to fine-tune the appearance of the WooCommerce sale countdown timer or countdown timer WooCommerce. 898 898 899 899 This WooCommerce countdown timer works like a discount product scheduler, flash bars, flash notifications, sale flash, etc. Furthermore, with the discount product scheduler, you can set when the flash sale starts and ends. You can even configure on which WooCommerce products you want to apply discounts or display sale flash. With the proper planning and execution, a WooCommerce flash sale, sale flash, or flash bar can help you generate more revenues than usual. 900 900 901 901 By using the sale countdown timer WooCommerce or WooCommerce sale countdown module as a WooCommerce product scheduler or discount product scheduler, you can schedule the availability of WooCommerce products on your WooCommerce store. Moreover, the WooCommerce product countdown is packed with several useful features for configuring the time duration settings for each of your WooCommerce products. When it comes to providing a special WooCommerce discount or WooCommerce offer to a product, this sales countdown WooCommerce addon or WooCommerce product countdown is an ideal solution to set up a WooCommerce product scheduler or discount product scheduler. 902 902 903 903 Other than that, the sales countdown WooCommerce addon or countdown timer WooCommerce addon is highly customizable as well, so you can customize the appearance of the product time countdown for WooCommerce or WooCommerce timer to match your site's design. Therefore, if you're looking for a way to increase sales and clear out inventory quickly and efficiently, the sales countdown WooCommerce addon of ShopLentor is an excellent solution. 904 904 905 905 [More Details](https://woolentor.com/doc/enable-sales-countdown-timer-in-woocommerce/) 906 906 907 907 = ✨ Shopify Style Checkout Page in WooCommerce = 908 908 When it comes to the Checkout page, customers always prefer a clean and simple one rather than a complicated one with lots of fields. A lengthy Checkout form can even increase cart abandonment while also negatively affecting the conversion rates. With this in mind, we have added a fantastic feature (Shopify-like Checkout module), which will enable you to create a Shopify style Checkout page or Shopify-like Checkout page that is pretty straightforward. 909 909 910 910 Furthermore, the Shopify-like Checkout module will provide the customers with an amazing WooCommerce fast checkout experience which will help customer with WooCommerce quick order or quickshop. So, make sure to leverage this fantastic WooCommerce module (Shopify-like Checkout) to provide your customers with a fast WooCommerce checkout experience. 911 911 912 912 If you haven't heard about Shopify yet, Shopify is a popular eCommerce platform known for its streamlined and uncluttered checkout process. Despite the fact that WooCommerce offers a plethora of flexibility and customization options, its checkout process is not as user-friendly as Shopify's. This Shopify-like checkout module can help you convert the WooCommerce checkout page into a Shopify-like Checkout that is considerably easier to use. For WooCommerce store owners who wish to increase the usability of their online storefront, a Shopify-like checkout page or WooCommerce checkout like Shopify can be an excellent option. 913 913 914 914 As any online shopper knows, the WooCommerce checkout process is often the most frustrating part of the experience. Having to enter all of your information, including shipping and billing addresses, can be time-consuming and confusing. Fortunately, ShopLentor’s Shopify-like checkout module will streamline the entire process for the shoppers. 915 915 916 916 This WooCommerce module helps customers with WooCommerce quick order, WooCommerce fast checkout, or WooCommerce quick checkout through a Shopify-like checkout page or WooCommerce checkout like Shopify to further speed up the process. 917 917 918 918 [More Details](https://woolentor.com/shopify-style-checkout-page-in-woocommerce/) 919 919 920 920 = 📧 WooCommerce Email Customizer = 921 921 Email Customizer by ShopLentor is a powerful module that allows you to easily customize your WooCommerce Email Templates, giving you the professional look that many businesses desire. With the Email Customizer Elementor module, you can create custom email template designs or layouts for all of the default WooCommerce emails using the Elementor page builder. 922 922 923 923 You can easily create beautiful WooCommerce email templates or WooCommerce email template designs using ShopLentor's Elementor email template builder, WooCommerce email builder, or responsive email builder. This WooCommerce email designer or email template designer can also be utilized to design WooCommerce emails optimized for conversion and customer engagement. 924 924 925 925 Furthermore, the Elementor module includes a plethora of customization options, allowing you to get complete control over the look and style of those emails – so you can tailor the default WooCommerce email templates to match your brand perfectly. Whether you want to make a simple change or completely redesign your WooCommerce email templates, Email Customizer has you covered. 926 926 927 927 With the WooCommerce Email Builder module of ShopLentor, you can easily create beautiful, professional-looking WooCommerce custom emails (Woo custom emails) that represent your brand well. You can also use pre-designed WooCommerce email templates to save time and ensure a consistent look for your messages. Whether you're sending a shipping update, a special WooCommerce offer, or just a thank-you note, this email template builder, email template designer, WooCommerce email designer, or WooCommerce email editor makes it easy to create custom WooCommerce email templates, email template design, or WooCommerce custom emails. 928 928 929 929 The WooCommerce email customizer is one of the most useful Elementor modules in ShopLentor. This email customizer module allows businesses to customize the default WooCommerce email templates that are sent to customers. With the email customizer for WooCommerce, businesses can change the layout, colors, and logos of their WooCommerce emails. 930 930 931 931 This WordPress email customizer or email customizer WooCommerce offers the functionality of a WooCommerce email customizer plugin. Users can use this WooCommerce email customizer module as a WooCommerce email template customizer, email template customizer for WooCommerce, or email customizer WordPress to customize the look and feel of the WooCommerce emails to match their branding. 932 932 933 933 In short, you can leverage this powerful WooCommerce email customizer module as a WooCommerce email builder, email template builder, responsive email builder, visual email builder, email template designer, WooCommerce email designer, etc. to create stunning Elementor email templates or WooCommerce email templates. 934 934 935 935 [More Details](https://woolentor.com/builder/email-customizer-template/) 936 936 937 937 = 🤖 WooCommerce Email Marketing Automation = 938 938 ShopLentor's WooCommerce email marketing automation module is extremely powerful. This module allows for the automated email sequences or WooCommerce automated emails to new customers, current clients, post-purchase emails, and more. WooCommerce Email marketing automation or may help promote online store sales through email marketing automation for WooCommerce. Within WooCommerce, this email automation or email workflow automation module enables the development of email automation workflow systems that include Triggers, Rules, and Actions in multiple combinations. ShopLentor's WooCommerce email sequences or email marketing automation module is the perfect tool for online store owners who are looking to take their business to the next level. With this automated email WooCommerce or email automation module, you'll be able to create sophisticated automated email marketing campaigns, automated email marketing campaigns, or email marketing automation campaigns that will engage your customers and boost your sales. So don't wait any longer, leverage ShopLentor's WooCommerce email marketing automation module today! 939 939 940 940 = 🔍 Advanced AJAX Search Widget Module = 941 941 For any online store, ShopLentor's WooCommerce Ajax search module is a must-have. It enables customers to locate what they want swiftly and efficiently, without having to go through other pages or wait for the page to load. The WooCommerce Ajax search widget by ShopLentor is quick, dependable, and simple to use. 942 942 943 943 [More Details](https://woolentor.com/doc/how-to-use-woocommerce-ajax-search/) 944 944 945 945 = 🛒 Single Product AJAX Add to Cart Module = 946 946 Customers who browse stores with a lot of products may find the Single Product WooCommerce Ajax Add to Cart module to be a tremendous time-saver. It speeds up the add-to-cart process by eliminating the need to refresh or reload the page whenever a product is added to the cart, saving customers time. Furthermore, because the module uses ajax, it can keep customers on the same page while they shop, allowing them to continue browsing other products without interruption. 947 947 948 948 [More Details](https://woolentor.com/doc/single-product-ajax-add-to-cart/) 949 949 950 950 = 📦 Backorder Module = 951 951 You may use a Backorder module to enable your consumers to make purchases from you that you can't currently fulfill. Cross-docking strategies, such as those used by organized firms, can help them fill orders quickly once goods arrive, saving time and resources. Backorders offer flexibility to warehouse management when products take up a lot of room or when a customer needs to pay and receive the product at a later date. 952 952 953 953 [More Details](https://woolentor.com/doc/how-to-enable-woocommerce-backorder/) 954 954 955 955 = 📋 WordPress Post and WooCommerce Product Duplicator = 956 956 This module may be handy if you want to build a new product based on an existing one or make a minor modification to an established article. The ShopLentor Post Duplicator makes it simple to duplicate any post type, including custom post kinds. 957 957 958 958 [More Details](https://woolentor.com/doc/duplicate-woocommerce-product/) 959 959 960 960 = ⭐ Checkout Field Editor or Checkout Field Manager (Pro) = 961 961 The checkout procedure is one of the most vital aspects of running a successful online store. It’s easy to lose customers at this crucial stage if you’re not careful. That’s why it’s essential to have a simple and user-friendly checkout process. With the ShopLentor Checkout Field Editor or Checkout Field Manager Module, you’ll be able to easily edit, add, and remove fields from your checkout page. Using this custom WooCommerce checkout fields editor or WooCommerce checkout editor, you can make sure that your customers have a smooth and hassle-free experience when they’re checking out. 962 962 963 963 This powerful WooCommerce checkout editor or checkout field manager module gives you absolute control over the checkout fields by providing you with an intuitive WooCommerce checkout form editor, WooCommerce checkout editor that gives you the ability to add WooCommerce extra checkout fields or WooCommerce custom checkout fields to the WooCommerce checkout form. You can even personalize the order of WooCommerce checkout fields or WooCommerce additional fields for checkout as well as change their labels and placeholders. 964 964 965 965 Adding WooCommerce additional fields or WooCommerce custom checkout fields can be a great way to gather additional information from your customers. For example, you may want to add WooCommerce custom checkout fields for custom WooCommerce customer messages, gift wrap options, or instructions about a schedule delivery for WooCommerce. Fortunately, ShopLentor comes with a powerful WooCommerce checkout field editor or WooCommerce checkout form editor module that allows adding WooCommerce extra fields to the WooCommerce checkout process. 966 966 967 967 You can use this WooCommerce add on or shipping module in Woo commerce to add WooCommerce custom fields to the checkout form. These extra WooCommerce fields can be extremely useful if you need to collect additional information from your customers during the checkout process. But that's not all; this custom WooCommerce checkout fields editor or WooCommerce checkout field manager module doesn't require you to write a single line of code. The WooCommerce custom checkout fields or checkout widget also allows you to manage the display of WooCommerce fields for checkout, set required fields, etc. 968 968 969 969 Moreover, with this checkout field editor for WooCommerce module or shipping module in Woo commerce, you can add, edit, and remove fields from the checkout page WooCommerce form as per your needs. So if you're looking to take your WooCommerce store to the next level, be sure to leverage this WooCommerce checkout field editor or WooCommerce checkout field manager module and keep your WooCommerce checkout process optimized for your business. 970 970 971 971 [More Details](https://woolentor.com/doc/checkout-field-editor/) 972 972 973 973 = ✨ Multi-Step Checkout (Pro) = 974 974 The checkout process is the most important step in your customer’s journey, and it should be as easy and seamless as possible. That’s why we created our Multi-Step Checkout feature that allows you to create a more effective and organized checkout page by dividing the process into several simpler steps. 975 975 976 976 With ShopLentor's multistep checkout module, you can simplify the checkout process by adding an easy-to-use WooCommerce multistep checkout wizard to your WooCommerce. Since the multistep checkout for WooCommerce breaks the lengthy checkout process into smaller and more manageable steps, it becomes less overwhelming for the customers to make a purchase. Once you enable the multistep checkout WooCommerce module, you'll find a new widget that helps you add the WooCommerce multistep checkout. 977 977 978 978 Furthermore, this Elementor WooCommerce widget for WooCommerce multi-step checkout lets you customize the necessary styles while making the checkout process even more user-friendly. 979 979 980 980 [More Details](https://woolentor.com/doc/woocommerce-multi-step-checkout/) 981 981 982 982 = 💳 Partial Payment (Pro) = 983 983 Customers may utilize the partial payment option to make a part payment since they just don't have enough money on hand to pay the invoice in full. Store owners can handle partial payments and decide whether or not consumers can get the product right away or only after they pay full price. 984 984 985 985 [More Details](https://woolentor.com/doc/how-to-accept-partial-payment-in-woocommerce/) 986 986 987 987 = ✨ Pre-Order Module (Pro) = 988 988 A preorder is a purchase in which a customer makes before the product officially becomes available. Pre-ordering is a powerful marketing module that lets you reserve items ahead of time and charge customers a deposit or full payment. Customers also enjoy pre-ordering as it ensures that they will obtain the product right after it has been released. The main benefit of utilizing a pre-order strategy is that it allows you to grow eCommerce sales and forecast consumer demand. 989 989 990 990 ShopLentor doesn’t only incorporate the WooCommerce preorder options into your WooCommerce store but also allows you to manage all of the WooCommerce preorders from the order menu. You can even display a pre-order notice on the Cart page. 991 991 992 992 As the WooCommerce preorder or pre-order WooCommerce feature gives a rough indication of which WooCommerce products are in demand, store owners can easily make an efficient marketing plan or strategy accordingly to create a buzz around those specific WooCommerce upcoming products. As a result, they understand beforehand which WooCommerce upcoming products are going to be popular once they are available in the store. 993 993 994 994 This way, store owners can leverage the pre-order for WooCommerce module or pre-order WooCommerce module to its fullest, ensuring that customers don’t miss out on their desired products or any WooCommerce upcoming products. Furthermore, with WooCommerce preorder setup and configured for a few WooCommerce products, customers can purchase them even if they are out of stock. 995 995 996 996 If you're running a WooCommerce store, you might consider offering preorders for some of your WooCommerce products. The WooCommerce preorder or pre order for WooCommerce module can be a great way to generate interest and excitement for an WooCommerce upcoming product. Pre-ordering products has become a popular way to shop online, allowing customers to reserve items before they are available for sale. 997 997 998 998 The WooCommerce preorder, WooCommerce pre order, or Woo pre order can be useful for WooCommerce products that are in high demand or have a limited supply. For businesses, WooCommerce preorders can provide valuable information about customer interest and help to manage inventory. The WooCommerce preorder help you with sales forecast. Meaning, It allows you to predict sales for your WooCommerce products and gives you an idea of future sales patterns. Sales forecast in WooCommerce is a valuable tool for store owners who want to make informed decisions about their WooCommerce products. With sales forecast you can spot trends and opportunities that you might otherwise miss. Preorders for WooCommerce or WooCommerce preorder can be an excellent feature for businesses of all sizes that want to gauge customer interest and generate sales before a product is even available in the store. 999 999 1000 1000 [More Details](https://woolentor.com/doc/how-to-set-pre-order-for-woocommerce/) 1001 1001 1002 1002 = 📏 WooCommerce Product Size Chart Module (Pro) = 1003 1003 The WooCommerce Product Size Chart is an excellent module for e-commerce businesses that sell items in various sizes. This powerful WooCommerce size chart tool allows you to create simple size recommendations, WooCommerce product size chart, or product chart for WooCommerce that enable your consumers to choose the right product size and make their purchase decisions quickly and easily. The Product Size Chart for WooCommerce can help you streamline your buying experience by making it easy for customers to find the right product size. 1004 1004 1005 1005 [More Details](https://woolentor.com/doc/woocommerce-product-size-chart/) 1006 1006 1007 1007 = 📊 GTM Conversion Tracking (Google Tag Manager) Module (Pro) = 1008 1008 GTM Conversion Tracking Module helps you keep track of conversions and assign them to specific sources. You may identify whether a sale was caused by a Google Ads/Facebook Ads, a direct website visit, or a social media post. When you link your store seamlessly with GTM, you'll generate more income from advertising by gathering precise sales data. 1009 1009 1010 1010 = 📌 Single Product Sticky Add to cart Module (Pro) = 1011 1011 One of the most essential aspects of building a successful online shop is to make the process as simple as possible for your consumers. Using the sticky add to cart WooCommerce module, you can easily achieve this as it allows you to incorporate a sticky add to cart bar, WooCommerce sticky bar, cart WooCommerce sticky, or sticky WooCommerce bar to the product page. A sticky add to cart, sticky cart bar, or stick bar for WooCommerce includes an add to cart button, a cart quantity field as well as some product information. 1012 1012 1013 1013 This sticky add to cart bar or stick bar for WooCommerce usually appears when you scroll past the add to cart button located at the top of the product details page. This sticky add to cart WooCommerce bar feature will come in handy when product information is too lengthy and customers can't decide whether or not to add a product to the cart. With ShopLentor's sticky add to cart module, you can display a WooCommerce sticky bar or sticky WooCommerce bar on the product page, using which customers can easily add a product to the cart even if they scroll past the default WooCommerce cart button. 1014 1014 1015 1015 This WooCommerce sticky bar module enables you to add a sticky add to cart bar on the WooCommerce product page of your WooCommerce site. By keeping the WooCommerce bar 'stick' to the bottom of the WooCommerce product page, you can make it easy for visitors to add WooCommerce products to their cart, as the sticky add to cart for WooCommerce or WooCommerce sticky add to cart will usually stay in place even when customers scroll up and down. 1016 1016 1017 1017 When it comes to keeping your customers engaged while reducing shopping cart abandonment, this WooCommerce Sticky Bar or cart WooCommerce sticky module will be tremendously helpful. Overall, the WooCommerce sticky bar or cart WooCommerce sticky is a simple but effective way to improve the customer's shopping experience. 1018 1018 1019 1019 [More Details](https://woolentor.com/doc/single-product-sticky-add-to-cart/) 1020 1020 1021 1021 = 🛒 Side Mini Cart / Cart Drawer Module (Pro) = 1022 1022 ShopLentor’s Cart Drawer or Side Mini Cart for WooCommerce is a useful module that displays a list of current cart items on your website. This Side Mini Cart for WooCommerce or side cart WooCommerce module helps to list products that are currently added to the cart and improve the purchasing experience for your consumers by allowing them to keep track of their progress without ever having to leave the page. The WooCommerce minicart feature also makes removing things from their cart simple – there’s no need to go to the shopping cart page, users can just click the ''cross'' icon located at the top right corner of an WooCommerce product image in the WooCommerce mini cart or WooCommerce minicart. 1023 1023 1024 1024 A WooCommerce side cart appears as a WooCommerce cart icon on the right-hand side or left-hand side of your screen. It kind of works like a WooCommerce floating mini cart, Woo floating minicart, floating cart for WooCommerce, Woo floating cart, or WooCommerce offcanvas cart. When users click on that Woocommerce cart icon of the side cart WooCommerce, they can view their cart items before checking out. That’s the reason why customers find the WooCommerce mini cart or WooCommerce minicart convenient enough as it helps them save a lot of time while purchasing. 1025 1025 1026 1026 Leverage this incredible side mini cart or WooCommerce minicart module of ShopLentor to incorporate a side cart WooCommerce or side mini cart to your WooCommerce site. The side cart WooCommerce module allows your customers to see what WooCommerce products they have in their cart and makes it easy to add or remove items. You can also use the side cart WooCommerce module as an alternative to Woo floating minicart or Woo floating cart, as it works the same as a floating cart for WooCommerce. 1027 1027 1028 1028 A side cart WooCommerce can be a great way to encourage shoppers to complete their purchases. If you're looking for a Woo floating minicart, Woo floating cart, or floating cart for WooCommerce, then be sure to check out the side mini cart or side cart WooCommerce module of ShopLentor. It's easy to set up and use, and it's been designed to work seamlessly with WooCommerce. The Woo floating minicart or Woo floating cart is a great addition to any online storefront and can help increase sales and conversion rates. 1029 1029 1030 1030 This wonderful side mini cart module module enables you to add a WooCommerce side cart, side cart WooCommerce, WooCommerce minicart, WooCommerce mini cart, etc. that can help you convert many of your potential store visitors into loyal customers. 1031 1031 1032 1032 The Side Mini Cart module or side cart WooCommerce module of ShopLentor (Woo builder) is a great way to keep your customers' shopping carts organized and ensure they can always see what they have in their carts. Whenever a customer adds any WooCommerce products to the cart, the side mini cart slides in a WooCommerce minicart or WooCommerce mini cart from the side like a WooCommerce popup cart or WooCommerce cart popup. 1033 1033 1034 1034 This WooCommerce add to cart popup or WooCommerce added to cart popup allows customers to see what WooCommerce products they have in their carts. If you want to keep your online storefront organized, then the side cart WooCommerce module is the perfect solution for you. 1035 1035 1036 1036 This WooCommerce add to cart popup or WooCommerce added to cart popup appears when a customer adds a WooCommerce product to the cart and shows what WooCommerce products are available in the cart. If you want to keep your online storefront organized, then the side cart WooCommerce module could be an ideal solution for you. 1037 1037 1038 1038 [More Details](https://woolentor.com/doc/side-mini-cart-for-woocommerce/) 1039 1039 1040 1040 = 🔀 Redirect to checkout / Redirect to checkout after add to cart (Pro) = 1041 1041 The Redirect to Checkout Module of ShopLentor (all in one for WooCommerce) is an excellent feature for keeping your customers on track and ensuring a quick checkout process. This WooCommerce checkout redirect module allows you to send visitors to the checkout page of your website after they click the add to cart button so they can complete the purchase promptly and easily. Adding a redirect to checkout after add to cart helps to provide an optimal user experience while boosting conversion rates and sales. This WooCommerce add to cart redirect or WooCommerce checkout redirect module will be extremely useful if you want to provide a smooth shopping experience to your customers via WooCommerce redirect. 1042 1042 1043 1043 [More Details](https://woolentor.com/doc/redirect-to-checkout/) 1044 1044 1045 1045 1046 1046 ==🔌 Extensions: == 1047 1047 1048 1048 <strong>💰 [Whols for WooCommerce Wholesale](https://wordpress.org/plugins/whols/)</strong> 1049 1049 Whols is an outstanding WordPress plugin for WooCommerce that allows store owners to set wholesale prices or wholesale WooCommerce pricing for the WooCommerce products of their online storefront. This WooCommerce Wholesale plugin provides many options to create a WooCommerce B2B Store. 1050 1050 1051 1051 You can also control almost all the aspects of your WooCommerce B2B store. For example, you can show special wholesale prices only to the wholesalers while hiding them from other user roles. This WooCommerce Wholesale plugin enables you to maintain both consumers and wholesalers from a single WooCommerce store. Apart from that, this amazing WooCommerce Wholesale plugin makes user role management tasks easier on a WooCommerce B2B store. 1052 1052 1053 1053 <strong>📋 [JustTables for WooCommerce Product Table](https://wordpress.org/plugins/just-tables/)</strong> 1054 1054 JustTables is an incredible WordPress plugin that lets you showcase all your WooCommerce products in a sortable and filterable table view. It allows your customers to easily navigate through different attributes of the products and compare them on a single page. 1055 1055 1056 1056 In other words, you can leverage this wonderful WooCommerce product table plugin like a WooCommerce table designer or WooCommerce table builder that allows creating product tables for WooCommerce, product table for WooCommerce, WooCommerce product tables, product table WooCommerce, or product table listing to showcase your products in WooCommerce table view, WooCommerce table layout, or WooCommerce products table. 1057 1057 1058 1058 WooCommerce product table listing is an essential feature for any online storefront as it provides a quick and easy way to add a WooCommerce product list table that showcases multiple WooCommerce products at once. This products list table lists all your WooCommerce products in a WooCommerce table layout or WooCommerce table view. When the WooCommerce products table or WooCommerce product list table is used in conjunction with product search and WooCommerce product sort filters, customers can view all of your WooCommerce products in one place and quickly find their desired WooCommerce products. 1059 1059 1060 1060 This remarkable product table for WooCommerce or WooCommer product table plugin allows you to exhibit your WooCommerce products inside a WooCommerce table or Woo product table. That's not all; the products table or product tables created with this WooCommerce product table plugin will be fully responsive, which means that you can also create responsive tables for your WooCommerce product display. WooCommerce table or Woo product table is a great way to list products in an organized and professional manner. If you're looking for a way to increase product visibility while boosting WooCommerce sales, WooCommerce product tables are a great option. 1061 1061 1062 1062 <strong>💷 [Multi Currency for WooCommerce Currency Switcher](https://wordpress.org/plugins/wc-multi-currency/)</strong> 1063 1063 Multi-Currency for WooCommerce is a prominent currency switcher plugin for WooCommerce. This plugin allows your website or online store visitors to switch to their preferred currency or their country’s currency. 1064 1064 1065 1065 == <a href="https://woolentor.com/pricing/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=purchasepro">Purchase ShopLentor Pro</a> == 1066 1066 1067 1067 1068 1068 ==🎥 Video Tutorials or Plugin Tutorials: == 1069 1069 1070 1070 [youtube https://youtu.be/_MOgvsZJ6uA] 1071 1071 [youtube https://youtu.be/MKjhBO2xQzg] 1072 1072 1073 1073 == How to customize WooCommerce single product template == 1074 1074 [youtube https://youtu.be/yMWtnsufvJk] 1075 1075 1076 1076 == Build Custom My Account Page (Pro Feature) == 1077 1077 [youtube https://youtu.be/b7tbEU1NUO8] 1078 1078 1079 1079 <strong>[WooCommerce Checkout Field Editor (Pro Feature)](https://hasthemes.com/how-to-customize-woocommerce-checkout-page-and-field/)</strong> 1080 1080 [youtube https://youtu.be/qRRAECqyquU] 1081 1081 1082 1082 <strong>WooCommerce Multistep Checkout (Pro Feature)</strong> 1083 1083 [youtube https://youtu.be/a4fhaPKSEFQ] 1084 1084 1085 1085 <strong>WooCommerce Tutorial on Product Filters</strong> 1086 1086 [youtube https://youtu.be/-AXka-sc8hY] 1087 1087 1088 1088 == <a href="https://hasthemes.com/blog-category/woolentor/">More Video</a> == 1089 1089 * [Stock Progress bar for WooCommerce Product using ShopLentor](https://hasthemes.com/stock-progress-bar-for-woocommerce-product-using-woolentor/) 1090 1090 * [How to build a custom product template using ShopLentor Plugin](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/) 1091 1091 * [How to use Universal Product Grid Layouts](https://hasthemes.com/how-to-use-universal-product-grid-layouts/) 1092 1092 1093 1093 ==👨💻 Need Help? == 1094 1094 Is there any feature that you want to get in this plugin? 1095 1095 Needs assistance to use this plugin? 1096 1096 Feel free to [Contact us](https://hasthemes.com/contact-us/) 1097 1097 1098 1098 > ## Absolute Addons for Elementor Page Builder 1099 1099 > Don't forgete to check our Absolute mega addon for Elementor page Builder. 1100 1100 > [HT Mega – Absolute Addons for Elementor Page Builder](https://wordpress.org/plugins/ht-mega-for-elementor/) 1101 1101 > Includes 360 Blocke & 15 Landing Pages. 1102 1102 1103 1103 == <a href="https://wordpress.org/plugins/elementor/">Elementor</a> page builder is required for this plugin. == 1104 1104 Elementor Pro is not required. But you can use ShopLentor with Elementor free & Pro. 1105 1105 1106 1106 == Changelog == 1107 1107 1108 = Version: 2.8.2 - Date: 04-03-2024 = 1109 * Solved : Wishlist button class rendering issue. 1110 * Solved : Product id fetching issue in compare button shortcode. 1111 * Soled : Single Product default image show with FSE Theme. 1112 * Compatibility : Latest WordPress and WooCommerce version. 1113 1108 1114 = Version: 2.8.1 - Date: 18-02-2024 = 1109 1115 * Added : Currency Switcher Block for Gutenberg. 1110 1116 * Solved : Editor mode background image showing issue in Image marker block. 1111 1117 * Solved : Null value passing warning issue in variation swatch module. 1112 1118 * Compatibility : Latest WordPress and WooCommerce version. 1113 1119 1114 1120 = Version: 2.7.9 - Date: 04-02-2024 = 1115 1121 * Added : Support to all block in Full Site editing screen. 1116 1122 * Added : Same Hight grid option in Recently view product addon. 1117 1123 * Solved : Required field validation issue with Shopify like checkout module. 1118 1124 * Solved : Default currency set issue in Multi Currency Switcher module. 1119 1125 * Solved : Hidden product display issue with Ajax search Module. 1120 1126 * Compatibility : Latest WordPress and WooCommerce version. 1121 1127 1122 1128 = Version: 2.7.8 - Date: 21-01-2024 = 1123 1129 * Added : Multi Currency Module. 1124 1130 * Added : Elementor Widget for Multi Currency Switcher. 1125 1131 * Added : Exclude Out Of Stock product option in Product tab addon. 1126 1132 * Solved : Single product template render issue with Dokan. 1127 1133 * Solved : Minor Issues. 1128 1134 * Compatibility : Latest WordPress and WooCommerce version. 1129 1135 1130 1136 = Version: 2.7.7 - Date: 31-12-2023 = 1131 1137 * Solved : Header and Footer showing issue with Full site editing. 1132 1138 * Solved : Product image showing issue in single product template. 1133 1139 * Solved : Minor issue. 1134 1140 * Compatibility : Latest WordPress and WooCommerce version. 1135 1141 1136 1142 = Version: 2.7.6 - Date: 18-12-2023 = 1137 1143 * Solved : Template content render issue with default template. 1138 1144 * Solved : The Multi-Select field style in the Option Panel conflicts with a third-party plugin. 1139 1145 * Compatibility : Latest WordPress and WooCommerce version. 1140 1146 1141 1147 = Version: 2.7.5 - Date: 04-12-2023 = 1142 1148 * Solved : Template Build issue with default template. 1143 1149 * Solved : Product title render issue in shopify like checkout page module. 1144 1150 * Solved : Sales notification showing verification issue. 1145 1151 * Solved : Minor issues. 1146 1152 * Compatibility : Latest WordPress and WooCommerce version. 1147 1153 1148 1154 = Version: 2.7.4 - Date: 27-11-2023 = 1149 1155 * Added : Option for slider infinite loop control in universal product widget. 1150 1156 * Added : Variation product showing issue in Flash sale countdown widget. 1151 1157 * Solved : Dynamic variable creation issue. 1152 1158 * Improve : Template Building functionality. 1153 1159 * Compatibility : Latest WordPress and WooCommerce version. 1154 1160 1155 1161 = Version: 2.7.3 - Date: 11-11-2023 = 1156 1162 * Added : Popup Close Gutenberg block for Popup Builder module. 1157 1163 * Added : Testimonial Gutenberg block. 1158 1164 * Compatibility : Latest WordPress and WooCommerce version. 1159 1165 1160 1166 = Version: 2.7.2 - Date: 30-10-2023 = 1161 1167 * Added : Background color option add in all Gutenberg block. 1162 1168 * Added : Tab Menu style option in Gutenberg Product Tab block. 1163 1169 * Added: Option to set popup close button position 1164 1170 * Tweak: Dependency for the redirect url 1165 1171 * Fixed Popup settings were working for the free version if pro version is deactivated 1166 1172 * Improved : Admin notice UI. 1167 1173 * Compatibility : Latest WordPress Version. 1168 1174 1169 1175 = Version: 2.7.1 - Date: 11-10-2023 = 1170 1176 * Added: Compatibility with HPOS. 1171 1177 * Added : Align option has been added in shop archive layout default block. 1172 1178 * Solved : Conditions repeater field generation issue in Popup builder module. 1173 1179 * Solved : Close button trigger doesn't work issue in Popup builder module. 1174 1180 * Compatibility : Sale Notification and display first order data in editor mode compatible with high performance order storage. 1175 1181 1176 1182 = Version: 2.7.0 - Date: 25-09-2023 = 1177 1183 * Added: Popup builder template import option and template display in template library and Gutenberg editor mode. 1178 1184 * Added: Option to add in category grid widget show category > subcategory for shop page. 1179 1185 * Added: Min width option for filter item in horizontal Filter addon. 1180 1186 * Added: Close popup trigger button addon for Elementor in popup builder module. 1181 1187 * Added : Cookie support with the Close button trigger addon in popup builder module. 1182 1188 * Added : Option to disable close button in popup builder module. 1183 1189 * Solved: Border radius issue in WL : Product image addon. 1184 1190 * Tweak : wlpb_module_popup_open and wlpb_popup_closed JS trigger added in popup builder module. 1185 1191 * Tweak : reflect the Popup width / height / and positions changes support for elementor editor in popup builder module. 1186 1192 1187 1193 = Version: 2.6.9 - Date: 09-09-2023 = 1188 1194 * Added: Introduced a link to the Popup Builder module for easy access when creating popups in popup builder Module. 1189 1195 * Added: Options for Open/Close Animation in popup builder Module. 1190 1196 * Option to set the frequency of popup display by specifying the number of days and close count in popup builder Module. 1191 1197 * Added: The Entire Site condition option by default in popup builder Module. 1192 1198 * Solved : Elementor deprecated warning issue. 1193 1199 * Solved : Inactivity Time option is now functioning properly in popup builder Module. 1194 1200 * Solved : Resolved a popup query issue related to the setup_postdata function in popup builder Module. 1195 1201 * Solved : Demo template data showing issue in elementor mode. 1196 1202 * Solved: Increment and decrement button showing issue if product quantity is less then 1 or equal. 1197 1203 1198 1204 = Version: 2.6.8 - Date: 27-08-2023 = 1199 1205 * Added : Popup template import functionality has been added. 1200 1206 * Solved : Demo template showing issue in template add screen with popup builder module. 1201 1207 * Solved : Product current query issue for shop page. 1202 1208 * Solved : Gutenbarge block editor some field style issue. 1203 1209 1204 1210 = Version: 2.6.7 - Date: 21-08-2023 = 1205 1211 * Added : Product Meta Data show in Shopify like checkout module. 1206 1212 * Added : Sort By product filter label change option in product Vertical and Horizontal product filter addon. 1207 1213 * Added : QuickView close if click on outside and cross icon. 1208 1214 * Added : Popup Builder Module. 1209 1215 * Solved : Product ordering issue in default archive addon. 1210 1216 * Compatibility : Compatibility with latest WooCommerce and Elementor Version. 1211 1217 1212 1218 = Version: 2.6.6 - Date: 31-07-2023 = 1213 1219 * Solved : HTML Tag name spelling issue in shopify like module. 1214 1220 * Solved : Sample template showing issue has been solved. 1215 1221 * Solved : External product redirect issue from QuickView popup. 1216 1222 * Solved : External product add to cart button issue with single product ajax add to cart module. 1217 1223 * Solved : Dimension field style issue for Gutenberg. 1218 1224 * Compatibility : With latest WooComemrce and Latest WordPress version. 1219 1225 1220 1226 = Version: 2.6.5 - Date: 08-07-2023 = 1221 1227 * Compatibility : Wishlist button Compatibility with WC FSE blocks. 1222 1228 * Compatibility : With latest WooComemrce and Latest Elelementor version. 1223 1229 1224 1230 = Version: 2.6.4 - Date: 25-06-2023 = 1225 1231 * Solved : Product show issue with product filter addon. 1226 1232 * Solved: Footer menu doesn’t showing issue with shopify like checkout page. 1227 1233 * Solved : Variation Swatch render issue with QuickCart. 1228 1234 * Compatibility : With latest WooComemrce and Latest Elelementor version. 1229 1235 1230 1236 = Version: 2.6.3 - Date: 28-05-2023 = 1231 1237 * Added : Option to show back order product available date and send it to client email address after order completion. 1232 1238 * Solved : Backorder field hide and showing issue in product edit screen. 1233 1239 1234 1240 = Version: 2.6.2 - Date: 14-05-2023 = 1235 1241 * Solved : Post duplicate issue has been solved in post duplicator module. 1236 1242 * Compatibility : With latest WooComemrce and Latest Elelementor version. 1237 1243 1238 1244 = Version: 2.6.1 - Date: 30-04-2023 = 1239 1245 * Added : Two filter for third party Wishlist plugin compatibility. 1240 1246 * Solved : Add to cart button style issue in QuickView template. 1241 1247 * Compatibility : With latest WooComemrce and Latest Elelementor version. 1242 1248 1243 1249 = Version: 2.6.0 - Date: 18-04-2023 = 1244 1250 * Added : Gutenberg template list show in template manager popup. 1245 1251 * Improved : Template sample data store process. 1246 1252 * Solved : Added to cart button showing issue in cart page. 1247 1253 * Solved : Gutenbarge block tab menu icon overlapping issue. 1248 1254 * Solved : Quantity increase / decrease issue with multiple add to cart button. 1249 1255 1250 1256 = Version: 2.5.9 - Date: 12-04-2023 = 1251 1257 * Added : Option to add existing page selection or custom url for Shopify like checkout page module logo. 1252 1258 * Solved : PHP warning issue in Wishlist Module. 1253 1259 * Solved : Prepare query placeholder issue in Wishlist Module. 1254 1260 1255 1261 = Version: 2.5.8 - Date: 28-03-2023 = 1256 1262 * Added : Gutenberg Template library 1257 1263 * Added : Pagination option in Wishlist table. 1258 1264 * Added : Product Limit Option in Wishlist Module. 1259 1265 * Solved : Wishlist Product counter item showing issue. 1260 1266 * Solved : Compare Button Text showing issue in add to cart addon. 1261 1267 * Solved : Widget Script Dependency issue. 1262 1268 1263 1269 = Version: 2.5.7 - Date: 13-03-2023 = 1264 1270 * Added : Background color option in promo banner block. 1265 1271 * Added : Title, Subtitle banner area Dimension control option in promo banner block. 1266 1272 * Solved : Product adding issue with Compare table listing mode. 1267 1273 * Compatibility : With latest WooComemrce and Latest Elelementor version. 1268 1274 1269 1275 = Version: 2.5.6 - Date: 26-02-2023 = 1270 1276 * Added : Content Alignment option in Product rating block. 1271 1277 * Added : Price Alignment option in Product Price block. 1272 1278 * Added : Alignment option in Product stock block. 1273 1279 * Added : Alignment option in Product Meta block. 1274 1280 * Solved : Border CSS generate issue in product add to cart block. 1275 1281 * Solved : CSS Generate issue in editor mode for product tabs block. 1276 1282 * Solved : Toggle control component style issue in Related product addon. 1277 1283 * Solved : Cart and Shipping step navigation hide issue for mobile device in Shopify like checkout module. 1278 1284 1279 1285 = Version: 2.5.5 - Date: 04-02-2023 = 1280 1286 * Added : 4 Style has been added in single product add to cart block. 1281 1287 * Added : WishList and Compare Button control option added in single product add to cart block. 1282 1288 * Solved : Template Container Width issue in Elementor Editor. 1283 1289 * Solved : Template Container width Metabox render issue. 1284 1290 * Solved : Has been solved missed return value from add to cart filter in backorder module. 1285 1291 * Solved : PHP Undefined Function issue if WooCommerce is Deactivate. 1286 1292 * Compatibility : Universal Product Layout compatibility with kadence theme. 1287 1293 1288 1294 = Version: 2.5.4 - Date: 23-01-2023 = 1289 1295 * Added : Category description showing option has been added in WL Category Grid 1290 1296 * Added : Show city, Show state, Show Country option has been added in sales notification module. 1291 1297 * Added : Purchased by and price label change option has been added in sales notification module. 1292 1298 * Added : Cross Icon color option in Product Filter addon. 1293 1299 * Tweak : HTML tags allow in Archive Title Addon and Block. 1294 1300 * Tweak : Template builder Custom Meta box move to Gutenberg Meta Box Control. 1295 1301 * Compatibility : Polylag and WPML Support in wishlist and compare Module. 1296 1302 * Solved : Class Attribute adding issue form advance settings of the block "Additional CSS class(es)" 1297 1303 * Solved : Tab Alignment Issue in WL Product Tab addon. 1298 1304 * Solved : Wishlist Product Limit issue in wishlist table. 1299 1305 * Solved : Compare Product Limit issue in compare table. 1300 1306 1301 1307 = Version: 2.5.3 - Date: 08-1-2023 = 1302 1308 * Added : Hidden item showing option in Universal Product layout. 1303 1309 * Added : Out Of Stock item hide / show option in Universal Product layout. 1304 1310 * Added : Recently Viewed Product Gutenberg Block. 1305 1311 * Solved : Number of item showing issue in category grid block. 1306 1312 1307 1313 = Version: 2.5.2 - Date: 27-12-2022 = 1308 1314 * Added : Title background Color change option has been added in category grid addon. 1309 1315 * Added : Aria Label attribute added in all quick-view anchor tag. 1310 1316 * Solved : Template data Import issue has been fixed. 1311 1317 * Solved : Template Builder Wide fetching issue. 1312 1318 * Solved : Custom payment Button showing issue in cart page with WooCommerce Stripe Gateway plugin. 1313 1319 * Solved : All Category showing issue in category grid block. 1314 1320 * Compatibility with the latest WooCommerce version. 1315 1321 * Compatibility With latest Elementor Version. 1316 1322 1317 1323 = Version: 2.5.1 - Date: 06-12-2022 = 1318 1324 * Added : WooLentor Builder Template Import option from template library. 1319 1325 * Added : Parent Category Showing option in Category grid addon. 1320 1326 * Added : Parent Category Showing option in Category List addon. 1321 1327 * Solved : Lighthouse validation issue in (Universal Product, Product Filter and Product Filter module) 1322 1328 * Solved : Add to cart product duplicate entity issue with single product Ajax add to cart module. 1323 1329 * Compatibility With latest Elementor Version. 1324 1330 1325 1331 = Version: 2.5.0 - Date: 27-11-2022 = 1326 1332 * Added : Single product Review Form Block. 1327 1333 * Added : Slider option has been added in Brand logo block. 1328 1334 * Improved : Sample Template import process and default title random generate change to template title. 1329 1335 * Improved : Elementor dependency has been added in template import process. 1330 1336 * Improved : Sample template name show in template edit manager popup. 1331 1337 * Solved : Gutenberg Block ColorPalette reset button showing issue. 1332 1338 * Solved : Add to cart icon showing issue has been foxed in Product Tab block. 1333 1339 * Compatibility with the latest WooCommerce version. 1334 1340 1335 1341 = Version: 2.4.9 - Date: 17-11-2022 = 1336 1342 * Solved : Template sample data import issue. 1337 1343 * Changed : Menu name and menu slug. 1338 1344 1339 1345 = Version: 2.4.8 - Date: 13-11-2022 = 1340 1346 * Solved : Single product add to cart issue with single product add to cart module. 1341 1347 * Solved : Currency separate fetching issue in Filter addons. 1342 1348 * Solved : Product Filter non taxonomy select warning. 1343 1349 * Compatible: Multi Language supported. 1344 1350 * Compatibility with the latest WooCommerce version. 1345 1351 * Compatibility with the latest WordPress version. 1346 1352 1347 1353 = Version: 2.4.7 - Date: 06-11-2022 = 1348 1354 * Solved : Issue in showing recommended extensions for php7. 1349 1355 * Solved : Issue with the display of wishlist and compare icon in product grid block. 1350 1356 * Solved : Anchor tag link validation issue in QuickView button. 1351 1357 * Solved : Width control issue in the horizontal filter addon element. 1352 1358 * Solved : Redirection issue of the filter addon in the Elementor editor mode. 1353 1359 * Solved : Compatibility issue of the "Single Product Ajax Add to Cart" module with third-party plugin. 1354 1360 * Solved : Issue with the overriding of outdated templates. 1355 1361 * Compatibility with the latest WooCommerce version. 1356 1362 * Compatibility with the latest WordPress version. 1357 1363 1358 1364 = Version: 2.4.6 - Date: 17-10-2022 = 1359 1365 * Added : Hooks for custom validation. 1360 1366 * Improved : Gutenberg blocks style option. 1361 1367 * Solved : Compatibility issue with PHP 7.2 in Variation swatches module. 1362 1368 * Solved : An activation issue with slick slider in Universal layout addon. 1363 1369 * Compatibility with the latest WooCommerce version. 1364 1370 1365 1371 = Version: 2.4.5 - Date: 20-09-2022 = 1366 1372 * Added : Ordering option in Category grid / List addons. 1367 1373 * Improved : No limit to showcase products using category grid addon. 1368 1374 * Improved : The functionality of Gutenberg blocks. 1369 1375 * Improved : View pre-built templates in a popup. 1370 1376 * Solved : Latest Product showing issue in Archive default addon. 1371 1377 * Solved : Sample data showing issue in Elementor editor mode. 1372 1378 * Solved : Style rendering issue of the Add to cart button 1373 1379 * Solved : Block Short-code rendering issue in template content. 1374 1380 * Compatibility with the German Market Plugin. 1375 1381 * Compatibility with the latest WooCommerce version. 1376 1382 1377 1383 = Version: 2.4.4 - Date: 23-08-2022 = 1378 1384 * Improved : Specific page wise blocks register. 1379 1385 * Compatibility with latest WordPress version. 1380 1386 * Compatibility with latest WooCommerce version. 1381 1387 1382 1388 = Version: 2.4.3 - Date: 10-08-2022 = 1383 1389 * Added : Alignment Option add in Product rating addon. 1384 1390 * Added : Font Size and dimension control option for Add to cart action buttons. 1385 1391 * Added : Product data tab menu area style option in Product data tab addon. 1386 1392 * Added : Margin and Padding option in Product description addon. 1387 1393 * Solved : Unnecessary content showing issue in shopify style checkout footer for flatsome theme. 1388 1394 * Solved : FOUC Issue in all carousel. 1389 1395 * Compatibility with latest WooCommerce version. 1390 1396 * Compatibility with latest WordPress version. 1391 1397 1392 1398 = Version: 2.4.2 - Date: 24-07-2022 = 1393 1399 * Tweak : The compatibility of the Variation Swatches module with Astra theme. 1394 1400 * Compatibility with latest WooCommerce version. 1395 1401 * Compatibility with latest WordPress version. 1396 1402 1397 1403 = Version: 2.4.0 - Date: 04-07-2022 = 1398 1404 * Added : Options to show Phone Number and Company fields in the Shopify Style Checkout module. 1399 1405 * Added : Variation Swatches Module. 1400 1406 * Added : Options to control the Quantity field and 4 layouts for the Add to Cart button. 1401 1407 * Added : Gutenberg blocks for the Shop, Archive, and Product pages. 1402 1408 * Tweak : The compatibility of the Shopify Style Checkout module with WooFunnels' Order Bump feature. 1403 1409 * Solved : A display issue with the share button when no products are available to compare. 1404 1410 1405 1411 = Version: 2.3.2 - Date: 20-06-2022 = 1406 1412 * Added : Support to display currency position with space in product filter widgets. 1407 1413 * Added : Style option in wishlist table addon. 1408 1414 * Tweak : Wishlist and Compare menu position change. 1409 1415 * Solved : Shopify style checkout module compatibility with ShopLentor Pro checkout field manager module. 1410 1416 * Solved : Tab labels change issue in Shopify Style Checkout page. 1411 1417 * Solved : Repeater item adding issue in module setting. 1412 1418 * Solved : PHP Warning issue, if ShopLentor Pro is deactivated from FTP / cPanel. 1413 1419 * Solved : Wishlist counter PHP warning. 1414 1420 * Solved : Client say color change issue in WL Testimonial Widget. 1415 1421 1416 1422 = Version: 2.3.1 - Date: 04-06-2022 = 1417 1423 * Tweak : Elementor Dependency Notice added in Template Builder. 1418 1424 * Solved : Module setting reset problem with switcher element. 1419 1425 * Solved : Shipping Method showing issue in Shopify Style Checkout page. 1420 1426 1421 1427 = Version: 2.3.0 - Date: 25-05-2022 = 1422 1428 * Added : Module Settings Reset button. 1423 1429 * Compatibility : With Latest WordPress Version. 1424 1430 1425 1431 = Version: 2.2.9 - Date: 22-05-2022 = 1426 1432 * Improved : Dashboard Elements Panel UI. 1427 1433 * Tweak : jQuery UI library has been removed from template library. 1428 1434 * Tweak : Pending product has been excluded from AJAX search module. 1429 1435 * Solved : Unnecessary Content showing issue in Shopify Style Checkout page. 1430 1436 * Solved : Wishlist Icon Overlapping issue, if icon position is set Top On Image. 1431 1437 * Solved : iframe dimension issue in Product Video gallery addon. 1432 1438 * Solved : Compatibility with BuddyBoos Theme. 1433 1439 1434 1440 = Version: 2.2.8 - Date: 15-05-2022 = 1435 1441 * Solved : Product showing issue with product filter addon in category page. 1436 1442 * Solved : Video thumbnails overlapping issue in Video Gallery Addon. 1437 1443 * Compatibility With latest WooCommerce version. 1438 1444 1439 1445 = Version: 2.2.7 - Date: 08-05-2022 = 1440 1446 * Added : Add to cart button style option in Wishlist table. 1441 1447 * Solved : Wishlist Button icon show server permission issue. 1442 1448 * Solved : Wishlist table heading showing issue in mobile device. 1443 1449 * Solved : Compare Button icon show server permission issue. 1444 1450 * Solved : Compatibility with FiboSearch plugin. 1445 1451 * Solved : Action Button Line Height issue in Univarsel Layout Addon. 1446 1452 1447 1453 = Version: 2.2.6 - Date: 25-04-2022 = 1448 1454 * Added : Quantity Field Hide option in WL: Add to cart button. 1449 1455 * Solved : Undefine offset Issue in Gutenberg blocks style. 1450 1456 * Solved : Currency symbol position issue in product filter addon. 1451 1457 * Solved : Compatibility With Lumise Product Designer. 1452 1458 1453 1459 = Version: 2.2.5 - Date: 17-04-2022 = 1454 1460 * Added : Category Dropdown Field in AJAX search form. 1455 1461 * Solved : Product showing issue with custom pagination. 1456 1462 * Solved : Product right space issue in archive default addon. 1457 1463 1458 1464 = Version: 2.2.4 - Date: 05-04-2022 = 1459 1465 * Added : Recently Viewed products addon. 1460 1466 * Solved : Product Column set issue in archive custom addon. 1461 1467 * Solved : Wishlist counter fatal error. 1462 1468 * Solved : Horizontal product filter Alignment issue for mobile device. 1463 1469 * Solved : Event showing issue in WL : Product Flash Sale addon. 1464 1470 * Solved : Phone Number validation issue in Shopify style checkout Module. 1465 1471 * Solved : Add to cart button text showing issue in Product Accordion addon. 1466 1472 * Tweak: Removed register_widget_type and widgets_registered deprecated method. 1467 1473 1468 1474 = Version: 2.2.3 - Date: 20-03-2022 = 1469 1475 * Added : Product SKU addon. 1470 1476 * Added : Product tags addon. 1471 1477 * Added : Product Categories addon. 1472 1478 * Added : Archive Result Count addon. 1473 1479 * Added : Archive Catalog Ordering addon. 1474 1480 * Added : Hide cart and shipping step option in shopify style checkout module. 1475 1481 * Added : Buttons and step label change option in shopify style checkout module. 1476 1482 * Solved : Product limit set option in product tab addon. 1477 1483 * Solved : Product filter wise product showing issue in archive default addon. 1478 1484 * Solved : Ratting showing issue if Inline Font Icons is enable. 1479 1485 1480 1486 = Version: 2.2.1 - Date: 07-03-2022 = 1481 1487 * Added : Spinner in shopify style checkout page. 1482 1488 * Solved : Warning issue in Archive title addon. 1483 1489 * Solved : Default address field select style issue in shopify style checkout page. 1484 1490 1485 1491 = Version: 2.2.1 - Date: 06-03-2022 = 1486 1492 * Added : Archive title addon. 1487 1493 * Added : Breadcrumbs addon. 1488 1494 * Solved : Product curvy style issue. 1489 1495 * Solved : Multiple Add to cart button issue in universal layout. 1490 1496 * Solved : Single product style issue for Blocksy and Woostify theme. 1491 1497 1492 1498 = Version: 2.2.0 - Date: 20-02-2022 = 1493 1499 * Solved : Shopify style checkout page conflict issue with redux template. 1494 1500 * Solved : Wishlist and compare dashboard menu syntax issue. 1495 1501 * Solved: Template library showing issue. 1496 1502 * Solved : Sale Notification style issue in shopify style checkout page. 1497 1503 1498 1504 = Version: 2.1.9 - Date: 12-02-2022 = 1499 1505 * Added : Wishlist Counter addon. 1500 1506 * Added : Out of stock badge color option in Universal layout addons. 1501 1507 * Fixed : Checkout page shipping calculate issue in shopify style checkout page. 1502 1508 * Fixed : Extra li element generate issue in shopify style checkout page. 1503 1509 * Fixed: Solved a title styling issue in the default Archive addon for OceanWP theme. 1504 1510 1505 1511 = Version: 2.1.8 - Date: 02-02-2022 = 1506 1512 * Added : Backorder Module. 1507 1513 * Fixed : Print notices issue in editor mode. 1508 1514 1509 1515 = Version: 2.1.7 - Date: 2022-01-24 = 1510 1516 * Added : Wishlist and compare module. 1511 1517 * Added : Flash Sale Addon. 1512 1518 * Solved : Shopify style checkout page shipping method empty message issue. 1513 1519 * Solved : Repeater field select2 style issue. 1514 1520 * Solved : Product showing issue in Module popup. 1515 1521 * Solved : Same Height box content area issue. 1516 1522 1517 1523 = Version: 2.1.6 - Date: 2022-01-15 = 1518 1524 * Improved : Gutenberg Asset load on frontend site. 1519 1525 * Solved : FlashSale Empty deals warning issue. 1520 1526 * Solved : Shopify Style checkout page field override issue. 1521 1527 * Solved : Translate issue in Shopify style checkout page. 1522 1528 * Solved : Shopify checkout page account creation issue. 1523 1529 * Solved : AJAX function deprecation issue. 1524 1530 * Solved : Rating color change issue. 1525 1531 1526 1532 = Version: 2.1.5 - Date: 2022-01-03 = 1527 1533 * Solved : Gutenberg Blocks Console Error issue. 1528 1534 1529 1535 = Version: 2.1.4 - Date: 2022-01-02 = 1530 1536 * Added : Flash Sale Event Module. 1531 1537 * Improved : Gutenberg Blocks Assets load. 1532 1538 * Solved : Product not found message showing issue. 1533 1539 * Solved : Country, State selection issue in shopify style checkout page. 1534 1540 * Solved : Translate issue in shopify style checkout page. 1535 1541 1536 1542 = Version: 2.1.3 - Date: 2021-12-21 = 1537 1543 * Solved : Post Duplicator security issue. 1538 1544 * Solved : Template library pop style issue. 1539 1545 * Solved : WAVE Tool empty content error issue. 1540 1546 1541 1547 = Version: 2.1.2 - Date: 2021-12-07 = 1542 1548 * Added : Product box same height option in Universal product layout 1543 1549 * Improved : Elementor Widget register. 1544 1550 * Solved : Logo dimension issue for shopify style checkout page. 1545 1551 1546 1552 = Version: 2.1.1 - Date: 2021-11-29 = 1547 1553 * Added : Template Builder option added from own post type. 1548 1554 * Added : Shopify Style checkout page. 1549 1555 * Added : Template import option from previously assigned templates 1550 1556 * Improved : Rename label and sale notification option moved to module settings. 1551 1557 * Solved : Action button alignment issue in universal layout addon. 1552 1558 1553 1559 = Version: 2.1.0 - Date: 2021-11-13 = 1554 1560 * Improved : Settings panel design. 1555 1561 * Solved : Sale badge showing issue in product gallery addon. 1556 1562 * Capability with latest Elementor and WooComemrce Version. 1557 1563 1558 1564 = Version: 2.0.0 - Date: 2021-10-31 = 1559 1565 * Changed : Template library data import page template. 1560 1566 * Solved : Archive product column spacing issue. 1561 1567 * Solved : Archive data showing issue in editor mode for astra theme. 1562 1568 1563 1569 = Version: 1.9.9 - Date: 2021-10-16 = 1564 1570 * Added : width option for sales notification. 1565 1571 * Added : Option for show/display all products associated with each order. 1566 1572 * Fixed : Notification first load time. 1567 1573 1568 1574 = Version: 1.9.8 - Date: 2021-09-27 = 1569 1575 * Added: Advance Rename Label Options. 1570 1576 * Added: Advance Sale notifications. 1571 1577 * Updated: Documentation link. 1572 1578 * Removed: Unnecessary fields from Polylang config file. 1573 1579 * Removed: Gutenberg blocks if Classic Editor is installed. 1574 1580 1575 1581 = Version: 1.9.6 - Date: 2021-08-30 = 1576 1582 * Added FAQ Block, Product Curvy Block. 1577 1583 * Solved Video gallery addon variation image change issue. 1578 1584 * Solved product column space issue. 1579 1585 1580 1586 = Version: 1.9.5 - Date: 2021-08-09 = 1581 1587 * Solved Product column issue for the Astra Theme 1582 1588 1583 1589 = Version: 1.9.4 - Date: 2021-08-08 = 1584 1590 * Added Category Grid and Product tab blocks. 1585 1591 * Solved Product image showing issue in editor mode. 1586 1592 * Solved Horizontal filter item select issue. 1587 1593 * Solved Translate issue. 1588 1594 * Solved Related Product, Upsale product and Cross sale Product Column issue for storefront theme 1589 1595 1590 1596 = Version: 1.9.3 - Date: 2021-27-07 = 1591 1597 * Added Title tag change option in universal layout 1592 1598 * Added Product Archive page template override global option 1593 1599 * Solved Variation image showing issue in QuickView 1594 1600 * Solved Slick slider console error 1595 1601 1596 1602 = Version: 1.9.2 - Date: 2021-24-07 = 1597 1603 * Compatibility With WordPress Latest Version 1598 1604 * Compatibility With Elementor Latest Version 1599 1605 1600 1606 = Version: 1.9.1 - Date: 2021-18-07 = 1601 1607 * Added 5 Gutenberg blocks 1602 1608 1603 1609 = Version: 1.9.0 - Date: 2021-21-06 = 1604 1610 * Added count manage option in category grid addon. 1605 1611 * Solved spelling issue. 1606 1612 * Solved related product column issue. 1607 1613 * Solved sale notification ( Price, By ) translate issue. 1608 1614 * Added ShopLentor product option tab index. 1609 1615 * Added hide out of stock item option. 1610 1616 * Solved product column issue ( For JetBuilder plugin ) 1611 1617 * Solved Tax Query conflick issue (For YITH WooCommerce Auctions premium ) 1612 1618 * Solved feature product showing issue. 1613 1619 * Solved Quantity field value showing issue for Hello Elementor theme. 1614 1620 * Solved Elementor editor load issue with page layout theme. 1615 1621 * Solved current theme product style item specing issue. 1616 1622 * Solved sale badge style issue for twentytwentyone theme. 1617 1623 1618 1624 = Version: 1.8.9 - Date: 2021-24-05 = 1619 1625 * Added ShopLentor product option tab index. 1620 1626 * Added hide out of stock item option. 1621 1627 * Solved product column issue ( For JetBuilder plugin ) 1622 1628 * Solved Tax Query conflick issue (For YITH WooCommerce Auctions premium ) 1623 1629 * Solved feature product showing issue. 1624 1630 * Solved Quantity field value showing issue for Hello Elementor theme. 1625 1631 * Solved Elementor editor load issue with page layout theme. 1626 1632 * Solved current theme product style item specing issue. 1627 1633 * Solved sale badge style issue for twentytwentyone theme. 1628 1634 1629 1635 = Version: 1.8.8 - Date: 2021-24-04 = 1630 1636 * Form serialize data send from AJAX single product add to cart request 1631 1637 * Solved quick view add to cart button adding products without selecting variations issue. 1632 1638 * Solved sale notification time intervel issue. 1633 1639 * Compatible with Elementor latest version 1634 1640 1635 1641 = Version: 1.8.7 - Date: 2021-7-04 = 1636 1642 * Solved quickview variation data showing issue. 1637 1643 * Added quickview variation product AJAX add to cart. 1638 1644 * Added AJAX search widget close option after click outside. 1639 1645 * Solved quickview z-index issue. 1640 1646 * Solved universal product layout slider issue for OceanWP theme. 1641 1647 1642 1648 = Version: 1.8.6 - Date: 2021-27-03 = 1643 1649 * Solved HTML tags validation issue. 1644 1650 1645 1651 = Version: 1.8.5 - Date: 2021-24-03 = 1646 1652 * Added 5 extensions addon. 1647 1653 1648 1654 = Version: 1.8.4 - Date: 2021-18-03 = 1649 1655 * Improved admin panel style. 1650 1656 * Added extension menu. 1651 1657 * Fixed minor bugs. 1652 1658 1653 1659 = Version: 1.8.3 - Date: 2021-10-03 = 1654 1660 * Product video description issue solved. 1655 1661 * Solved quick view problem with ocean WP theme. 1656 1662 * Minor bug fixed. 1657 1663 1658 1664 = Version: 1.8.2 - Date: 2021-02-03 = 1659 1665 * Capability with ever compare and wishsuite plugins. 1660 1666 * Added category before border hide option in universal layout. 1661 1667 * Increase sale badge style option. 1662 1668 * Template wise class added in the body for template global style option. 1663 1669 * Reduce API call. 1664 1670 * Minor bug fixed. 1665 1671 1666 1672 = Version: 1.8.1 - Date: 2021-02-03 = 1667 1673 * Fixed Repeater field console error issue. 1668 1674 * Minor bug fixed. 1669 1675 1670 1676 = Version: 1.8.0 - Date: 2021-01-9 = 1671 1677 * Fixed product shortcode issue. 1672 1678 1673 1679 = Version: 1.7.9 - Date: 2021-01-7 = 1674 1680 * Fixed archive page broken issue. 1675 1681 * Fixed search results page issue. 1676 1682 * Fixed product ordering issue on the shop page. 1677 1683 1678 1684 = Version: 1.7.8 - Date: 2020-12-27 = 1679 1685 * Minor Bug fixed addon added 1680 1686 1681 1687 = Version: 1.7.7 - Date: 2020-12-26 = 1682 1688 * Store Features addon added 1683 1689 * Faq addon added 1684 1690 * Testimonial addon added 1685 1691 * One page slider addon added 1686 1692 * Category Grid addon added 1687 1693 * Minor Bug fixed addon added 1688 1694 1689 1695 = Version: 1.7.6 - Date: 2020-12-25 = 1690 1696 * Capability to customize the search results page. 1691 1697 * SG Optimizer plugin Compatibility. 1692 1698 * Product filter issue solved. 1693 1699 1694 1700 = Version: 1.7.5 - Date: 2020-12-05 = 1695 1701 * Product Horizontal Filter Addon added. 1696 1702 1697 1703 = Version: 1.7.4 - Date: 2020-11-25 = 1698 1704 * Product Filter Addon added. 1699 1705 1700 1706 = Version: 1.7.3 - Date: 2020-11-11 = 1701 1707 * Template Library Improve 1702 1708 * Rating improve 1703 1709 * Style css improve 1704 1710 1705 1711 = Version: 1.7.1 - Date: 2020-10-11 = 1706 1712 * Capability With the latest WordPress and WooCommerce. 1707 1713 * Spelling improve 1708 1714 1709 1715 = Version: 1.7.0 - Date: 2020-09-15 = 1710 1716 * Product Curvy addon added 1711 1717 * Product accordion addon added 1712 1718 * Product image with accordion added 1713 1719 * Capability With the latest WordPress and WooCommerce. 1714 1720 1715 1721 = Version: 1.6.9 - Date: 2020-01-02 = 1716 1722 * Capability With the latest WordPress and WooCommerce. 1717 1723 * Bug Fixing 1718 1724 1719 1725 = Version: 1.6.8 - Date: 2020-08-13 = 1720 1726 * Capability With the latest WordPress and WooCommerce. 1721 1727 1722 1728 = Version: 1.6.7 - Date: 2020-07-22 = 1723 1729 * Image marker addon added. 1724 1730 * Customer Review addon added. 1725 1731 1726 1732 = Version: 1.6.6 - Date: 2020-07-04 = 1727 1733 * Add to cart text showing option added in universal layout. 1728 1734 1729 1735 = Version: 1.6.5 - Date: 2020-06-28 = 1730 1736 * QR Code Generator Addon Added. 1731 1737 1732 1738 = Version: 1.6.4 - Date: 2020-06-27 = 1733 1739 * Stock Management Progress Bar Option added in universal product layout. 1734 1740 1735 1741 = Version: 1.6.3 - Date: 2020-06-17 = 1736 1742 * Post Duplicator Option Added. 1737 1743 1738 1744 = Version: 1.6.2 - Date: 2020-05-30 = 1739 1745 * Category View Addon Added. 1740 1746 * Brand Logo Addon Added. 1741 1747 1742 1748 = Version: 1.6.0 - Date: 2020-05-06 = 1743 1749 * Editor Mode default data show. 1744 1750 * 10 Home page added in template library. 1745 1751 * Side Mini Cart added. 1746 1752 * Cross Sale, Upsale Slider issue solved. 1747 1753 * Default color setting add for universal layout. 1748 1754 1749 1755 = Version: 1.5.8 - Date: 2020-04-24 = 1750 1756 * Template Library Improve. 1751 1757 * Mobile and Tablet Column support in Universal Layout. 1752 1758 * AJAX search autocomplete problem solved. Add CSS clear the 'X' from Chrome and Internet Explorer (thanks to Thomas FABOUX) 1753 1759 * Admin Promo banner AJAX dismiss added. 1754 1760 1755 1761 = Version: 1.5.7 - Date: 2020-04-12 = 1756 1762 * Quickview Icon Issue Solved 1757 1763 * Product tab showing issue solved 1758 1764 1759 1765 = Version: 1.5.3 - Date: 2020-02-17 = 1760 1766 * WooCommerce Brand Plugins Compatibility 1761 1767 * Full width Page Container Padding Issue solved 1762 1768 * 10 Home Page Added In library 1763 1769 1764 1770 = Version: 1.5.2 - Date: 2020-01-11 = 1765 1771 * QuickView Loader Added 1766 1772 * Tab Menu Ordering Issue solved 1767 1773 * Template Library QuickView Added 1768 1774 1769 1775 = Version: 1.5.1 - Date: 2019-12-29 = 1770 1776 * TI Wishlist Compatibility 1771 1777 * QuickView Loader Added 1772 1778 * Universal Layout Pagination and Navigation Position Options added 1773 1779 * QuickView Uniqe Classes 1774 1780 * Universal Layout a Features product showing issue solved 1775 1781 * QuickView Content Overlapping issue Solved 1776 1782 * Action Button style option added in WL: Product Tab Addons 1777 1783 * Product Tab layout a features product showing issue solved 1778 1784 * Options page responsive issue solved 1779 1785 1780 1786 = Version: 1.5.0 - Date: 2019-12-08 = 1781 1787 * Universal layout Hide options ( Title, Price, ratting ) 1782 1788 * Universal layout spacing options add in ( Title, Price, ratting, category ) 1783 1789 * Universal layout Tab Menu area spacing controll options added 1784 1790 * Universal layout Slider column width issue solved 1785 1791 * Product Out of stock status added 1786 1792 * Single Prodcut AJAX Add to cart 1787 1793 1788 1794 = Version: 1.4.9 - Date: 2019-11-29 = 1789 1795 * AJAX Search Form Added ( Widgets, Elementor Addons, Shortcode ) 1790 1796 * Archive page product render issue fixed 1791 1797 * Show thumbnails image first for thumbnials slider ( Univarsel layout, archive layout, Advance image thumbnails ) 1792 1798 1793 1799 = Version: 1.4.7 - Date: 2019-11-12 = 1794 1800 * Elementor Product Load limit Option added. 1795 1801 1796 1802 = Version: 1.4.6 - Date: 2019-11-03 = 1797 1803 * Call For Price Addon Added. 1798 1804 * Suggest Price Addon Added. 1799 1805 1800 1806 = Version: 1.4.5 - Date: 2019-10-25 = 1801 1807 * Special Day Offer Addons Added. 1802 1808 1803 1809 = Version: 1.4.4 - Date: 2019-10-10 = 1804 1810 * Universal Layout custom order issue solved. 1805 1811 * Tab With Thumbnails Slider image load issue solved. 1806 1812 1807 1813 = Version: 1.4.0 - Date: 2019-09-09 = 1808 1814 * Sales Notification Added. 1809 1815 1810 1816 = Version: 1.3.3 - Date: 2019-09-04 = 1811 1817 * Rename Label added (Limited for Free Version and Full Options for Pro version). 1812 1818 * Licensing Option for Plugins update (Pro). 1813 1819 <a href="https://hasthemes.com/rename-label-for-woocommerce-pages-and-licensing-option-for-pro-version">Details in Video</a> 1814 1820 1815 1821 = Version: 1.3.2 - Date: 2019-09-01 = 1816 1822 * <a href="https://hasthemes.com/video-in-product-gallery-for-woolentor-elementor-page-builder/">Videos in Product Gallery (According to a Customer Request)</a> 1817 1823 1818 1824 = Version: 1.2.2 - Date: 2019-07-15 = 1819 1825 * Include Template Library. 1820 1826 1821 1827 = Version: 1.2.1 - Date: 2019-06-8 = 1822 1828 * Stock Progress bar ( Pro ). 1823 1829 * Product Title Character Limit option added ( Pro ). 1824 1830 * Enable/Disable All Elements Toggle button ( Pro ). 1825 1831 1826 1832 == Installation == 1827 1833 This section describes how to install the ShopLentor - WooCommerce Addons for Elementor Page Builder plugin and get it working. 1828 1834 1829 1835 = 1) Install = 1830 1836 1831 1837 1. Go to the WordPress Dashboard "Add New Plugin" section. 1832 1838 2. Search For "ShopLentor". 1833 1839 3. Install, then Activate it. 1834 1840 1835 1841 = OR: = 1836 1842 1. Unzip (if it is zipped) and Upload `woolentor-addons` folder to the `/wp-content/plugins/` directory 1837 1843 2. Activate the plugin through the 'Plugins' menu in WordPress 1838 1844 1839 1845 = 2) Configure = 1840 1846 1. After install and activate the plugin you will get a notice to install Elementor Plugin ( If allready install it then do not show notice. ). 1841 1847 2. To install the plugin click on the "Button" Install Elementor. 1842 1848 3. ‘SHOPLENTOR’ Category will be appear in Elementor page Editor 1843 1849 4. Create new Product slider or product tab and relax! 1844 1850 1845 1851 == Frequently Asked Questions == 1846 1852 1847 1853 = Can I use ShopLentor without WooCommerce? = 1848 1854 1849 1855 No, ShopLentor is a plugin for WooCommerce and cannot be used without it. You need to use WooCommerce with ShopLentor for your online store. 1850 1856 1851 1857 = What are the minimum requirements for using ShopLentor? = 1852 1858 1853 1859 ShopLentor has been tested with the most up-to-date versions of both WordPress and WooCommerce. 1854 1860 1855 1861 = How can I redirect to checkout page in WooCommerce? = 1856 1862 1857 1863 Yes, you can set up a redirect to the checkout page in WooCommerce to skip the cart page. To do this, please follow these steps: 1858 1864 1859 1865 1. Go to Dashboard > ShopLentor > Modules. 1860 1866 1861 1867 2. Enable Redirect to Checkout on Add to Cart. 1862 1868 1863 1869 3. Visit the Shop/Store and click the add to cart button. 1864 1870 1865 1871 You can follow this [doc](https://woolentor.com/doc/redirect-to-checkout/). 1866 1872 1867 1873 = How do I create a multi-step checkout in WooCommerce? = 1868 1874 1869 1875 ShopLentor Pro provides an easy way to create a multi-step checkout. You can follow this [online documentation](https://woolentor.com/doc/woocommerce-multi-step-checkout/) to create a multi-step checkout in WooCommerce. 1870 1876 1871 1877 1. Go to Dashboard > ShopLentor > Modules. 1872 1878 1873 1879 2. Enable Multi-Step Checkout. 1874 1880 1875 1881 3. From ShopLentor Template Builder > Add New Template 1876 1882 1877 1883 4. Select the template type “Checkout” 1878 1884 1879 1885 5. Drag WL: Multi-Step Checkout widget and Edit the template 1880 1886 1881 1887 = How do I add a wishlist in WooCommerce? = 1882 1888 1883 1889 ShopLentor provides a module for Wishlist, using that module you can easily add a wishlist to the WooCommerce product and archive page. You can follow the [documentation here](https://woolentor.com/doc/wishlist-for-woocommerce/): 1884 1890 1885 1891 1. Go to Dashboard > ShopLentor > Modules. 1886 1892 1887 1893 2. Enable Wishlist. 1888 1894 1889 1895 3. ShopLentor > Wishlist 1890 1896 1891 1897 4. Make necessary setting 1892 1898 1893 1899 = How do I compare products in WooCommerce? = 1894 1900 1895 1901 Yes, you can use the WooCommerce Product Compare plugin to compare products in WooCommerce. You can follow the steps below: 1896 1902 1897 1903 1. Install and activate the ShopLentor plugin. 1898 1904 1899 1905 2. Go to Dashboard > ShopLentor > Modules and enable the Product Compare module. 1900 1906 1901 1907 3. Enable the Compare module 1902 1908 1903 1909 4. Go to ShopLentor > Compare 1904 1910 1905 1911 5. Compare Settings 1906 1912 1907 1913 You can check [full docs here](https://woolentor.com/doc/woocommerce-product-compare/) 1908 1914 1909 1915 = How do I add a flash sale countdown timer in WooCommerce? = 1910 1916 1911 1917 Yes, you can use the [WooCommerce Product Flash sale Countdown](https://woolentor.com/doc/enable-sales-countdown-timer-in-woocommerce/) module to add pre schedule or on schedule sale discount countdown timer in WooCommerce. You can follow the steps below: 1912 1918 1913 1919 1. Install and activate the ShopLentor plugin. 1914 1920 1915 1921 2. Go to Dashboard > ShopLentor > Modules. 1916 1922 1917 1923 3. Enable the Countdown module. 1918 1924 1919 1925 WooCommerce Sales countdown can boost your sales. If you are looking for a countdown plugin for WooCommerce, then you can use ShopLentor for your online store. ShopLentor has an Elementor countdown addon or sales countdown WooCommerce addon which helps to display sale countdown timer WooCommerce for any special days offers like Christmas countdown, Black Friday countdown, etc. 1920 1926 1921 1927 = How to enable backorder in WooCommerce? = 1922 1928 1923 1929 You can enable backorder in WooCommerce using ShopLentor's backorder module. Follow the following steps: 1924 1930 1925 1931 Step 1: Enable the Backorder module 1926 1932 1927 1933 Step 2: Go to Product Edit Page 1928 1934 1929 1935 Step 3: Setup Backorder for the product 1930 1936 1931 1937 You can check the full online documentation about "How to enable backorder in WooCommerce?" [from this link](https://woolentor.com/doc/how-to-enable-woocommerce-backorder/). 1932 1938 1933 1939 = How to make WooCommerce checkout look like Shopify? = 1934 1940 1935 1941 ShopLentor provides a module to customize the default WooCommerce checkout design to look like Shopify. You can follow these steps: 1936 1942 1937 1943 1. Install and activate the ShopLentor plugin 1938 1944 1939 1945 2. Go to Dashboard > ShopLentor > Modules 1940 1946 1941 1947 3. Enable the Shopify Style Checkout 1942 1948 1943 1949 = What is AJAX search for WooCommerce? = 1944 1950 1945 1951 WooCommerce Ajax Search makes it quick and easy to search for items in your online store without having to reload the page. WooCommerce search content or results are displayed in real-time, allowing users to see them immediately. 1946 1952 1947 1953 = How do I add AJAX search in WooCommerce? = 1948 1954 1949 1955 ShopLentor comes with the Ajax Live Product search, WooCommerce search products, or WooCommerce search form module. It helps your customers to find their desired products quickly and easily from your WooCommerce store without full-text searching through an advanced search widget. ShopLentor's ajax search form enables category wise search widget or WooCommerce search taxonomy search bar. The benefits of using this WooCommerce fast search/Woo ajax search module are - Ajax shopping experience, visual product search/product image search, ajax search suggestion, etc. 1950 1956 1951 1957 You can follow these steps: 1952 1958 1953 1959 1. Install and activate the ShopLentor plugin 1954 1960 1955 1961 2. Go to Dashboard > ShopLentor > Modules. 1956 1962 1957 1963 3. Enable Ajax Search Widget. 1958 1964 1959 1965 4. Edit the page template from the ShopLentor > Template Builder. 1960 1966 1961 1967 5. Drag and drop the ajax product search widget. 1962 1968 1963 1969 = How to add Ajax Add to cart on WooCommerce product Page? = 1964 1970 1965 1971 ShopLentor has a module for ajax based cart or quick add to cart. You can use the ShopLentor Ajax add to cart module for adding ajax add to cart functionality on WooCommerce product page. You can follow these steps: 1966 1972 1967 1973 1. Install and activate the ShopLentor plugin. 1968 1974 1969 1975 2. Go to Dashboard > ShopLentor > Modules. 1970 1976 1971 1977 3. Enable Ajax Add To Cart Module. 1972 1978 1973 1979 = How to add a custom field in WooCommerce checkout? = 1974 1980 1975 1981 ShopLentor Pro has a module for WooCommerce checkout field editor. You can use the WooCommerce checkout fields manager module to add custom fields/WooCommerce additional fields/WooCommerce extra checkout fields, hide checkout fields, and remove billing fields on the WooCommerce checkout page or Elementor WooCommerce checkout template. You can follow these steps: 1976 1982 1977 1983 1. Install and activate the ShopLentor plugin. 1978 1984 1979 1985 2. Go to Dashboard > ShopLentor > Modules. 1980 1986 1981 1987 3. Enable Checkout Field Manager Module. 1982 1988 1983 1989 4. Modify Checkout fields. 1984 1990 1985 1991 5. Add new fields if required. 1986 1992 1987 1993 6. Save changes. 1988 1994 1989 1995 = How do I add a Product size chart in WooCommerce? = 1990 1996 1991 1997 ShopLentor pro has the size chart WooCommerce module. You can use the WooCommerce size guide module to add a size chart on the product page. You can follow these steps: 1992 1998 1993 1999 1. Install and activate the ShopLentor plugin. 1994 2000 1995 2001 2. Go to Dashboard > ShopLentor > Modules. 1996 2002 1997 2003 3. Enable WooCommerce Size Chart Module. 1998 2004 1999 2005 4. Go to ShopLentor > Size Charts 2000 2006 2001 2007 5. Add a New Size chart. 2002 2008 2003 2009 6. Choose Product and Save. 2004 2010 2005 2011 = How to edit labels in WooCommerce? = 2006 2012 2007 2013 ShopLentor has a module for WooCommerce label customization. You can use the WooCommerce custom product label module to edit/change labels on product label, WooCommerce add to cart button label, out of stock label, categories/Archive page labels, and tags pages of the WooCommerce store. You can follow these steps: 2008 2014 2009 2015 1. Install and activate the ShopLentor plugin. 2010 2016 2011 2017 2. Go to Dashboard > ShopLentor > Modules. 2012 2018 2013 2019 3. Enable WooCommerce rename Label Module. 2014 2020 2015 2021 4. Edit the labels. 2016 2022 2017 2023 5. Save changes. 2018 2024 2019 2025 = How to show best selling products by category? = 2020 2026 2021 2027 You can show best selling products using the Universal Widget of ShopLentor. This widget can be used as a WooCommerce best selling product widget WooCommerce. Where you can show best selling products by category. To do this, follow these steps 2022 2028 2023 2029 1. Edit a page where you want to add the best selling products. 2024 2030 2. Drag the Universal Widget. 2025 2031 3. Choose options to show the best sell products. 2026 2032 2027 2033 = How to show featured products in WooCommerce? = 2028 2034 2029 2035 ShopLentor comes with the Universal Layout widget to show WooCommerce featured products. you can use the WooCommerce featured product query to show featured products in different ways on your store. You can follow these steps: 2030 2036 2031 2037 1. Install and activate the ShopLentor plugin. 2032 2038 2033 2039 2. Edit a Page where you want to add the featured WooCommerce Products. 2034 2040 2035 2041 3. Drag the Universal Layout Widget. 2036 2042 2037 2043 4. Filter By > Featured Products 2038 2044 2039 2045 5. To Show Featured product by category name, add categories. 2040 2046 2041 2047 = How does ShopLentor compare with other WooCommerce Elementor Addons? = 2042 2048 2043 2049 Although ShopLentor and other WooCommerce Elementor Addons like ShopEngine or JetWidgets are also focused on making the entire WooCommerce website building experience easier with the Elementor page builder, ShopLentor WooCommerce addon offers some remarkable features while some of its competitors don't. To name a few, Shopify Style Checkout, MultiStep Checkout for WooCommerce, custom WooCommerce Checkout Fields Editor, Email Customizer, Email Automation, GTM Conversion Tracking, and several others. 2044 2050 2045 2051 = Can I use ShopLentor along with any other plugins that are powered by Elementor & WooCommerce? = 2046 2052 2047 2053 ShopLentor is meticulously crafted with all the standards and best practices of both Elementor and WooCommerce. So, it is not likely to create any conflicts with other Elementor and WooCommerce plugins. On top of that, we have tested the ShopLentor plugin with several popular Elementor plugins or Elementor Addons and WooCommerce-based plugins. While doing so, we made sure that they worked perfectly with ShopLentor. Some of them are Master Addons, PowerPack Addons, Exclusive Addons, ElementsKit, Livemesh Addons, WooCommerce Shipping, WooCommerce PDF Invoices, YITH WooCommerce Wishlist, YITH WooCommerce Compare, Product Labels For Woocommerce (Sale Badges), Mailchimp for WooCommerce Integration, YayMail – WooCommerce Email Customizer, Wholesale Suite, Booster for WooCommerce, ShopReady, JetWidgets, CoDesigner and so on. 2048 2054 2049 2055 = Is it possible to add WooCommerce extra checkout fields with ShopLentor? = 2050 2056 2051 2057 Yes, of course. ShopLentor's Checkout Field Manager or Checkout Field Editor module allows users to add or remove WooCommerce custom fields checkout or WooCommerce checkout fields. Besides, users can also customize existing WooCommerce checkout fields as per their needs. 2052 2058 2053 2059 = Can I use any third-party WooCommerce newsletter plugin with ShopLentor? = 2054 2060 2055 2061 As you may already know, ShopLentor is designed by following all the best practices and standards of WooCommerce, so we can assure you that it will be compatible with a third-party WooCommerce advanced newsletter plugin, WooCommerce newsletter subscription plugin, or WooCommerce Mailchimp integration plugin. 2056 2062 2057 2063 If you run into any issues, feel free to contact us through our support website. 2058 2064 2059 2065 = Does ShopLentor support WooCommerce digital product sales and deliver digital files to customers? = 2060 2066 2061 2067 Yes, ShopLentor can handle WooCommerce digital products or WooCommerd downloadable products (e.g. sell digital print, Ebook, etc.) without any issues. In case you want to integrate any specific functionality on your digital products store that WooCommerce doesn't offer by default, you may need to use third-party plugins. 2062 2068 2063 2069 = How much does ShopLentor impact WooCommerce speed or page speed? = 2064 2070 2065 2071 With great pleasure, we'd like to inform you that our team runs several tests before releasing any major ShopLentor update to ensure that it doesn't affect a website's performance in terms of WooCommerce speed or page speed 🚀 2066 2072 2067 2073 Aside from that, ShopLentor allows users to enable or disable specific Elementor WooCommerce widgets and modules as per their needs to speed up Elementor WooCommerce widgets' performance 💪 2068 2074 2069 2075 Another noteworthy fact is that no heavy PHP rendering is required to render any of ShopLentor's widgets and modules from the server side. Therefore, it is unlikely that the plugin will have a detrimental impact on the speed of a website. 2070 2076 2071 2077 2072 2078 == Screenshots == 2073 2079 1. Custom Product Page Builder 2074 2080 2. Custom Cart Page Builder 2075 2081 3. Custom Checkout Page Builder 2076 2082 4. Checkout Page Field Editor 2077 2083 5. Custom My Account Page 2078 2084 6. Woo Wishlist 2079 2085 7. Product Compare Table 2080 2086 8. Product Quick View 2081 2087 9. Horizontal Product Filter 2082 2088 10. Vertical Product Filter 2083 2089 11. Sales Notification 2084 2090 12. Universal Product Layout 2085 2091 13. Product Slider - Style 1 2086 2092 14. Product Slider - Style 2 2087 2093 15. Product Slider - Style 3 2088 2094 16. Product Tab - Style 1 2089 2095 17. Product Tab - Style 2 2090 2096 18. Product Tab - Style 3 2091 2097 19. Template Library 2092 2098 20. Widgets Control Panel 2093 2099 21. WC Template Settings 2094 2100 22. Module Settings -
woolentor-addons/trunk/woolentor-blocks/build/blocks-woolentor.asset.php
r3037382 r3044764 1 <?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => 'd c7b35b5f4bed979e14d');1 <?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => 'da4f4379f2cafbed579f'); -
woolentor-addons/trunk/woolentor-blocks/build/blocks-woolentor.js
r3037382 r3044764 1 (()=>{var e={40:(e,t,o)=>{var r=o(404),n=o(524).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;n(t,(function(o,r){if(o.equals(e))return o.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){n(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";n(this.handlers,(function(t){t[e]()}))}},e.exports=a},98:(e,t,o)=>{var r=o(40),n=o(524),a=n.each,l=n.isFunction,i=n.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,o){var n=this.queries,c=o&&this.browserIsIncapable;return n[e]||(n[e]=new r(e,c)),l(t)&&(t={match:t}),i(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),n[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=c},404:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},524:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var o=0,r=e.length;o<r&&!1!==t(e[o],o);o++);}}},386:(e,t,o)=>{var r=o(98);e.exports=new r},441:(e,t,o)=>{var r=o(28),n=function(e){var t="",o=Object.keys(e);return o.forEach((function(n,a){var l=e[n];(function(e){return/[height|width]$/.test(e)})(n=r(n))&&"number"==typeof l&&(l+="px"),t+=!0===l?n:!1===l?"not "+n:"("+n+": "+l+")",a<o.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(o,r){t+=n(o),r<e.length-1&&(t+=", ")})),t):n(e)}},181:(e,t,o)=>{var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,i=parseInt,c="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=c||s||Function("return this")(),d=Object.prototype.toString,m=Math.max,p=Math.min,g=function(){return u.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var o=a.test(e);return o||l.test(e)?i(e.slice(2),o?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,o){var r,n,a,l,i,c,s=0,u=!1,d=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function R(t){var o=r,a=n;return r=n=void 0,s=t,l=e.apply(a,o)}function _(e){var o=e-c;return void 0===c||o>=t||o<0||d&&e-s>=a}function w(){var e=g();if(_(e))return h(e);i=setTimeout(w,function(e){var o=t-(e-c);return d?p(o,a-(e-s)):o}(e))}function h(e){return i=void 0,y&&r?R(e):(r=n=void 0,l)}function E(){var e=g(),o=_(e);if(r=arguments,n=this,c=e,o){if(void 0===i)return function(e){return s=e,i=setTimeout(w,t),u?R(e):l}(c);if(d)return i=setTimeout(w,t),R(c)}return void 0===i&&(i=setTimeout(w,t)),l}return t=b(t)||0,f(o)&&(u=!!o.leading,a=(d="maxWait"in o)?m(b(o.maxWait)||0,t):a,y="trailing"in o?!!o.trailing:y),E.cancel=function(){void 0!==i&&clearTimeout(i),s=0,r=c=n=i=void 0},E.flush=function(){return void 0===i?l:h(g())},E}},223:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,o){return t&&p(e.prototype,t),o&&p(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=R(e);if(t){var a=R(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,o)}}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var _=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var o={key:"0","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,u(u({},o),r)):n.default.createElement("button",c({key:"0",type:"button"},o)," ","Previous")}}]),o}(n.default.PureComponent);t.PrevArrow=_;var w=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,l.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var o={key:"1","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,u(u({},o),r)):n.default.createElement("button",c({key:"1",type:"button"},o)," ","Next")}}]),o}(n.default.PureComponent);t.NextArrow=w},327:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r},a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return n.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return n.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},773:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function u(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(f,e);var t,o,i,p,g=(i=f,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),g.apply(this,arguments)}return t=f,o=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,o=t.onMouseEnter,r=t.onMouseOver,i=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,m=t.slidesToShow,p=t.slideCount,g=t.currentSlide,f=(e={slideCount:p,slidesToScroll:d,slidesToShow:m,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:o,onMouseOver:r,onMouseLeave:i},y=[],R=0;R<f;R++){var _=(R+1)*d-1,w=u?_:(0,l.clamp)(_,0,p-1),h=w-(d-1),E=u?h:(0,l.clamp)(h,0,p-1),v=(0,a.default)({"slick-active":u?g>=E&&g<=w:g===E}),O={message:"dots",index:R,slidesToScroll:d,currentSlide:g},P=this.clickHandler.bind(this,O);y=y.concat(n.default.createElement("li",{key:R,className:v},n.default.cloneElement(this.props.customPaging(R),{onClick:P})))}return n.default.cloneElement(this.props.appendDots(y),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({className:this.props.dotsClass},b))}}],o&&u(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),f}(n.default.PureComponent);t.Dots=p},589:(e,t,o)=>{"use strict";var r;t.A=void 0;var n=((r=o(120))&&r.__esModule?r:{default:r}).default;t.A=n},841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=m(o(609)),n=m(o(841)),a=m(o(181)),l=m(o(942)),i=o(445),c=o(561),s=o(773),u=o(223),d=m(o(591));function m(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function y(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function h(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(v,e);var t,o,m,f,E=(m=v,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(m);if(f){var o=w(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}(this,e)});function v(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),h(_(t=E.call(this,e)),"listRefHandler",(function(e){return t.list=e})),h(_(t),"trackRefHandler",(function(e){return t.track=e})),h(_(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),h(_(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var o=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(o,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),h(_(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),h(_(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var o=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));o.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(o)}})),t.props.onLazyLoad&&t.props.onLazyLoad(o))}t.adaptHeight();var n=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(n,a,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),h(_(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,a.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),h(_(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var o=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(o,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),h(_(t),"updateState",(function(e,o,n){var a=(0,i.initializedState)(e);e=b(b(b({},e),a),{},{slideIndex:a.currentSlide});var l=(0,i.getTrackLeft)(e);e=b(b({},e),{},{left:l});var c=(0,i.getTrackCSS)(e);(o||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(a.trackStyle=c),t.setState(a,n)})),h(_(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,o=0,n=[],a=(0,i.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c<a;c++)o+=n[n.length-1-c],e+=n[n.length-1-c];for(var s=0;s<l;s++)e+=n[s];for(var u=0;u<t.state.currentSlide;u++)o+=n[u];var d={width:e+"px",left:-o+"px"};if(t.props.centerMode){var m="".concat(n[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(m,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),g=b(b(b({},t.props),t.state),{},{slideCount:p}),f=(0,i.getPreClones)(g)+(0,i.getPostClones)(g)+p,y=100/t.props.slidesToShow*f,R=100/f,_=-R*((0,i.getPreClones)(g)+t.state.currentSlide)*y/100;return t.props.centerMode&&(_+=(100-R*y/100)/2),{slideWidth:R+"%",trackStyle:{width:y+"%",left:_+"%"}}})),h(_(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],o=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var n=function(){return++r&&r>=o&&t.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=n,e.onerror=function(){n(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),h(_(t),"progressiveLazyLoad",(function(){for(var e=[],o=b(b({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,i.getPostClones)(o);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var n=t.state.currentSlide-1;n>=-(0,i.getPreClones)(o);n--)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),h(_(t),"slideHandler",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,n=r.asNavFor,a=r.beforeChange,l=r.onLazyLoad,c=r.speed,s=r.afterChange,u=t.state.currentSlide,d=(0,i.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!o})),m=d.state,p=d.nextState;if(m){a&&a(u,m.currentSlide);var g=m.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&g.length>0&&l(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),delete t.animationEndCallback),t.setState(m,(function(){n&&t.asNavForIndex!==e&&(t.asNavForIndex=e,n.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(p,["animating"]);t.setState(o,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(m.currentSlide),delete t.animationEndCallback}))}),c))}))}})),h(_(t),"changeSlide",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=b(b({},t.props),t.state),n=(0,i.changeSlide)(r,e);if((0===n||n)&&(!0===o?t.slideHandler(n,o):t.slideHandler(n),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var a=t.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}})),h(_(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),h(_(t),"keyHandler",(function(e){var o=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==o&&t.changeSlide({message:o})})),h(_(t),"selectHandler",(function(e){t.changeSlide(e)})),h(_(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),h(_(t),"enableBodyScroll",(function(){window.ontouchmove=null})),h(_(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var o=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==o&&t.setState(o)})),h(_(t),"swipeMove",(function(e){var o=(0,i.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));o&&(o.swiping&&(t.clickable=!1),t.setState(o))})),h(_(t),"swipeEnd",(function(e){var o=(0,i.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(o){var r=o.triggerSlideHandler;delete o.triggerSlideHandler,t.setState(o),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),h(_(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),h(_(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),h(_(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),h(_(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},o)}),0))})),h(_(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),h(_(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var o=t.state.autoplaying;if("update"===e){if("hovered"===o||"focused"===o||"paused"===o)return}else if("leave"===e){if("paused"===o||"focused"===o)return}else if("blur"===e&&("paused"===o||"hovered"===o))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),h(_(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var o=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==o&&"playing"!==o||t.setState({autoplaying:"focused"}):"playing"===o&&t.setState({autoplaying:"hovered"})})),h(_(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),h(_(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),h(_(t),"render",(function(){var e,o,n,a=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=b(b({},t.props),t.state),m=(0,i.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(m=b(b({},m),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var f=(0,i.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;f=b(b({},f),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=r.default.createElement(s.Dots,f)}var R=(0,i.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);R.clickHandler=t.changeSlide,t.props.arrows&&(o=r.default.createElement(u.PrevArrow,R),n=r.default.createElement(u.NextArrow,R));var _=null;t.props.vertical&&(_={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var h=b(b({},_),w),E=t.props.touchMove,v={className:"slick-list",style:h,onClick:t.clickHandler,onMouseDown:E?t.swipeStart:null,onMouseMove:t.state.dragging&&E?t.swipeMove:null,onMouseUp:E?t.swipeEnd:null,onMouseLeave:t.state.dragging&&E?t.swipeEnd:null,onTouchStart:E?t.swipeStart:null,onTouchMove:t.state.dragging&&E?t.swipeMove:null,onTouchEnd:E?t.touchEnd:null,onTouchCancel:t.state.dragging&&E?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},O={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(v={className:"slick-list"},O={className:a}),r.default.createElement("div",O,t.props.unslick?"":o,r.default.createElement("div",g({ref:t.listRefHandler},v),r.default.createElement(c.Track,g({ref:t.trackRefHandler},m),t.props.children)),t.props.unslick?"":n,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},n.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var o=t.ssrInit();return t.state=b(b({},t.state),o),t}return t=v,(o=[{key:"didPropsChange",value:function(e){for(var t=!1,o=0,n=Object.keys(this.props);o<n.length;o++){var a=n[o];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==p(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),v}(r.default.Component);t.InnerSlider=E},120:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(609)),a=o(999),l=s(o(441)),i=s(o(327)),c=o(445);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},u.apply(this,arguments)}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){y(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function y(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var R=(0,c.canUseDOM)()&&o(386),_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(w,e);var t,o,s,d,_=(s=w,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(s);if(d){var o=b(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),y(f(t=_.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(f(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(f(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(f(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,o)})),y(f(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(f(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=w,(o=[{key:"media",value:function(e,t){R.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(o,r){var n;n=0===r?(0,l.default)({minWidth:0,maxWidth:o}):(0,l.default)({minWidth:t[r-1]+1,maxWidth:o}),(0,c.canUseDOM)()&&e.media(n,(function(){e.setState({breakpoint:o})}))}));var o=(0,l.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){R.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,o=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===o.state.breakpoint})))[0].settings?"unslick":m(m(m({},i.default),this.props),t[0].settings):m(m({},i.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,s=0;s<r.length;s+=e.rows*e.slidesPerRow){for(var d=[],p=s;p<s+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var g=[],f=p;f<p+e.slidesPerRow&&(e.variableWidth&&r[f].props.style&&(c=r[f].props.style.width),!(f>=r.length));f+=1)g.push(n.default.cloneElement(r[f],{key:100*s+10*p+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(n.default.createElement("div",{key:10*s+p},g))}e.variableWidth?l.push(n.default.createElement("div",{key:s,style:{width:c}},d)):l.push(n.default.createElement("div",{key:s},d))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:b},r)}return l.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(a.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}])&&p(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),w}(n.default.Component);t.default=_},561:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var b=function(e){var t,o,r,n,a;return r=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(n=Math.floor(e.slidesToShow/2),o=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-n-1&&a<=e.currentSlide+n&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":o,"slick-cloned":r,"slick-current":a===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(_,e);var t,o,i,p,R=(i=_,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function _(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_);for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return f(d(e=R.call.apply(R,[this].concat(o))),"node",null),f(d(e),"handleRef",(function(t){e.node=t})),e}return t=_,(o=[{key:"render",value:function(){var e=function(e){var t,o=[],r=[],i=[],c=n.default.Children.count(e.children),s=(0,l.lazyStartIndex)(e),u=(0,l.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(d,m){var p,f={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?d:n.default.createElement("div",null);var R=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:m})),_=p.props.className||"",w=b(g(g({},e),{},{index:m}));if(o.push(n.default.cloneElement(p,{key:"original"+y(p,m),"data-index":m,className:(0,a.default)(w,_),tabIndex:"-1","aria-hidden":!w["slick-active"],style:g(g({outline:"none"},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade){var h=c-m;h<=(0,l.getPreClones)(e)&&c!==e.slidesToShow&&((t=-h)>=s&&(p=d),w=b(g(g({},e),{},{index:t})),r.push(n.default.cloneElement(p,{key:"precloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),c!==e.slidesToShow&&((t=c+m)<u&&(p=d),w=b(g(g({},e),{},{index:t})),i.push(n.default.cloneElement(p,{key:"postcloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))}})),e.rtl?r.concat(o,i).reverse():r.concat(o,i)}(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",c({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},o),e)}}])&&s(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),_}(n.default.PureComponent);t.Track=R},445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r};function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){i(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function c(e,t,o){return Math.max(t,Math.min(e,o))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)e.lazyLoadedList.indexOf(n)<0&&t.push(n);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)t.push(n);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var m=function(e){return e.currentSlide+g(e)};t.lazyEndIndex=m;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var g=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=g;var f=function(e){return e&&e.offsetWidth||0};t.getWidth=f;var b=function(e){return e&&e.offsetHeight||0};t.getHeight=b;var y=function(e){var t,o,r,n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,r=Math.atan2(o,t),(n=Math.round(180*r/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===a?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var R=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=R,t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o},t.initializedState=function(e){var t,o=n.default.Children.count(e.children),r=e.listRef,a=Math.ceil(f(r)),i=e.trackRef&&e.trackRef.node,c=Math.ceil(f(i));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var d=r&&b(r.querySelector('[data-index="0"]')),m=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=o-1-e.initialSlide);var g=e.lazyLoadedList||[],y=u(l(l({},e),{},{currentSlide:p,lazyLoadedList:g})),R={slideCount:o,slideWidth:t,listWidth:a,trackWidth:c,currentSlide:p,slideHeight:d,listHeight:m,lazyLoadedList:g=g.concat(y)};return null===e.autoplaying&&e.autoplay&&(R.autoplaying="playing"),R},t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,r=e.fade,n=e.infinite,a=e.index,i=e.slideCount,s=e.lazyLoad,d=e.currentSlide,m=e.centerMode,p=e.slidesToScroll,g=e.slidesToShow,f=e.useCSS,b=e.lazyLoadedList;if(t&&o)return{};var y,_,w,h=a,E={},C={},B=n?a:c(a,0,i-1);if(r){if(!n&&(a<0||a>=i))return{};a<0?h=a+i:a>=i&&(h=a-i),s&&b.indexOf(h)<0&&(b=b.concat(h)),E={animating:!0,currentSlide:h,lazyLoadedList:b,targetSlide:h},C={animating:!1,targetSlide:h}}else y=h,h<0?(y=h+i,n?i%p!=0&&(y=i-i%p):y=0):!R(e)&&h>d?h=y=d:m&&h>=i?(h=n?i:i-1,y=n?0:i-1):h>=i&&(y=h-i,n?i%p!=0&&(y=0):y=i-g),!n&&h+g>=i&&(y=i-g),_=P(l(l({},e),{},{slideIndex:h})),w=P(l(l({},e),{},{slideIndex:y})),n||(_===w&&(h=y),_=w),s&&(b=b.concat(u(l(l({},e),{},{currentSlide:h})))),f?(E={animating:!0,currentSlide:y,trackStyle:O(l(l({},e),{},{left:_})),lazyLoadedList:b,targetSlide:B},C={animating:!1,currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),swipeLeft:null,targetSlide:B}):E={currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),lazyLoadedList:b,targetSlide:B};return{state:E,nextState:C}},t.changeSlide=function(e,t){var o,r,n,a,i=e.slidesToScroll,c=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,m=e.lazyLoad,p=e.infinite;if(o=s%i!=0?0:(s-u)%i,"previous"===t.message)a=u-(n=0===o?i:c-o),m&&!p&&(a=-1==(r=u-n)?s-1:r),p||(a=d-i);else if("next"===t.message)a=u+(n=0===o?i:o),m&&!p&&(a=(u+i)%s+o),p||(a=d+i);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var g= W(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===g?a-=s:a<t.currentSlide&&"right"===g&&(a+=s)}}else"index"===t.message&&(a=Number(t.index));return a},t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""},t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&s(e),!t||!o&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var o=t.scrolling,r=t.animating,n=t.vertical,a=t.swipeToSlide,i=t.verticalSwiping,c=t.rtl,u=t.currentSlide,d=t.edgeFriction,m=t.edgeDragged,p=t.onEdge,g=t.swiped,f=t.swiping,b=t.slideCount,_=t.slidesToScroll,w=t.infinite,h=t.touchObject,E=t.swipeEvent,O=t.listHeight,C=t.listWidth;if(!o){if(r)return s(e);n&&a&&i&&s(e);var B,A={},W=P(t);h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2)));var S=Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2)));if(!i&&!f&&S>10)return{scrolling:!0};i&&(h.swipeLength=S);var k=(c?-1:1)*(h.curX>h.startX?1:-1);i&&(k=h.curY>h.startY?1:-1);var T=Math.ceil(b/_),x=y(t.touchObject,i),L=h.swipeLength;return w||(0===u&&("right"===x||"down"===x)||u+1>=T&&("left"===x||"up"===x)||!R(t)&&("left"===x||"up"===x))&&(L=h.swipeLength*d,!1===m&&p&&(p(x),A.edgeDragged=!0)),!g&&E&&(E(x),A.swiped=!0),B=n?W+L*(O/C)*k:c?W-L*k:W+L*k,i&&(B=W+L*k),A=l(l({},A),{},{touchObject:h,swipeLeft:B,trackStyle:v(l(l({},t),{},{left:B}))}),Math.abs(h.curX-h.startX)<.8*Math.abs(h.curY-h.startY)||h.swipeLength>10&&(A.swiping=!0,s(e)),A}},t.swipeEnd=function(e,t){var o=t.dragging,r=t.swipe,n=t.touchObject,a=t.listWidth,i=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,m=t.scrolling,p=t.onSwipe,g=t.targetSlide,f=t.currentSlide,b=t.infinite;if(!o)return r&&s(e),{};var R=c?u/i:a/i,_=y(n,c),E={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(m)return E;if(!n.swipeLength)return E;if(n.swipeLength>R){var v,C;s(e),p&&p(_);var B=b?f:g;switch(_){case"left":case"up":C=B+h(t),v=d?w(t,C):C,E.currentDirection=0;break;case"right":case"down":C=B-h(t),v=d?w(t,C):C,E.currentDirection=1;break;default:v=B}E.triggerSlideHandler=v}else{var A=P(t);E.trackStyle=O(l(l({},t),{},{left:A}))}return E};var _=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,n=[];o<t;)n.push(o),o=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return n};t.getNavigableIndexes=_;var w=function(e,t){var o=_(e),r=0;if(t>o[o.length-1])t=o[o.length-1];else for(var n in o){if(t<o[n]){t=r;break}r=o[n]}return t};t.checkNavigable=w;var h=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,r=e.listRef,n=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(n).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return o=r,!1}else if(r.offsetLeft-t+f(r)/2>-1*e.swipeLeft)return o=r,!1;return!0})),!o)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=h;var E=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=E;var v=function(e){var t,o;E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?o=r*e.slideHeight:t=A(e)*e.slideWidth;var n={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=l(l({},n),{},{WebkitTransform:a,transform:i,msTransform:c})}else e.vertical?n.top=e.left:n.left=e.left;return e.fade&&(n={opacity:1}),t&&(n.width=t),o&&(n.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?n.marginTop=e.left+"px":n.marginLeft=e.left+"px"),n};t.getTrackCSS=v;var O=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=v(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=O;var P=function(e){if(e.unslick)return 0;E(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,r=e.slideIndex,n=e.trackRef,a=e.infinite,l=e.centerMode,i=e.slideCount,c=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,m=e.variableWidth,p=e.slideHeight,g=e.fade,f=e.vertical;if(g||1===e.slideCount)return 0;var b=0;if(a?(b=-C(e),i%s!=0&&r+s>i&&(b=-(r>i?c-(r-i):i%s)),l&&(b+=parseInt(c/2))):(i%s!=0&&r+s>i&&(b=c-i%s),l&&(b=parseInt(c/2))),t=f?r*p*-1+b*p:r*u*-1+b*u,!0===m){var y,R=n&&n.node;if(y=r+C(e),t=(o=R&&R.childNodes[y])?-1*o.offsetLeft:0,!0===l){y=a?r+C(e):r,o=R&&R.children[y],t=0;for(var _=0;_<y;_++)t-=R&&R.children[_]&&R.children[_].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=P;var C=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=C;var B=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=B;var A=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+B(e)};t.getTotalSlides=A;var W=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+S(e)?"left":"right":e.targetSlide<e.currentSlide-k(e)?"right":"left"};t.siblingDirection=W;var S=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1};t.slidesOnRight=S;var k=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r||t%2!=0||(a+=1),a}return r?t-1:0};t.slidesOnLeft=k,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},591:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,r){return e[0]===t&&(o=r,!0)})),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(t,o){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,r=e(o,t);~r&&o.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,r=this.__entries__;o<r.length;o++){var n=r[o];e.call(t,n[1],n[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},i=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,r=!1,n=0;function a(){o&&(o=!1,e()),r&&c()}function i(){l(a)}function c(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(i,t);n=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;i.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=y(0,0,0,0);function p(e){return parseFloat(e)||0}function g(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+p(e["border-"+o+"-width"])}),0)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return n?f(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return m;var r=d(e).getComputedStyle(e),n=function(e){for(var t={},o=0,r=["top","right","bottom","left"];o<r.length;o++){var n=r[o],a=e["padding-"+n];t[n]=p(a)}return t}(r),a=n.left+n.right,l=n.top+n.bottom,i=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(i+a)!==t&&(i-=g(r,"left","right")+a),Math.round(c+l)!==o&&(c-=g(r,"top","bottom")+l)),!function(e){return e===d(e).document.documentElement}(e)){var s=Math.round(i+a)-t,u=Math.round(c+l)-o;1!==Math.abs(s)&&(i-=s),1!==Math.abs(u)&&(c-=u)}return y(n.left,n.top,i,c)}(e):m}function y(e,t,o,r){return{x:e,y:t,width:o,height:r}}var R=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var o,r,n,a,l,i,c,s=(r=(o=t).x,n=o.y,a=o.width,l=o.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(i.prototype),u(c,{x:r,y:n,width:a,height:l,top:n,right:r+a,bottom:l+n,left:r}),c);u(this,{target:e,contentRect:s})},w=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new R(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),h="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=s.getInstance(),r=new w(t,o,this);h.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=h.get(this))[e].apply(t,arguments)}}));const v=void 0!==a.ResizeObserver?a.ResizeObserver:E},833:e=>{e.exports=function(e,t,o,r){var n=o?o.call(r,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],d=t[s];if(!1===(n=o?o.call(r,u,d,s):void 0)||void 0===n&&u!==d)return!1}return!0}},28:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},609:e=>{"use strict";e.exports=window.React},942:(e,t)=>{var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=l(e,a(o)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)r.call(e,o)&&e[o]&&(t=l(t,o));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,(()=>{"use strict";var e={};o.r(e),o.d(e,{category:()=>Sn,metadata:()=>An,name:()=>Wn,settings:()=>Nn});var t={};o.r(t),o.d(t,{category:()=>$n,metadata:()=>Vn,name:()=>Zn,settings:()=>ra});var r={};o.r(r),o.d(r,{category:()=>ka,metadata:()=>Aa,name:()=>Sa,settings:()=>ja});var n={};o.r(n),o.d(n,{category:()=>ll,metadata:()=>rl,name:()=>al,settings:()=>ml});var a={};o.r(a),o.d(a,{category:()=>zl,metadata:()=>xl,name:()=>Nl,settings:()=>Dl});var l={};o.r(l),o.d(l,{category:()=>mi,metadata:()=>si,name:()=>di,settings:()=>Ri});var i={};o.r(i),o.d(i,{category:()=>Nu,metadata:()=>Tu,name:()=>Lu,settings:()=>Hu});var c={};o.r(c),o.d(c,{category:()=>dd,metadata:()=>cd,name:()=>ud,settings:()=>yd});var s={};o.r(s),o.d(s,{category:()=>Gd,metadata:()=>Hd,name:()=>qd,settings:()=>Zd});var u={};o.r(u),o.d(u,{category:()=>_m,metadata:()=>bm,name:()=>Rm,settings:()=>Pm});var d={};o.r(d),o.d(d,{category:()=>Gm,metadata:()=>Hm,name:()=>qm,settings:()=>Ym});var m={};o.r(m),o.d(m,{category:()=>sp,metadata:()=>lp,name:()=>cp,settings:()=>gp});var p={};o.r(p),o.d(p,{category:()=>Np,metadata:()=>Sp,name:()=>Tp,settings:()=>Mp});var g={};o.r(g),o.d(g,{category:()=>tg,metadata:()=>Zp,name:()=>Xp,settings:()=>ag});var f={};o.r(f),o.d(f,{category:()=>vg,metadata:()=>wg,name:()=>Eg,settings:()=>Wg});var b={};o.r(b),o.d(b,{category:()=>Gg,metadata:()=>Hg,name:()=>qg,settings:()=>Yg});var y={};o.r(y),o.d(y,{category:()=>uf,metadata:()=>lf,name:()=>sf,settings:()=>ff});var R={};o.r(R),o.d(R,{category:()=>hf,metadata:()=>Rf,name:()=>wf,settings:()=>Cf});var _={};o.r(_),o.d(_,{category:()=>Ff,metadata:()=>jf,name:()=>Mf,settings:()=>Kf});var w={};o.r(w),o.d(w,{category:()=>ab,metadata:()=>ob,name:()=>nb,settings:()=>ub});var h={};o.r(h),o.d(h,{category:()=>Ob,metadata:()=>hb,name:()=>vb,settings:()=>Wb});var E={};o.r(E),o.d(E,{category:()=>qb,metadata:()=>Fb,name:()=>Db,settings:()=>Vb});var v={};o.r(v),o.d(v,{category:()=>uy,metadata:()=>ay,name:()=>iy,settings:()=>gy});var O={};o.r(O),o.d(O,{category:()=>Ay,metadata:()=>Py,name:()=>By,settings:()=>xy});var P={};o.r(P),o.d(P,{category:()=>Qy,metadata:()=>Gy,name:()=>Uy,settings:()=>Xy});var C={};o.r(C),o.d(C,{category:()=>mR,metadata:()=>sR,name:()=>dR,settings:()=>yR});var B={};o.r(B),o.d(B,{category:()=>xR,metadata:()=>AR,name:()=>SR,settings:()=>jR});var A={};o.r(A),o.d(A,{category:()=>JR,metadata:()=>VR,name:()=>ZR,settings:()=>$R});var W={};o.r(W),o.d(W,{category:()=>p_,metadata:()=>u_,name:()=>m_,settings:()=>R_});var S={};o.r(S),o.d(S,{category:()=>D_,metadata:()=>M_,name:()=>H_,settings:()=>Q_});var k={};o.r(k),o.d(k,{category:()=>yw,metadata:()=>gw,name:()=>bw,settings:()=>_w});var T={};o.r(T),o.d(T,{category:()=>qw,metadata:()=>Iw,name:()=>Fw,settings:()=>Qw});var x={};o.r(x),o.d(x,{category:()=>uh,metadata:()=>ih,name:()=>sh,settings:()=>bh});var L={};o.r(L),o.d(L,{category:()=>Sh,metadata:()=>Bh,name:()=>Wh,settings:()=>zh});var N={};o.r(N),o.d(N,{category:()=>Zh,metadata:()=>Qh,name:()=>Yh,settings:()=>oE});var z={};o.r(z),o.d(z,{category:()=>bE,metadata:()=>pE,name:()=>fE,settings:()=>EE});var j={};o.r(j),o.d(j,{category:()=>zE,metadata:()=>xE,name:()=>NE,settings:()=>DE});var I={};o.r(I),o.d(I,{category:()=>ov,metadata:()=>$E,name:()=>tv,settings:()=>cv});var M={};o.r(M),o.d(M,{category:()=>Ev,metadata:()=>_v,name:()=>hv,settings:()=>Av});var F={};o.r(F),o.d(F,{category:()=>Dv,metadata:()=>Mv,name:()=>Hv,settings:()=>Vv});var H={};o.r(H),o.d(H,{category:()=>uO,metadata:()=>aO,name:()=>iO,settings:()=>gO});var D={};o.r(D),o.d(D,{category:()=>SO,metadata:()=>PO,name:()=>BO,settings:()=>LO});var q={};o.r(q),o.d(q,{category:()=>ZO,metadata:()=>KO,name:()=>QO,settings:()=>eP});var G={};o.r(G),o.d(G,{category:()=>bP,metadata:()=>dP,name:()=>pP,settings:()=>wP});var K={};o.r(K),o.d(K,{category:()=>MP,metadata:()=>LP,name:()=>zP,settings:()=>qP});var U={};o.r(U),o.d(U,{category:()=>aC,metadata:()=>eC,name:()=>oC,settings:()=>sC});var Q={};o.r(Q),o.d(Q,{category:()=>PC,metadata:()=>wC,name:()=>EC,settings:()=>WC});var V={};o.r(V),o.d(V,{category:()=>KC,metadata:()=>FC,name:()=>DC,settings:()=>YC});var Y={};o.r(Y),o.d(Y,{category:()=>dB,metadata:()=>lB,name:()=>cB,settings:()=>fB});var Z={};o.r(Z),o.d(Z,{category:()=>kB,metadata:()=>CB,name:()=>AB,settings:()=>NB});var J={};o.r(J),o.d(J,{category:()=>JB,metadata:()=>UB,name:()=>VB,settings:()=>tA});var X={};o.r(X),o.d(X,{category:()=>yA,metadata:()=>mA,name:()=>gA,settings:()=>hA});var $={};o.r($),o.d($,{category:()=>jA,metadata:()=>TA,name:()=>LA,settings:()=>HA});var ee={};o.r(ee),o.d(ee,{category:()=>rW,metadata:()=>XA,name:()=>eW,settings:()=>iW});var te={};o.r(te),o.d(te,{category:()=>vW,metadata:()=>RW,name:()=>wW,settings:()=>BW});var oe={};o.r(oe),o.d(oe,{category:()=>qW,metadata:()=>IW,name:()=>FW,settings:()=>QW});var re={};o.r(re),o.d(re,{category:()=>sS,metadata:()=>nS,name:()=>lS,settings:()=>pS});var ne={};o.r(ne),o.d(ne,{category:()=>WS,metadata:()=>OS,name:()=>CS,settings:()=>xS});var ae={};o.r(ae),o.d(ae,{category:()=>YS,metadata:()=>GS,name:()=>US,settings:()=>$S});var le={};o.r(le),o.d(le,{category:()=>pk,metadata:()=>uk,name:()=>mk,settings:()=>Rk});var ie={};o.r(ie),o.d(ie,{category:()=>Tk,metadata:()=>_k,name:()=>kk,settings:()=>jk});const ce=window.wp.blocks;var se=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 40 40"},React.createElement("image",{id:"woolentor-logo",width:"40",height:"40",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"}));const ue=window.wp.i18n,de=window.wp.components;function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var pe;(0,ce.setCategories)([{slug:"woolentor-blocks",title:(0,ue.__)("ShopLentor","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-single-product",title:(0,ue.__)("ShopLentor Single Product","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-shop",title:(0,ue.__)("ShopLentor Shop","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-cart",title:(0,ue.__)("ShopLentor Cart","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-checkout",title:(0,ue.__)("ShopLentor Checkout","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-myaccount",title:(0,ue.__)("ShopLentor My Account","woolentor"),icon:React.createElement(de.Icon,{icon:se})}].concat(function(e){if(Array.isArray(e))return me(e)}(pe=(0,ce.getCategories)().filter((function(e){return"woolentor-blocks"!==e.slug})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(pe)||function(e,t){if(e){if("string"==typeof e)return me(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?me(e,t):void 0}}(pe)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var ge=function(e,t,o){return"function"==typeof t?t(e):e+o},fe=function(e){var t={desktop:[],tablet:[],mobile:[]},o=""!==(null==e?void 0:e.type)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";}"):"";return!e.width||void 0===e.width.desktop&&void 0===e.width.tablet&&void 0===e.width.mobile?o=""!==(null==e?void 0:e.type)&&void 0!==(null==e?void 0:e.width)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid","; border-width: ").concat(be(e.width),";}"):"":t=function(e,t){return e.desktop&&t.desktop.push(e.desktop),e.laptop&&t.laptop.push(e.laptop),e.tablet&&t.tablet.push(e.tablet),e.mobile&&t.mobile.push(e.mobile),t}(function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r={};return e&&e.desktop&&""!==ge(e.desktop,o,e.unit||"")&&(r.desktop=t.replace(new RegExp("{{key}}","g"),ge(e.desktop,o,e.unit||""))),e&&e.laptop&&""!==ge(e.laptop,o,e.unit||"")&&(r.laptop=t.replace(new RegExp("{{key}}","g"),ge(e.laptop,o,e.unit||""))),e&&e.tablet&&""!==ge(e.tablet,o,e.unit||"")&&(r.tablet=t.replace(new RegExp("{{key}}","g"),ge(e.tablet,o,e.unit||""))),e&&e.mobile&&""!==ge(e.mobile,o,e.unit||"")&&(r.mobile=t.replace(new RegExp("{{key}}","g"),ge(e.mobile,o,e.unit||""))),r}(e.width,"border-width:{{key}}",be),t),{desktop:t.desktop,tablet:t.tablet,mobile:t.mobile,simple:o}},be=function(e){var t=e.unit?e.unit:"px";return""!=e.top||""!=e.right||""!=e.bottom||""!=e.left?(e.top||0)+t+" "+(e.right||0)+t+" "+(e.bottom||0)+t+" "+(e.left||0)+t:""};function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}var Re=function(e,t,o){return e.replace(new RegExp(t,"g"),o)},_e=function(e){return"object"==ye(e)&&0!=Object.keys(e).length},we=function(e,t){return e.replace(new RegExp("{{WOOLENTOR_WRAPPER}}","g"),".woolentorblock-"+t)},he=function(e,t){var o="";return t.forEach((function(e){o+=e+";"})),e+"{"+o+"}"},Ee=function(e,t){var o="";return t.forEach((function(t){o+=e+t})),o},ve=function(e,t,o,r){if(r="object"!=ye(r)?r:Oe(r).data,"string"==typeof e){if(e){if(r){var n=we(e,t);return"boolean"==typeof r?[n]:-1==n.indexOf("{{")&&n.indexOf("{")<0?[n+r]:[Re(n,"{{"+o+"}}",r)]}return[]}return[we(r,t)]}var a=[];return e.forEach((function(e){a.push(Re(we(e,t),"{{"+o+"}}",r))})),a},Oe=function(e){return e.imageUrl||"background"===e.type?{data:(t=e,o="{",null!=t&&t.color&&(o+="background-color:"+t.color+";"),t.imageUrl&&(o+="background-image:url("+t.imageUrl+");"),t.position&&(o+="background-position:"+t.position+";"),t.attachment&&(o+="background-attachment:"+t.attachment+";"),t.repeat&&(o+="background-repeat:"+t.repeat+";"),t.size&&(o+="background-size:"+t.size+";"),"{}"!=(o+="}")?o:{}),action:"append"}:void 0!==e.type||void 0!==e.width||void 0!==e.color?{data:fe(e),action:"append"}:void 0!==e.top||void 0!==e.left||void 0!==e.right||void 0!==e.bottom?{data:be(e),action:"replace"}:{data:"",action:"append"};var t,o},Pe=function(e,t){var o=!0;return t.hasOwnProperty("dependency")&&t.dependency.forEach((function(t){var r=o;if("=="==(t=t[0]).condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]==t.value;else{var n=!1;t.value.forEach((function(o){e[t.key]==o&&(n=!0)})),o=!!n}else if("!="==t.condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]!=t.value;else{var a=!1;t.value.forEach((function(o){e[t.key]!=o&&(a=!0)})),a&&(o=!0)}o=0!=r&&o})),o};function Ce(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(o){var n="",a=[],l=[],i=[],c=[],s=[];return Object.keys(e).forEach((function(n){var u="string"==typeof t?wp.blocks.getBlockType(t).attributes:t;if(u[n]&&u[n].hasOwnProperty("style")){var d=u[n].style;if(d.hasOwnProperty("selector")){var m=d.selector;if(Pe(e,d))if("object"==ye(e[n])){var p=!1,g="";if(e[n].desktop&&(p=!0,g="object"==ye(e[n].desktop)?Oe(e[n].desktop).data:e[n].desktop+(e[n].unit||""),a=a.concat(ve(m,o,n,g))),e[n].laptop&&(p=!0,g="object"==ye(e[n].laptop)?Oe(e[n].laptop).data:e[n].laptop+(e[n].unit||""),l=l.concat(ve(m,o,n,g))),e[n].tablet&&(p=!0,g="object"==ye(e[n].tablet)?Oe(e[n].tablet).data:e[n].tablet+(e[n].unit||""),i=i.concat(ve(m,o,n,g))),e[n].mobile&&(p=!0,g="object"==ye(e[n].mobile)?Oe(e[n].mobile).data:e[n].mobile+(e[n].unit||""),c=c.concat(ve(m,o,n,g))),!p){var f=Oe(e[n]),b=we(m,o);"object"==ye(f.data)?0!=Object.keys(f.data).length&&(f.data.background&&s.push(b+f.data.background),_e(f.data.desktop)&&a.push(he(b,f.data.desktop)),_e(f.data.laptop)&&l.push(he(b,f.data.laptop)),_e(f.data.tablet)&&i.push(he(b,f.data.tablet)),_e(f.data.mobile)&&c.push(he(b,f.data.mobile)),f.data.simple&&s.push(b+f.data.simple),f.data.font&&a.unshift(f.data.font),f.data.shape&&(f.data.shape.forEach((function(e){s.push(b+e)})),_e(f.data.data.desktop)&&a.push(Ee(b,f.data.data.desktop)),_e(f.data.data.laptop)&&l.push(Ee(b,f.data.data.laptop)),_e(f.data.data.tablet)&&i.push(Ee(b,f.data.data.tablet)),_e(f.data.data.mobile)&&c.push(Ee(b,f.data.data.mobile)))):f.data&&-1==f.data.indexOf("{{")&&("append"==f.action?s.push(b+f.data):s.push(ve(m,o,n,f.data)))}}else"hideDesktop"==n?r&&(s=s.concat("@media (min-width: 1200px) {"+ve(m,o,n,e[n])+"}")):"hideLaptop"==n?r&&(s=s.concat("@media only screen and (max-width: 1199px) and (min-width: 991px) {"+ve(m,o,n,e[n])+"}")):"hideTablet"==n?r&&(s=s.concat("@media only screen and (max-width: 992px) and (min-width: 767px) {"+ve(m,o,n,e[n])+"}")):"hideMobile"==n?r&&(s=s.concat("@media (max-width: 768px) {"+ve(m,o,n,e[n])+"}")):e[n]&&(s=s.concat(ve(m,o,n,e[n])))}}})),a.length>0&&(n+=a.join("")),l.length>0&&(n+="@media (min-width: 992px) and (max-width: 1200px) {"+l.join("")+"}"),i.length>0&&(n+="@media (min-width: 768px) and (max-width: 991px) {"+i.join("")+"}"),c.length>0&&(n+="@media (max-width: 767px) {"+c.join("")+"}"),s.length>0&&(n+=s.join("")),r?n:void 0}}function Be(e,t,o){var r=Ce(e,t,o,!0);return wp.element.renderToString(r)?React.createElement("style",{type:"text/css"},r):null}var Ae="";function We(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t&&(Ae="",t=!1),e.map((function(e){var t=e.attributes,o=e.name;"woolentor"===o.split("/")[0]&&t.blockUniqId&&(Ae+=Ce(t,o,t.blockUniqId,!0)),e.innerBlocks&&e.innerBlocks.length>0&&We(e.innerBlocks)})),Ae}function Se(e){e.forEach((function(e){var t;-1!=e.name.indexOf("core/block")&&(t=e.attributes.ref,wp.apiFetch({path:"/woolentor/v1/get_post",method:"POST",data:{post_id:t}}).then((function(e){if(e.success){var t=We(wp.blocks.parse(e.data),!0);t.css&&wp.apiFetch({path:"/woolentor/v1/appened_css",method:"POST",data:{inner_css:t.css,post_id:select("core/block-editor").getCurrentPostId()}}).then((function(e){e.success}))}}))),e.innerBlocks&&e.innerBlocks.length>0&&Se(e.innerBlocks)}))}function ke(){var e=wp.data.select("core/block-editor"),t=wp.data.select("core/editor"),o=wp.data.select("core/edit-site"),r=e.getBlocks(),n=t.getCurrentPostId,a=function(e){var t=!1;return function e(o){o.forEach((function(o){-1!=o.name.indexOf("woolentor/")&&(t=!0),o.innerBlocks&&o.innerBlocks.length>0&&e(o.innerBlocks)}))}(e),t}(r),l=null===n()?o.getPage().context.templateSlug:n(),i=We(r,!0);Se(r),function(e,t,o){return wp.apiFetch({path:"/woolentor/v1/save_css",method:"POST",data:{block_css:t,post_id:e,has_block:o}}).then((function(e){return e}))}(l,i,a).then((function(e){}))}var Te=React.createElement("svg",{width:"700",height:"700",version:"1.1",viewBox:"0 0 700 700",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},React.createElement("g",null,React.createElement("path",{d:"m402.78 250.9c-17.734-17.734-41.406-27.574-66.605-27.574s-48.871 9.7578-66.605 27.574c-17.734 17.816-27.574 41.406-27.574 66.605 0 25.199 9.7578 48.871 27.574 66.605 17.734 17.734 41.406 27.574 66.605 27.574s48.871-9.7578 66.605-27.574c36.652-36.738 36.652-96.473 0-133.21zm-8.9961 124.21c-15.359 15.359-35.805 23.844-57.613 23.844-21.805 0-42.254-8.4844-57.613-23.844-15.359-15.359-23.844-35.805-23.844-57.613 0-21.805 8.4844-42.254 23.844-57.613 15.359-15.359 35.805-23.844 57.613-23.844 21.805 0 42.254 8.4844 57.613 23.844 31.734 31.738 31.734 83.41 0 115.23z"}),React.createElement("path",{d:"m558.22 492.12-78.398-78.398c-7.2969-7.2969-17.395-10.777-27.574-9.5859l-11.285-11.285c36.316-50.484 31.902-121.33-13.406-166.73-50.398-50.398-132.36-50.398-182.76 0-50.398 50.398-50.398 132.36 0 182.76 25.199 25.199 58.289 37.758 91.383 37.758 26.473 0 52.945-8.2305 75.344-24.352l11.285 11.285c-1.1875 10.184 2.2891 20.277 9.5859 27.492l78.398 78.484c6.5352 6.5352 15.102 9.8438 23.758 9.8438 8.5703 0 17.223-3.3086 23.758-9.8438 6.3633-6.3633 9.8438-14.762 9.8438-23.758-0.085938-8.9102-3.6523-17.398-9.9297-23.676zm-304.52-92.23c-45.395-45.395-45.395-119.38 0-164.78 22.738-22.738 52.52-34.109 82.387-34.109 29.867 0 59.648 11.371 82.387 34.109 45.395 45.395 45.395 119.38 0 164.78-45.391 45.395-119.29 45.395-164.77 0zm295.53 130.67c-8.1445 8.1445-21.383 8.1445-29.441 0l-78.398-78.398c-5.0078-5.0078-7.1289-12.305-5.5156-19.344 0.50781-2.1211-0.16797-4.3281-1.6953-5.8555l-12.473-12.473c0.085937-0.085937 0.16797-0.25391 0.25391-0.42578 1.8672-1.6953 3.9023-3.3086 5.6836-5.1758 1.8672-1.8672 3.4805-3.8164 5.1758-5.7695 0.085938-0.085938 0.25391-0.085938 0.33984-0.16797l12.473 12.473c1.5273 1.5273 3.7344 2.207 5.8555 1.6953 7.043-1.6133 14.254 0.50781 19.344 5.5156l78.398 78.484c3.9023 3.9023 6.1094 9.1641 6.1094 14.762 0 5.5156-2.2031 10.777-6.1094 14.68z"}),React.createElement("path",{d:"m373.08 280.51c-2.4609-2.4609-6.5352-2.4609-8.9922 0l-27.914 27.914-27.914-27.914c-2.4609-2.4609-6.5352-2.4609-8.9922 0-2.4609 2.4609-2.4609 6.5352 0 8.9922l27.914 28-27.914 27.914c-2.4609 2.4609-2.4609 6.5352 0 8.9922 1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672l27.914-27.914 27.914 27.914c1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672 2.4609-2.4609 2.4609-6.5352 0-8.9922l-27.914-27.914 27.914-28c2.4609-2.457 2.4609-6.4453 0-8.9922z"}),React.createElement("path",{d:"m272.96 61.09h160.79c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4766-2.8867-6.3633-6.3633-6.3633h-160.79c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633z"}),React.createElement("path",{d:"m433.83 82.047h-160.96c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h160.96c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003906-3.4766-2.8828-6.3633-6.3594-6.3633z"}),React.createElement("path",{d:"m433.83 116.07h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m433.83 150.01h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633s-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m454.02 503.49h-275.5v-21.043h241.73c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633h-275.59v-359.59h80.438c3.4805 0 6.3633-2.8867 6.3633-6.3633l-0.003906-80.438h243.68v368.24c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633l0.003906-334.47h21.043v365.1c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633v-371.46c0-3.4805-2.8867-6.3633-6.3633-6.3633h-27.406v-27.406c0-3.4805-2.8867-6.3633-6.3633-6.3633h-256.33c-1.6953 0-3.3086 0.67969-4.4961 1.8672l-86.887 86.801c-1.1875 1.1875-1.8672 2.8008-1.8672 4.4961v372.23c0 3.4805 2.8867 6.3633 6.3633 6.3633h27.406v27.406c0 3.4805 2.8867 6.3633 6.3633 6.3633h281.87c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003907-3.4805-2.7969-6.2773-6.2773-6.2773zm-300.36-406.09 65.078-65.078v65.078z"}))),xe=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 5q-.425 0-.713-.288Q4 4.425 4 4t.287-.713Q4.575 3 5 3h14q.425 0 .712.287Q20 3.575 20 4t-.288.712Q19.425 5 19 5Zm7 16q-.425 0-.712-.288Q11 20.425 11 20v-9.2l-1.925 1.925Q8.8 13 8.4 13t-.7-.3q-.275-.275-.275-.7q0-.425.275-.7l3.6-3.6q.15-.15.325-.212q.175-.063.375-.063t.375.063q.175.062.325.212l3.625 3.625q.275.275.275.675t-.3.7q-.275.275-.7.275q-.425 0-.7-.275L13 10.8V20q0 .425-.287.712Q12.425 21 12 21Z"})),Le=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})),Ne=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"}))),ze=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})));function je(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return void 0!==e&&""!=e?"".concat(t,": ").concat(e).concat(o,";"):""}function Ie(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e||{},n="";if(""!=r.top||""!=r.right||""!=r.bottom||""!=r.left){var a=r.unit?r.unit:"px";n=(r.top||0)+a+" "+(r.right||0)+a+" "+(r.bottom||0)+a+" "+(r.left||0)+a}var l=je(n,t,o);return""!=l?l:""}function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e||{},r="";return o.imageUrl&&(r+=je("url("+o.imageUrl+")","background-image",t)),o.position&&(r+=je(o.position,"background-position",t)),o.attachment&&(r+=je(o.attachment,"background-attachment",t)),o.repeat&&(r+=je(o.repeat,"background-repeat",t)),o.size&&(r+=je(o.size,"background-size",t)),r}function Fe(e){if(void 0!==e&&void 0!==(null==e?void 0:e.type)&&""!=(null==e?void 0:e.type)){var t=fe(e),o="";return o="border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";"),null!=t&&t.desktop?o+=t.desktop:o=null==t?void 0:t.simple.replace(/[{}]/g,""),o}return""}const He=window.lodash,De=window.wp.element,qe=window.wp.apiFetch;var Ge=o.n(qe);const Ke=window.wp.data;function Ue(e){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(e)}function Qe(){Qe=function(){return t};var e,t={},o=Object.prototype,r=o.hasOwnProperty,n=Object.defineProperty||function(e,t,o){e[t]=o.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,o){return e[t]=o}}function u(e,t,o,r){var a=t&&t.prototype instanceof y?t:y,l=Object.create(a.prototype),i=new S(r||[]);return n(l,"_invoke",{value:C(e,o,i)}),l}function d(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var m="suspendedStart",p="suspendedYield",g="executing",f="completed",b={};function y(){}function R(){}function _(){}var w={};s(w,l,(function(){return this}));var h=Object.getPrototypeOf,E=h&&h(h(k([])));E&&E!==o&&r.call(E,l)&&(w=E);var v=_.prototype=y.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function o(n,a,l,i){var c=d(e[n],e,a);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==Ue(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,l,i)}),(function(e){o("throw",e,l,i)})):t.resolve(u).then((function(e){s.value=e,l(s)}),(function(e){return o("throw",e,l,i)}))}i(c.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function C(t,o,r){var n=m;return function(a,l){if(n===g)throw new Error("Generator is already running");if(n===f){if("throw"===a)throw l;return{value:e,done:!0}}for(r.method=a,r.arg=l;;){var i=r.delegate;if(i){var c=B(i,r);if(c){if(c===b)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===m)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=g;var s=d(t,o,r);if("normal"===s.type){if(n=r.done?f:p,s.arg===b)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=f,r.method="throw",r.arg=s.arg)}}}function B(t,o){var r=o.method,n=t.iterator[r];if(n===e)return o.delegate=null,"throw"===r&&t.iterator.return&&(o.method="return",o.arg=e,B(t,o),"throw"===o.method)||"return"!==r&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var a=d(n,t.iterator,o.arg);if("throw"===a.type)return o.method="throw",o.arg=a.arg,o.delegate=null,b;var l=a.arg;return l?l.done?(o[t.resultName]=l.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=e),o.delegate=null,b):l:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,b)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function W(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function k(t){if(t||""===t){var o=t[l];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function o(){for(;++n<t.length;)if(r.call(t,n))return o.value=t[n],o.done=!1,o;return o.value=e,o.done=!0,o};return a.next=a}}throw new TypeError(Ue(t)+" is not iterable")}return R.prototype=_,n(v,"constructor",{value:_,configurable:!0}),n(_,"constructor",{value:R,configurable:!0}),R.displayName=s(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===R||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,s(e,c,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},O(P.prototype),s(P.prototype,i,(function(){return this})),t.AsyncIterator=P,t.async=function(e,o,r,n,a){void 0===a&&(a=Promise);var l=new P(u(e,o,r,n),a);return t.isGeneratorFunction(o)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},O(v),s(v,c,"Generator"),s(v,l,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),o=[];for(var r in t)o.push(r);return o.reverse(),function e(){for(;o.length;){var r=o.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=k,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(W),!t)for(var o in this)"t"===o.charAt(0)&&r.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function n(r,n){return i.type="throw",i.arg=t,o.next=r,n&&(o.method="next",o.arg=e),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var l=this.tryEntries[a],i=l.completion;if("root"===l.tryLoc)return n("end");if(l.tryLoc<=this.prev){var c=r.call(l,"catchLoc"),s=r.call(l,"finallyLoc");if(c&&s){if(this.prev<l.catchLoc)return n(l.catchLoc,!0);if(this.prev<l.finallyLoc)return n(l.finallyLoc)}else if(c){if(this.prev<l.catchLoc)return n(l.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return n(l.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var l=a?a.completion:{};return l.type=e,l.arg=t,a?(this.method="next",this.next=a.finallyLoc,b):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),W(o),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var r=o.completion;if("throw"===r.type){var n=r.arg;W(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,r){return this.delegate={iterator:k(t),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}function Ve(e,t,o,r,n,a,l){try{var i=e[a](l),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(r,n)}function Ye(e){return function(){var t=this,o=arguments;return new Promise((function(r,n){var a=e.apply(t,o);function l(e){Ve(a,r,n,l,i,"next",e)}function i(e){Ve(a,r,n,l,i,"throw",e)}l(void 0)}))}}function Ze(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Je(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Ue(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ue(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ue(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ze(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $e(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?$e(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var et=[{name:"all",title:(0,ue.__)("All","woolentor")},{name:"free",title:(0,ue.__)("Free","woolentor")},{name:"pro",title:(0,ue.__)("Pro","woolentor")}],tt=["cart","checkout-page","empty-cart","lost-password","my-account","product-details","shop","thank-you","popup-builder"],ot=function(e){var t=Xe((0,De.useState)(woolentorData.templatelist.templates),2),o=t[0],r=t[1],n=Xe((0,De.useState)([]),2),a=n[0],l=n[1],i=Xe((0,De.useState)(""),2),c=i[0],s=i[1],u=Xe((0,De.useState)("all"),2),d=u[0],m=u[1],p=Xe((0,De.useState)(woolentorData.templateType||"all"),2),g=p[0],f=p[1];(0,De.useEffect)((function(){var e=woolentorData.templatelist.templates;e=""!==woolentorData.templateType?e.filter((function(e){var t=e.type;if(t===woolentorData.templateType||"page"===t)return!0})):e.filter((function(e){return"page"===e.type})),"all"!==g&&(e=e.filter((function(e){var t=e.shareId,o=e.type,r=t.toLowerCase().replace(/\s+/,"-").trim(),n=""!==woolentorData.templateType?o:r;return("page"===n?r:n)===g}))),"all"!==d&&(e=e.filter((function(e){return e.tmpType===d}))),1==woolentorData.prostatus&&(e=e.map((function(e){return Je(Je({},e),{},{isPro:0})}))),r(e)}),[g,d]),(0,De.useEffect)((function(){var e=o.reduce((function(e,t){var o=t.shareId,r=(t.tags,o.toLowerCase().replace(/\s+/,"-").trim());return void 0===e.shareId[r]?e.shareId[r]={id:r,label:o,count:1}:e.shareId[r].count=e.shareId[r].count+1,e}),{shareId:{},tags:{}}),t=(0,He.sortBy)(Object.values(e.shareId),"label");t.unshift({id:"all",label:(0,ue.__)("All","woolentor"),count:0}),t=t.filter((function(e){return!function(e,t){for(var o=t.length,r=0;r<o;r++)if(t[r]==e)return!0;return!1}(e.id,tt)})),""!==woolentorData.templateType&&t.splice(1,0,{id:woolentorData.templateType,label:(0,ue.__)(woolentorData.templateType,"woolentor"),count:0}),l(t)}),[]);var b=function(){var e=Ye(Qe().mark((function e(){var t,o,r,n=arguments;return Qe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.length>0&&void 0!==n[0]?n[0]:"",o=null){e.next=9;break}return e.next=5,Ge()({path:"/woolentor/v1/importtemplate",method:"POST",data:{template_id:t}});case 5:return r=e.sent,e.next=8,r;case 8:o=e.sent;case 9:return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=(0,De.useCallback)((function(e){(0,Ke.dispatch)("core/block-editor").insertBlocks(e).then((function(){s("")}))}),[]),R=function(){var e=Ye(Qe().mark((function e(t){var o;return Qe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),e.next=3,b(t);case 3:o=e.sent,y((0,ce.parse)(o.content));case 5:case"end":return e.stop()}}),e)})));return function(_x){return e.apply(this,arguments)}}();return React.createElement(de.Modal,{title:React.createElement(React.Fragment,null,React.createElement("div",{className:"woolentor-library-logo"},React.createElement(de.Icon,{icon:se}),(0,ue.__)("Template Library","woolentor")),React.createElement("ul",{className:"free-pro-filter-menu"},et.map((function(e){return React.createElement("li",{key:e.name,className:e.name===d?"woolentor-menu-active":"",onClick:function(){m(e.name)},"data-filter":e.name},e.title)})))),onRequestClose:e.onClose,className:"woolentor-modal-design-library"},React.createElement("div",{className:"woolentor-template-library-area"},React.createElement("div",{className:"woolentor-template-library"},React.createElement("div",{className:"woolentor-template-library-sidebar"},React.createElement("ul",{className:"woolentor-template-filter-menu"},null==a?void 0:a.map((function(e){return React.createElement("li",{key:e.id,className:e.id===g?"woolentor-menu-active":"",onClick:function(){f(e.id)}},e.label)})))),React.createElement("div",{className:"woolentor-template-list"},React.createElement("div",{className:"woolentor-templates-library-wrapper"},null==o?void 0:o.map((function(e){return React.createElement("div",{key:e.id,className:"woolentor-templates-library-single-template ".concat(""!==c?"woolentor-not-clickable":"")},React.createElement("div",{className:"woolentor-template-image"},1===e.isPro&&React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-template-pro-badge"},(0,ue.__)("Pro","woolentor")),React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement("span",{className:"dashicon dashicons dashicons-lock"}))),c===e.id&&React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement(de.Spinner,null)),!1!==e.thumbnail?React.createElement("div",{className:"template-image-wrapper",style:{backgroundImage:"url(".concat(e.thumbnail,")")}}):React.createElement("div",{className:"template-image-wrapper template-no-image",style:{backgroundImage:"url('data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%20282.69%20228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20fill%3D%22%23A5A5A5%22%20cx%3D%22115.3%22%20cy%3D%2235.75%22%20r%3D%2235.75%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M188.7%2C228h-81.34c-10.27%2C0-16.24-11.86-10.28-20.41l38.69-55.48l42.65-61.2%20c5.03-7.22%2C15.53-7.22%2C20.56%2C0l42.64%2C61.17l38.7%2C55.51c5.96%2C8.55-0.02%2C20.4-10.28%2C20.4H188.7z%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M2.48%2C206.79l55.44-78.81c4.27-6.07%2C12.64-7.54%2C18.72-3.29l112.83%2C78.81%20c10.8%2C7.54%2C5.46%2C24.51-7.71%2C24.51l-168.27%2C0C2.58%2C228-3.8%2C215.71%2C2.48%2C206.79z%22%2F%3E%3C%2Fsvg%3E')"}})),React.createElement("div",{className:"woolentor-template-info"},React.createElement("h4",{className:"woolentor-template-title"},e.title),React.createElement("div",{className:"woolentor-template-action-button"},React.createElement("a",{href:e.url,target:"_blank",className:"woolentor-template-button"},(0,ue.__)("preview","woolentor")),1===e.isPro?React.createElement("a",{href:woolentorData.prolink,target:"_blank",className:"woolentor-template-button"},(0,ue.__)("Buy Now","woolentor")):React.createElement("span",{className:"woolentor-template-button",onClick:function(){R(e.id)}},(0,ue.__)("import","woolentor")))))})),(null==o?void 0:o.length)<=0&&React.createElement("div",{className:"woolentor-template-not-found"},React.createElement(de.Icon,{icon:Te,width:"200",height:"100"}),React.createElement("span",{className:"woolentor-not-found-text"},(0,ue.__)("No templates were found for the combination you have selected.","woolentor"))))))))};function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}ot.defaultProps={onClose:function(){}};const nt=function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?rt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),t=e[0],o=e[1];return React.createElement(React.Fragment,null,React.createElement(de.Button,{onClick:function(){o(!0)},className:"woolentor-library-button",label:(0,ue.__)("Template Library","woolentor"),icon:se},(0,ue.__)("Template Library","woolentor")),t&&React.createElement(ot,{onClose:function(){o(!1)}}))},at=window.wp.domReady;var lt,it=o.n(at);(null===(lt=woolentorData)||void 0===lt||null===(lt=lt.templatelist)||void 0===lt||null===(lt=lt.templates)||void 0===lt?void 0:lt.length)>0&&it()((function(){var e=null,t=(0,Ke.subscribe)((function(){var o=document.querySelector(".edit-post-header-toolbar");if(o){var r=document.createElement("div");r.classList.add("woolentor-library-button__wrapper"),o.querySelector(".woolentor-library-button__wrapper")||((0,De.render)(React.createElement(nt,null),r),o.appendChild(r)),e&&clearTimeout(e),e=setTimeout((function(){document.querySelector(".woolentor-library-button__wrapper")&&t()}),0)}}))}));const ct=window.wp.plugins,st=window.wp.editPost,ut=window.wp.coreData;function dt(e){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dt(e)}function mt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function pt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=dt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function ft(e){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ft(e)}function bt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function yt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=ft(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ft(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ft(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}"woolentor-template"===window.pagenow&&(0,ct.registerPlugin)("woolentor-metabox",{render:function(){var e=(0,Ke.useSelect)((function(e){return e("core/editor").getCurrentPostType()}),[]),t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?gt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,ut.useEntityProp)("postType",e,"meta"),2),o=t[0],r=t[1],n=o._woolentor_container_width;return React.createElement(st.PluginDocumentSettingPanel,{name:"woolentor-meta-box",title:(0,ue.__)("Container Width","woolentor"),icon:se,initialOpen:"false"},React.createElement(de.TextControl,{value:n,onChange:function(e){r(pt(pt({},o),{},{_woolentor_container_width:e}))}}))},icon:null});var Rt=function(){var e=(0,Ke.useSelect)((function(e){return{blockTabName:e("woolentor/block-tabs").getBlockTabName(),blockSectionbName:e("woolentor/block-tabs").getBlockSectionName()}}),[]);return{tabName:e.blockTabName||"",section:e.blockSectionbName||""}},_t={tabname:"",section:""};(0,Ke.register)((0,Ke.createReduxStore)("woolentor/block-tabs",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_t,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_BLOCK_TAB_NAME":return yt(yt({},e),{},{tabname:t.tabName});case"SET_BLOCK_SECTION_NAME":return yt(yt({},e),{},{section:t.section})}return e},actions:{setBlockTabName:function(e){return{type:"SET_BLOCK_TAB_NAME",tabName:e}},setBlockSectionName:function(e){return{type:"SET_BLOCK_SECTION_NAME",section:e}}},selectors:{getBlockTabName:function(e){return e.tabname},getBlockSectionName:function(e){return e.section}}}));const wt=window.wp.blockEditor;var ht=[{name:"general",title:(0,ue.__)("General","woolentor"),className:"woolentor-tab-menu-item general"},{name:"styles",title:(0,ue.__)("Styles","woolentor"),className:"woolentor-tab-menu-item styles"},{name:"advanced",title:(0,ue.__)("Advanced","woolentor"),className:"woolentor-tab-menu-item advanced"}],Et=(0,de.createSlotFill)("WoolentorGeneralInspectorTab"),vt=Et.Slot,Ot=Et.Fill,Pt=(0,de.createSlotFill)("WoolentorStyleInspectorTab"),Ct=Pt.Slot,Bt=Pt.Fill,At=(0,de.createSlotFill)("WoolentorAdvancedInspectorTab"),Wt=At.Slot,St=At.Fill,kt=function(e){var t=e.children;return(0,wt.useBlockEditContext)().isSelected?React.createElement(Ot,null,t):null},Tt=function(e){var t=e.children;return(0,wt.useBlockEditContext)().isSelected?React.createElement(Bt,null,t):null},xt=function(e){var t=e.children;return(0,wt.useBlockEditContext)().isSelected?React.createElement(St,null,t):null},Lt=function(e){var t=(0,wt.useBlockEditContext)().clientId,o=Rt(),r=ht.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})),n=o.tabName.includes(t)?o.tabName.replace(t,""):"";return React.createElement(wt.InspectorControls,null,React.createElement("div",{className:"woolentor-panel-control"},React.createElement(de.TabPanel,{className:"woolentor-tabs-menu",activeClass:"woolentor-tab-menu-active is-primary",onSelect:function(e){var o=(t+e).toLowerCase();(0,Ke.dispatch)("woolentor/block-tabs").setBlockTabName(o)},initialTabName:n,tabs:r},(function(e){return React.createElement("div",{className:"woolentor-tab-controls ".concat(e.name)},"general"===e.name&&React.createElement(vt,null),"styles"===e.name&&React.createElement(Ct,null),"advanced"===e.name&&React.createElement(Wt,null))}))))};Lt.defaultProps={tabs:["general","styles","advanced"]};const Nt=(0,De.memo)(Lt);function zt(e){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zt(e)}function jt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function It(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=zt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Ft=[{name:"normal",title:(0,ue.__)("Normal","woolentor")},{name:"hover",title:(0,ue.__)("Hover","woolentor")},{name:"active",title:(0,ue.__)("Active","woolentor")},{name:"focus",title:(0,ue.__)("Focus","woolentor")}],Ht=function(e){var t=void 0===e.name?"":e.name,o=(t+e.defaultActive).toLowerCase(),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Mt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(o),2),n=r[0],a=r[1],l=!1===e.overide?Ft.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})):e.tabs,i=De.Children.map(e.children,(function(e){if(!(0,De.isValidElement)(e))return e;var o=It({},e.props),r=e.props.originalType||e.type,a=r.displayName||r.name,l=(t+e.props.name).toLowerCase();return"TabsContent"===a&&n===l?(0,De.cloneElement)(e,It(It({},o),{},{children:e.props.children})):void 0}));return React.createElement("div",{className:"woolentor-tabs-menu-group"},React.createElement(de.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},l.map((function(e,o){return React.createElement(de.Button,{key:o,className:n===(t+e.name).toLowerCase()?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",variant:n===(t+e.name).toLowerCase()?"primary":"secondary",onClick:function(){return o=e.name,r=(t+o).toLowerCase(),void a(r);var o,r}},e.title)}))),i)};Ht.defaultProps={name:void 0,tabs:["normal","hover"],defaultActive:"normal",overide:!1};const Dt=(0,De.memo)(Ht);var qt=o(942),Gt=o.n(qt),Kt=function(e){var t=Gt()(["woolentor-control","woolentor-tabs-content",e.className]);return React.createElement("div",{className:t},e.children)};Kt.defaultProps={className:""},Kt.displayName="TabsContent";const Ut=Kt;var Qt=function(e){var t=e.title,o=e.initialOpen,r=(0,wt.useBlockEditContext)().clientId,n=Rt(),a=(r+n.tabName+t).toLowerCase(),l=e.panelName?e.panelName:a,i=!!o||l===n.section;return React.createElement(de.PanelBody,{title:t,onToggle:function(){return e=l,void(0,Ke.dispatch)("woolentor/block-tabs").setBlockSectionName(e);var e},initialOpen:i},e.children)};Qt.defaultProps={title:"",panelName:!1,initialOpen:!1};const Vt=(0,De.memo)(Qt);var Yt=function(){return(0,Ke.useSelect)((function(e){return{deviceType:e("core/edit-post")?e("core/edit-post").__experimentalGetPreviewDeviceType():e("woolentor/device-type").getDeviceType()}}),[]).deviceType||""};function Zt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Jt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,Ke.register)((0,Ke.createReduxStore)("woolentor/device-type",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"SET_DEVICE_TYPE"===t.type?t.deviceType:e},actions:{setDeviceType:function(e){return{type:"SET_DEVICE_TYPE",deviceType:e}}},selectors:{getDeviceType:function(e){return e}}}));var Xt={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},$t=[{label:(0,ue.__)("Desktop","woolentor"),value:"desktop",icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"desktop"}))},{label:(0,ue.__)("Tablet","woolentor"),value:"tablet",icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"tablet"}))},{label:(0,ue.__)("Mobile","woolentor"),value:"mobile",icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"smartphone"}))}],eo=function(e){var t=Yt(),o=t.toLowerCase(),r="all"===e.responsive?$t:$t.filter((function(t){var o,r=t.value;return null===(o=e.screens)||void 0===o?void 0:o.includes(r)})),n=Zt((0,De.useState)(!1),2),a=n[0],l=n[1],i=Zt((0,De.useState)(!1),2),c=i[0],s=i[1],u=(0,De.useRef)(null),d=(0,De.useMemo)((function(){return r.findIndex((function(e){return e.value===o}))/r.length*100}),[r,o]);if(r<=1)return null;if(!t)return null;var m=(0,De.useCallback)((function(e){var t;a&&(null===(t=e.target)||void 0===t?void 0:t.closest(".woolentor-responsive-switcher-button-area"))!==u.current&&l(!1)}));return(0,De.useEffect)((function(){return document.body.addEventListener("click",m),function(){return document.body.removeEventListener("click",m)}}),[m]),React.createElement("div",{className:"woolentor-responsive-switcher-button-area ".concat(1==a?"open-switcher":""),ref:u},React.createElement("div",{className:"woolentor-responsive-switcher-button",style:{transform:"translateY(-".concat(d,"%)")}},r.length>1&&r.map((function(e,t){var r=e.label||e.value,n=r||"";return React.createElement("div",{key:t,onMouseEnter:function(){s(e.value)},onMouseLeave:function(){s(!1)}},React.createElement(de.Button,{className:o===e.value?"device-selected":"",variant:"desktop"!==o&&(o!==e.value?"secondary":"primary"),onClick:function(){l(!a),function(e){(0,Ke.dispatch)("core/edit-post")?(0,Ke.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType(Xt[e]):(0,Ke.dispatch)("woolentor/device-type").setDeviceType(Xt[e])}(e.value)},icon:e.icon,showTooltip:!1,label:r},e.icon?void 0:r),n&&c===e.value&&React.createElement(de.Popover,{focusOnMount:!1,position:"middle right",className:"components-tooltip","aria-hidden":"true"},n))}))))};eo.defaultProps={screens:["desktop"],responsive:!1};const to=(0,De.memo)(eo);function oo(e){return oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oo(e)}function ro(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function no(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ro(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=oo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=oo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oo(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ro(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ao=["desktop","tablet","mobile"],lo=function(e){var t,o=Gt()(["woolentor-control","woolentor-field-section",e.className]),r=e.label?e.label:"",n=!(null===(t=e.responsive)||void 0===t||!t.length),a="all"===e.responsive?ao:e.responsive,l=De.Children.map(e.children,(function(e){if(!(0,De.isValidElement)(e))return e;var t=no({},e.props);return(0,De.cloneElement)(e,no(no({},t),{},{children:e.props.children,colors:[{name:"red",color:"#f00"}]}))}));return React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-field-label"},r&&React.createElement("label",null,r),n&&React.createElement(to,{screens:a})),React.createElement("div",{className:"woolentor-field-wrap"},l))};lo.defaultProps={className:"",label:"",responsive:!1};const io=lo;function co(){return co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},co.apply(this,arguments)}var so=(0,De.forwardRef)((function(e,t){var o=Gt()([e.className,"woolentor-button-component"]);return React.createElement(de.Button,co({},e,{className:o,ref:t}))})),uo=React.createElement(de.Dashicon,{icon:"image-rotate"}),mo=(0,De.memo)((function(e){var t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,o=(0,De.useCallback)((function(){e.onChange(void 0===e.default?"":e.default)}),[e.onChange,e.default]);return e.allowReset&&t&&React.createElement(so,{className:"woolentor-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,ue.__)("Reset","woolentor"),onClick:o,icon:uo})}));mo.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};var po=function(e){var t=e.label,o=e.layout,r=e.styles,n={};return"one"!==o&&(n.padding=0),React.createElement("div",{className:"woolentor-control-section-title-area",style:r},React.createElement("span",{className:"woolentor-control-section-title",style:n},t),"one"===o&&React.createElement("hr",null))};po.defaultProps={label:"",layout:"one",styles:{}};const go=po;function fo(e){return fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fo(e)}function bo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function yo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bo(Object(o),!0).forEach((function(t){Ro(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ro(e,t,o){return r=function(e,t){if("object"!=fo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=fo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==fo(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var _o=function(e){var t=Yt().toLowerCase(),o=e.setAttributes,r=e.lavel,n=e.dimensions,a=e.attributesKey,l=function(r,l){var i,c,s,u,d,m,p=yo({},n),g=e.responsive?(null===(i=p[t])||void 0===i?void 0:i.link)||"yes":(null==p?void 0:p.link)||"yes",f=e.responsive?(null===(c=p[t])||void 0===c?void 0:c.unit)||"px":(null==p?void 0:p.unit)||"px";e.responsive?p[t]="yes"===g?{top:r,right:r,bottom:r,left:r,link:"yes",unit:f}:Ro({top:(null===(s=p[t])||void 0===s?void 0:s.top)||"0",right:(null===(u=p[t])||void 0===u?void 0:u.right)||"0",bottom:(null===(d=p[t])||void 0===d?void 0:d.bottom)||"0",left:(null===(m=p[t])||void 0===m?void 0:m.left)||"0",link:"no",unit:f},l,r):"yes"===g?(p.top=r,p.right=r,p.bottom=r,p.left=r,p.link="yes"):(p.top=(null==p?void 0:p.top)||"0",p.right=(null==p?void 0:p.right)||"0",p.bottom=(null==p?void 0:p.bottom)||"0",p.left=(null==p?void 0:p.left)||"0",p.link="no",p[l]=r),o(Ro({},a,p))},i=function(r){var l=yo({},n),i=r.target.getAttribute("data-value");e.responsive?l.hasOwnProperty(t)?l[t].unit=i:l[t]={unit:i}:l.unit=i,o(Ro({},a,l))},c=n.hasOwnProperty(t)?n[t].top:n.top?n.top:"",s=n.hasOwnProperty(t)?n[t].right:n.right?n.right:"",u=n.hasOwnProperty(t)?n[t].bottom:n.bottom?n.bottom:"",d=n.hasOwnProperty(t)?n[t].left:n.left?n.left:"",m=n.hasOwnProperty(t)?n[t].unit:n.unit?n.unit:"px",p=n.hasOwnProperty(t)?n[t].link:n.link?n.link:"yes";return React.createElement(De.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(de.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},r),e.responsive&&React.createElement(to,{responsive:"all"}),React.createElement("div",{className:"woolentor-units-choices"},React.createElement("span",{className:"px"===m?"unit-active":"","data-value":"px",onClick:i},(0,ue.__)("PX","woolentor")),React.createElement("span",{className:"%"===m?"unit-active":"","data-value":"%",onClick:i},(0,ue.__)("%","woolentor")),React.createElement("span",{className:"em"===m?"unit-active":"","data-value":"em",onClick:i},(0,ue.__)("EM","woolentor")))),React.createElement(de.PanelRow,null,React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"top")},shiftStep:10,value:c,labelPosition:"bottom"}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"right")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"bottom")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"left")},shiftStep:10,value:d,labelPosition:"bottom"}),React.createElement(de.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===p,isSecondary:"yes"!==p,onClick:function(){var r=yo({},n);e.responsive?r.hasOwnProperty(t)?r[t].link="yes"===r[t].link?"no":"yes":r[t]={link:"no"}:r.link="yes"===r.link?"no":"yes",o(Ro({},a,r))},title:(0,ue.__)("Link values together","woolentor"),showTooltip:!0}))))};_o.defaultProps={dimensions:{top:"",right:"",bottom:"",left:"",unit:"px",link:"yes"}};const wo=_o;function ho(e){return ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ho(e)}function Eo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function vo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(o),!0).forEach((function(t){Oo(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Eo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Oo(e,t,o){return r=function(e,t){if("object"!=ho(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==ho(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var Po=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=(0,wt.useBlockEditContext)().clientId,a=(0,Ke.useDispatch)("core/block-editor").updateBlockAttributes,l=function(e){return(0,Ke.useSelect)((function(t){return t("core/block-editor").getBlockAttributes(e)||{}}),[e])}(n),i=e,c=l?l[i]:"",s=l?l[i]:"";null!==t&&vo({},l[i]).hasOwnProperty(t)&&(c=l?l[i][t]:"",s=l?l[i][t]:""),o&&(s=o(s));var u=(0,De.useCallback)((function(e){var o=r?r(e,c):null!==t?function(e,t,o){var r=vo({},t);return r[o]=e,r}(e,l[i],t):e;a(n,Oo({},i,o))}),[n,i,l,r,c,a]);return[s,u]};function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Co.apply(this,arguments)}function Bo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Ao=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,null,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement("div",{className:Gt()("woolentor-promoted-token-field woolentor-field-section",e.className)},React.createElement(de.FormTokenField,Co({},e,{value:n,onChange:a})),React.createElement(mo,{allowReset:e.allowReset,value:n,default:e.default,onChange:a}))};Ao.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const Wo=Ao,So=window.wp.compose;function ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var To=function(e){var t=e.type,o=e.taxonomy,r=e.label,n=e.onChangeTaxonomy,a=e.taxnomiesList,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ko(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ko(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)([]),2),i=l[0],c=l[1];(0,De.useEffect)((function(){var e=[];a&&a.forEach((function(t,o){e.push({label:t.name,name:t.name,slug:t.slug,value:t.id})})),c(e)}),[a]);var s=i.map((function(e){return e.name})),u=""!==o?o.split(",").map((function(e){return((0,He.find)(i,(function(t){return t.value===parseInt(e)}))||{}).name})):void 0;return React.createElement("div",{className:"woolentor-component-taxonomy-area"},i.length>0?"single"==t?React.createElement(de.SelectControl,{label:r,value:o,options:i,onChange:function(e){return n(e)}}):React.createElement(Wo,{suggestions:s,value:u,label:r,onChange:function(e){var t,o=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(function(e){return((0,He.find)(i||[],(function(t){return t.name===e}))||{}).value}));n((0,He.compact)(o||[]).join(","))}}):React.createElement(de.Spinner,null))};To.defaultProps={taxonomy:"",label:"Category",onChangeTaxonomy:function(){},allowReset:!1};const xo=(0,So.compose)([(0,Ke.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomykey?t.taxonomykey:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(To);function Lo(e){return Lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lo(e)}function No(e,t,o){return(t=Mo(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function zo(e){return function(e){if(Array.isArray(e))return jo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return jo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?jo(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Io(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Mo(r.key),r)}}function Mo(e){var t=function(e,t){if("object"!=Lo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Lo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Lo(t)?t:String(t)}function Fo(e,t,o){return t=Do(t),function(e,t){if(t&&("object"===Lo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ho()?Reflect.construct(t,o||[],Do(e).constructor):t.apply(e,o))}function Ho(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ho=function(){return!!e})()}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Do(e)}function qo(e,t){return qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qo(e,t)}var Go=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Fo(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qo(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this.props,o=t.setAttributes,r=t.selectedTaxonomies,n=t.attributesKey,a=t.title,l=t.type,i=t.taxnomiesList,c=function(){var e=[];return i&&i.forEach((function(t,o){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var s=c();s.length>0&&(e=s.map((function(e,t){return React.createElement(de.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==r.indexOf(t)?zo(r):[].concat(zo(r),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}o(No({},n,a))}(t,e.value)},checked:-1!==r.indexOf(e.value)})})))}return React.createElement(De.Fragment,null,React.createElement("div",{className:"woolentor-component-taxonomy-area"},"single"!=l&&React.createElement("h2",{className:"woolentor-component-area-title"},a),React.createElement("div",{className:"woolentor-component-taxonomy-fileds"},"single"==l?0==c().length?React.createElement(de.Spinner,null):React.createElement(de.SelectControl,{label:a,value:r,options:c(),onChange:function(e){return o(No({},n,e))}}):e||React.createElement(de.Spinner,null))))}}],r&&Io(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ko=(0,So.compose)([(0,Ke.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",per_page:-1,hide_empty:!0})}}))])(Go);function Uo(e){return Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uo(e)}function Qo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Vo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Uo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Uo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Uo(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Yo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Zo=function(e){var t=e.uploadImage,o=void 0===e.allowedTypes?["image","png"]:e.allowedTypes,r=void 0===e.instructions?React.createElement("p",null,(0,ue.__)("You need permission to upload media.","woolentor")):React.createElement("p",null,e.instructions),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Yo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.title?"":e.title,c=void 0===e.ImageData?a:e.ImageData,s=void 0===e.onChange?l:e.onChange,u=function(e){var t=Vo({},c);t.id=e.id,t.url=e.url,s(t)};return React.createElement(De.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,i),React.createElement(wt.MediaUploadCheck,{fallback:r},React.createElement(wt.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var o=e.open;return React.createElement(de.Button,{className:c.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o},!c.id&&(0,ue.__)("Set ","woolentor")+i,!!c.id&&!t&&React.createElement(de.Spinner,null),!!c.id&&t&&React.createElement("img",{src:t.source_url,alt:i}))}})),!!c.id&&t&&React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t,variant:"secondary"},(0,ue.__)("Replace image","woolentor"))}})),!!c.id&&React.createElement(wt.MediaUploadCheck,null,React.createElement(de.Button,{onClick:function(){var e=Vo({},c);e.id=void 0,e.url=void 0,s(e)},isLink:!0,isDestructive:!0},(0,ue.__)("Remove image","woolentor")))))};Zo.defaultProps={attribute:"",allowedTypes:["image","png"],instructions:void 0,onChange:void 0};const Jo=(0,So.compose)((0,Ke.withSelect)((function(e,t){var o=e("core").getMedia,r=t.ImageData;return{uploadImage:r.id?o(r.id):null}})))(Zo);function Xo(e){return Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xo(e)}function $o(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function er(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(o),!0).forEach((function(t){tr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$o(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function tr(e,t,o){return(t=rr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function or(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rr(r.key),r)}}function rr(e){var t=function(e,t){if("object"!=Xo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Xo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xo(t)?t:String(t)}function nr(e,t,o){return t=lr(t),function(e,t){if(t&&("object"===Xo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ar()?Reflect.construct(t,o||[],lr(e).constructor):t.apply(e,o))}function ar(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ar=function(){return!!e})()}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lr(e)}function ir(e,t){return ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ir(e,t)}var cr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),nr(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ir(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,o=e.title,r=e.bgProperty,n=e.attributesKey,a=e.uploadImage,l=function(e,o){var a=er(er({},r),{},{type:"background"});a[o]=e,t(tr({},n,a))},i=["image","png"],c=React.createElement("p",null,(0,ue.__)("To edit the banner image, you need permission to upload media.","woolentor")),s=function(e){var o=er(er({},r),{},{type:"background"});o.imageId=e.id,o.imageUrl=e.url,t(tr({},n,o))};return React.createElement(De.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-background-control"},o&&React.createElement("h3",null,o),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:null==r?void 0:r.color,onChange:function(e){return l(e,"color")}})),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(wt.MediaUploadCheck,{fallback:c},React.createElement(wt.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(de.Button,{className:r.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!r.imageId&&(0,ue.__)("Set ","woolentor")+o,!!r.imageId&&!a&&React.createElement(de.Spinner,null),!!r.imageId&&a&&React.createElement("img",{src:a.source_url,alt:o}))}})),!!r.imageId&&a&&React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t,variant:"secondary"},(0,ue.__)("Replace image","woolentor"))}})),!!r.imageId&&React.createElement(wt.MediaUploadCheck,null,React.createElement(de.Button,{onClick:function(){var e=er(er({},r),{},{type:"background"});e.imageId=void 0,e.imageUrl=void 0,t(tr({},n,e))},isLink:!0,isDestructive:!0},(0,ue.__)("Remove image","woolentor")))),!!r.imageId&&a&&React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),labelPosition:"side",value:r.position,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Center Center","woolentor"),value:"center center"},{label:(0,ue.__)("Center Left","woolentor"),value:"center left"},{label:(0,ue.__)("Center Right","woolentor"),value:"center right"},{label:(0,ue.__)("Top Center","woolentor"),value:"top center"},{label:(0,ue.__)("Top Left","woolentor"),value:"top left"},{label:(0,ue.__)("Top Right","woolentor"),value:"top right"},{label:(0,ue.__)("Bottom Center","woolentor"),value:"bottom center"},{label:(0,ue.__)("Bottom Left","woolentor"),value:"bottom left"},{label:(0,ue.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Attachment","woolentor"),labelPosition:"side",value:r.attachment,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Scroll","woolentor"),value:"scroll"},{label:(0,ue.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Repeat","woolentor"),labelPosition:"side",value:r.repeat,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("No-repeat","woolentor"),value:"no-repeat"},{label:(0,ue.__)("Repeat","woolentor"),value:"repeat"},{label:(0,ue.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:(0,ue.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Display Size","woolentor"),labelPosition:"side",value:r.size,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Auto","woolentor"),value:"auto"},{label:(0,ue.__)("Cover","woolentor"),value:"cover"},{label:(0,ue.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}}))))}}],r&&or(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const sr=(0,So.compose)((0,Ke.withSelect)((function(e,t){var o=e("core").getMedia,r=t.bgProperty;return{uploadImage:r.imageId?o(r.imageId):null}})))(cr);function ur(e){return ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ur(e)}function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},dr.apply(this,arguments)}function mr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function pr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mr(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=ur(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ur(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ur(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var fr={align:[{value:"left",title:(0,ue.__)("Align Left","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignleft"}))},{value:"center",title:(0,ue.__)("Align Center","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-aligncenter"}))},{value:"right",title:(0,ue.__)("Align Right","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignright"}))},{value:"justify",title:(0,ue.__)("Align Justify","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-justify"}))}],"flex-horizontal":[{value:"flex-start",title:(0,ue.__)("Align Left","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"align-pull-left"}))},{value:"center",title:(0,ue.__)("Align Center","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"align-center"}))},{value:"flex-end",title:(0,ue.__)("Align Right","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"align-pull-right"}))}]},br=function(e){var t=e.options,o=e.justified,r="string"==typeof t?fr[t]:t,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?gr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;return React.createElement("div",{className:"woolentor-field-section"},""!==i&&React.createElement("label",null,i),React.createElement("div",{className:"woolentor-field-wrap"},React.createElement(de.ButtonGroup,{children:r.filter((function(e){return!!o||"justify"!==e.value})).map((function(t,o){var r=pr(pr({},(0,He.omit)(t,"controls","show")),{},{onClick:function(){e.isToggleOnly&&t.value===c||s(t.value!==c?t.value:"")},variant:c!==t.value?"secondary":"primary",isSmall:e.isSmall,children:t.icon?null:t.custom||React.createElement("span",{className:"woolentor-toolbar-control__text-button"},t.title)});return React.createElement(de.Button,dr({key:o},r))})),className:"woolentor-alignment-btn-group"})),React.createElement(mo,{allowReset:e.allowReset,showReset:e.showReset,value:c,default:e.default,onChange:s}))};function yr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}br.defaultProps={isSmall:!1,isToggleOnly:!1,options:"align",default:"",allowReset:!0,showReset:!1,attribute:"",justified:!1,label:void 0,value:void 0,onChange:void 0};var Rr=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement(wt.AlignmentToolbar,{value:n,onChange:function(e){return a(e)}})};Rr.defaultProps={attribute:"",value:void 0,onChange:void 0};var _r=function(){return null};function wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}_r.InspectorControls=br,_r.BlockControls=Rr;var hr=function(e){var t=Yt(),o=e.responsive?t.toLowerCase():null,r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?wr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,o,e.valueCallback,e.changeCallback),2),n=r[0],a=r[1],l=void 0===e.label?"":e.label,i=void 0===e.value?n:e.value,c=void 0===e.onChange?a:e.onChange;return React.createElement(De.Fragment,null,React.createElement(de.PanelRow,{className:"woolentor-panel-row-height-auto woolentor-column-control",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},l),e.responsive&&React.createElement(to,{responsive:"all"})),React.createElement(de.RangeControl,{value:i,onChange:function(e){return c(e)},min:e.min,step:1,max:e.max,allowReset:e.allowReset}))};hr.defaultProps={allowReset:!1,min:0,max:6,attribute:"",label:void 0,value:void 0,onChange:void 0};const Er=hr,vr=JSON.parse('{"dashicon":[{"name":"Menu","icon":"menu"},{"name":"Admin Site","icon":"admin-site"},{"name":"Dashboard","icon":"dashboard"},{"name":"Admin media","icon":"admin-media"},{"name":"Admin page","icon":"admin-page"},{"name":"Admin comments","icon":"admin-comments"},{"name":"Admin appearance","icon":"admin-appearance"},{"name":"Admin plugins","icon":"admin-plugins"},{"name":"Admin users","icon":"admin-users"},{"name":"Admin tools","icon":"admin-tools"},{"name":"Admin settings","icon":"admin-settings"},{"name":"Admin network","icon":"admin-network"},{"name":"Admin generic","icon":"admin-generic"},{"name":"Admin home","icon":"admin-home"},{"name":"Admin collapse","icon":"admin-collapse"},{"name":"Filter","icon":"filter"},{"name":"Admin customizer","icon":"admin-customizer"},{"name":"Admin multisite","icon":"admin-multisite"},{"name":"Admin links","icon":"admin-links"},{"name":"Admin post","icon":"admin-post"},{"name":"Format image","icon":"format-image"},{"name":"Format gallery","icon":"format-gallery"},{"name":"Format audio","icon":"format-audio"},{"name":"Format video","icon":"format-video"},{"name":"Format chat","icon":"format-chat"},{"name":"Format status","icon":"format-status"},{"name":"Format aside","icon":"format-aside"},{"name":"Format quote","icon":"format-quote"},{"name":"Welcome write blog","icon":"welcome-write-blog"},{"name":"Welcome add page","icon":"welcome-add-page"},{"name":"Welcome view site","icon":"welcome-view-site"},{"name":"Welcome widgets menus","icon":"welcome-widgets-menus"},{"name":"Welcome comments","icon":"welcome-comments"},{"name":"Welcome learn more","icon":"welcome-learn-more"},{"name":"Image crop","icon":"image-crop"},{"name":"Image rotate","icon":"image-rotate"},{"name":"Image rotate left","icon":"image-rotate-left"},{"name":"Image rotate right","icon":"image-rotate-right"},{"name":"Image flip vertical","icon":"image-flip-vertical"},{"name":"Image flip horizontal","icon":"image-flip-horizontal"},{"name":"Image filter","icon":"image-filter"},{"name":"Undo","icon":"undo"},{"name":"Redo","icon":"redo"},{"name":"Editor bold","icon":"editor-bold"},{"name":"Editor italic","icon":"editor-italic"},{"name":"Editor ul","icon":"editor-ul"},{"name":"Editor ol","icon":"editor-ol"},{"name":"Editor quote","icon":"editor-quote"},{"name":"Editor align left","icon":"editor-alignleft"},{"name":"Editor align center","icon":"editor-aligncenter"},{"name":"Editor align right","icon":"editor-alignright"},{"name":"Editor insert more","icon":"editor-insertmore"},{"name":"Editor spell check","icon":"editor-spellcheck"},{"name":"Editor expand","icon":"editor-expand"},{"name":"Editor contract","icon":"editor-contract"},{"name":"Editor kitchensink","icon":"editor-kitchensink"},{"name":"Editor underline","icon":"editor-underline"},{"name":"Editor justify","icon":"editor-justify"},{"name":"Editor text color","icon":"editor-textcolor"},{"name":"Editor paste word","icon":"editor-paste-word"},{"name":"Editor paste text","icon":"editor-paste-text"},{"name":"Editor remove formatting","icon":"editor-removeformatting"},{"name":"Editor video","icon":"editor-video"},{"name":"Editor customchar","icon":"editor-customchar"},{"name":"Editor outdent","icon":"editor-outdent"},{"name":"Editor indent","icon":"editor-indent"},{"name":"Editor help","icon":"editor-help"},{"name":"Editor strike through","icon":"editor-strikethrough"},{"name":"Editor unlink","icon":"editor-unlink"},{"name":"Editor Rtl","icon":"editor-rtl"},{"name":"Editor break","icon":"editor-break"},{"name":"Editor code","icon":"editor-code"},{"name":"Editor code duplicate","icon":"editor-code-duplicate"},{"name":"Editor paragraph","icon":"editor-paragraph"},{"name":"Editor table","icon":"editor-table"},{"name":"Align left","icon":"align-left"},{"name":"Align right","icon":"align-right"},{"name":"Align center","icon":"align-center"},{"name":"Align none","icon":"align-none"},{"name":"Lock","icon":"lock"},{"name":"Lock duplicate","icon":"lock-duplicate"},{"name":"Unlock","icon":"unlock"},{"name":"Calendar","icon":"calendar"},{"name":"Calendar alt","icon":"calendar-alt"},{"name":"Visibility","icon":"visibility"},{"name":"Hidden","icon":"hidden"},{"name":"Post status","icon":"post-status"},{"name":"Edit","icon":"edit"},{"name":"Edit large","icon":"edit-large"},{"name":"Sticky","icon":"sticky"},{"name":"External","icon":"external"},{"name":"Arrow up","icon":"arrow-up"},{"name":"Arrow up duplicate","icon":"arrow-up-duplicate"},{"name":"Arrow down","icon":"arrow-down"},{"name":"Arrow left","icon":"arrow-left"},{"name":"Arrow right","icon":"arrow-right"},{"name":"Arrow up alt","icon":"arrow-up-alt"},{"name":"Arrow down alt","icon":"arrow-down-alt"},{"name":"Arrow left alt","icon":"arrow-left-alt"},{"name":"Arrow right alt","icon":"arrow-right-alt"},{"name":"Arrow up alt2","icon":"arrow-up-alt2"},{"name":"Arrow down alt2","icon":"arrow-down-alt2"},{"name":"Arrow left alt2","icon":"arrow-left-alt2"},{"name":"Arrow right alt2","icon":"arrow-right-alt2"},{"name":"Left right","icon":"leftright"},{"name":"Sort","icon":"sort"},{"name":"List view","icon":"list-view"},{"name":"Excerpt view","icon":"excerpt-view"},{"name":"Grid view","icon":"grid-view"},{"name":"Move","icon":"move"},{"name":"Hammer","icon":"hammer"},{"name":"Art","icon":"art"},{"name":"Migrate","icon":"migrate"},{"name":"Performance","icon":"performance"},{"name":"Universal access","icon":"universal-access"},{"name":"universal access alt","icon":"universal-access-alt"},{"name":"Tickets","icon":"tickets"},{"name":"Name tag","icon":"nametag"},{"name":"Clip board","icon":"clipboard"},{"name":"heart","icon":"heart"},{"name":"Mega phone","icon":"megaphone"},{"name":"Schedule","icon":"schedule"},{"name":"WordPress","icon":"wordpress"},{"name":"WordPress alt","icon":"wordpress-alt"},{"name":"Pressthis","icon":"pressthis"},{"name":"Update","icon":"update"},{"name":"Screen options","icon":"screenoptions"},{"name":"cart","icon":"cart"},{"name":"Feedback","icon":"feedback"},{"name":"Translation","icon":"translation"},{"name":"Tag","icon":"tag"},{"name":"Category","icon":"category"},{"name":"Archive","icon":"archive"},{"name":"Tag cloud","icon":"tagcloud"},{"name":"Text","icon":"text"},{"name":"Media archive","icon":"media-archive"},{"name":"Media audio","icon":"media-audio"},{"name":"Media code","icon":"media-code"},{"name":"Media Default","icon":"media-default"},{"name":"Media document","icon":"media-document"},{"name":"Media interactive","icon":"media-interactive"},{"name":"Media Spreadsheet","icon":"media-spreadsheet"},{"name":"Media text","icon":"media-text"},{"name":"Media video","icon":"media-video"},{"name":"Playlist audio","icon":"playlist-audio"},{"name":"Playlist video","icon":"playlist-video"},{"name":"Controls play","icon":"controls-play"},{"name":"Controls pause","icon":"controls-pause"},{"name":"Controls forward","icon":"controls-forward"},{"name":"Controls skip forward","icon":"controls-skipforward"},{"name":"Controls back","icon":"controls-back"},{"name":"controls skip back","icon":"controls-skipback"},{"name":"Controls repeat","icon":"controls-repeat"},{"name":"controls volume on","icon":"controls-volumeon"},{"name":"controls volume off","icon":"controls-volumeoff"},{"name":"Yes","icon":"yes"},{"name":"No","icon":"no"},{"name":"No alt","icon":"no-alt"},{"name":"Plus","icon":"plus"},{"name":"Plus alt","icon":"plus-alt"},{"name":"Plus alt2","icon":"plus-alt2"},{"name":"Minus","icon":"minus"},{"name":"Dismiss","icon":"dismiss"},{"name":"Marker","icon":"marker"},{"name":"Star filled","icon":"star-filled"},{"name":"Star half","icon":"star-half"},{"name":"Star empty","icon":"star-empty"},{"name":"Flag","icon":"flag"},{"name":"Info","icon":"info"},{"name":"Warning","icon":"warning"},{"name":"Share","icon":"share"},{"name":"Share1","icon":"share1"},{"name":"Share alt","icon":"share-alt"},{"name":"Share alt2","icon":"share-alt2"},{"name":"Twitter","icon":"twitter"},{"name":"Rss","icon":"rss"},{"name":"Email","icon":"email"},{"name":"Email alt","icon":"email-alt"},{"name":"Facebook","icon":"facebook"},{"name":"Facebook alt","icon":"facebook-alt"},{"name":"Networking","icon":"networking"},{"name":"google plus","icon":"googleplus"},{"name":"Location","icon":"location"},{"name":"Location alt","icon":"location-alt"},{"name":"Camera","icon":"camera"},{"name":"Images alt","icon":"images-alt"},{"name":"Images alt2","icon":"images-alt2"},{"name":"Video alt","icon":"video-alt"},{"name":"Video alt2","icon":"video-alt2"},{"name":"Video alt3","icon":"video-alt3"},{"name":"Vault","icon":"vault"},{"name":"Shield","icon":"shield"},{"name":"Shield alt","icon":"shield-alt"},{"name":"Sos","icon":"sos"},{"name":"Search","icon":"search"},{"name":"Slides","icon":"slides"},{"name":"Analytics","icon":"analytics"},{"name":"Chart pie","icon":"chart-pie"},{"name":"Chart bar","icon":"chart-bar"},{"name":"Chart line","icon":"chart-line"},{"name":"Chart area","icon":"chart-area"},{"name":"Groups","icon":"groups"},{"name":"Businessman","icon":"businessman"},{"name":"Id","icon":"id"},{"name":"Id alt","icon":"id-alt"},{"name":"Products","icon":"products"},{"name":"Awards","icon":"awards"},{"name":"Forms","icon":"forms"},{"name":"Testimonial","icon":"testimonial"},{"name":"Portfolio","icon":"portfolio"},{"name":"Book","icon":"book"},{"name":"Book alt","icon":"book-alt"},{"name":"Download","icon":"download"},{"name":"Upload","icon":"upload"},{"name":"Backup","icon":"backup"},{"name":"Clock","icon":"clock"},{"name":"Light bulb","icon":"lightbulb"},{"name":"Microphone","icon":"microphone"},{"name":"Desktop","icon":"desktop"},{"name":"Laptop","icon":"laptop"},{"name":"Tablet","icon":"tablet"},{"name":"Smartphone","icon":"smartphone"},{"name":"Phone","icon":"phone"},{"name":"Smiley","icon":"smiley"},{"name":"Index card","icon":"index-card"},{"name":"Carrot","icon":"carrot"},{"name":"Building","icon":"building"},{"name":"Store","icon":"store"},{"name":"Album","icon":"album"},{"name":"Palmtree","icon":"palmtree"},{"name":"Tickets alt","icon":"tickets-alt"},{"name":"Money","icon":"money"},{"name":"Thumbs up","icon":"thumbs-up"},{"name":"Thumbs down","icon":"thumbs-down"},{"name":"Layout","icon":"layout"},{"name":"Paper clip","icon":"paperclip"},{"name":"Email alt2","icon":"email-alt2"},{"name":"Menu alt","icon":"menu-alt"},{"name":"Trash","icon":"trash"},{"name":"Heading","icon":"heading"},{"name":"Insert","icon":"insert"},{"name":"Align full width","icon":"align-full-width"},{"name":"Button","icon":"button"},{"name":"Align wide","icon":"align-wide"},{"name":"Ellipsis","icon":"ellipsis"},{"name":"Buddicons activity","icon":"buddicons-activity"},{"name":"Buddicons buddy press logo","icon":"buddicons-buddypress-logo"},{"name":"Buddicons community","icon":"buddicons-community"},{"name":"Buddicons forums","icon":"buddicons-forums"},{"name":"Buddicons friends","icon":"buddicons-friends"},{"name":"Buddicons groups","icon":"buddicons-groups"},{"name":"Buddicons pm","icon":"buddicons-pm"},{"name":"Buddicons replies","icon":"buddicons-replies"},{"name":"Buddicons topics","icon":"buddicons-topics"},{"name":"Buddicons tracking","icon":"buddicons-tracking"},{"name":"Admin site alt","icon":"admin-site-alt"},{"name":"Admin site alt2","icon":"admin-site-alt2"},{"name":"Admin site alt3","icon":"admin-site-alt3"},{"name":"Rest api","icon":"rest-api"},{"name":"Yes alt","icon":"yes-alt"},{"name":"Buddicons bbpress logo","icon":"buddicons-bbpress-logo"},{"name":"Tide","icon":"tide"},{"name":"Editor ol rtl","icon":"editor-ol-rtl"},{"name":"Instagram","icon":"instagram"},{"name":"Business person","icon":"businessperson"},{"name":"Business woman","icon":"businesswoman"},{"name":"Color picker","icon":"color-picker"},{"name":"Camera alt","icon":"camera-alt"},{"name":"Editor ltr","icon":"editor-ltr"},{"name":"Cloud","icon":"cloud"},{"name":"Twitter alt","icon":"twitter-alt"},{"name":"Menu alt2","icon":"menu-alt2"},{"name":"Menu alt3","icon":"menu-alt3"},{"name":"Plugins checked","icon":"plugins-checked"},{"name":"Text page","icon":"text-page"},{"name":"Update alt","icon":"update-alt"},{"name":"Code standards","icon":"code-standards"},{"name":"Align pull left","icon":"align-pull-left"},{"name":"Align pull right","icon":"align-pull-right"},{"name":"Block default","icon":"block-default"},{"name":"Cloud saved","icon":"cloud-saved"},{"name":"Cloud upload","icon":"cloud-upload"},{"name":"Columns","icon":"columns"},{"name":"Cover image","icon":"cover-image"},{"name":"Embed audio","icon":"embed-audio"},{"name":"Embed generic","icon":"embed-generic"},{"name":"Embed photo","icon":"embed-photo"},{"name":"Embed post","icon":"embed-post"},{"name":"Embed video","icon":"embed-video"},{"name":"Exit","icon":"exit"},{"name":"HTML","icon":"html"},{"name":"Info outline","icon":"info-outline"},{"name":"Insert after","icon":"insert-after"},{"name":"Insert before","icon":"insert-before"},{"name":"Remove","icon":"remove"},{"name":"Shortcode","icon":"shortcode"},{"name":"Table col after","icon":"table-col-after"},{"name":"Table col before","icon":"table-col-before"},{"name":"Table col delete","icon":"table-col-delete"},{"name":"Table row after","icon":"table-row-after"},{"name":"Table row before","icon":"table-row-before"},{"name":"Table row delete","icon":"table-row-delete"},{"name":"Saved","icon":"saved"},{"name":"Airplane","icon":"airplane"},{"name":"Amazon","icon":"amazon"},{"name":"Bank","icon":"bank"},{"name":"Beer","icon":"beer"},{"name":"Bell","icon":"bell"},{"name":"Calculator","icon":"calculator"},{"name":"Coffee","icon":"coffee"},{"name":"Database add","icon":"database-add"},{"name":"Database export","icon":"database-export"},{"name":"Database import","icon":"database-import"},{"name":"Database remove","icon":"database-remove"},{"name":"Database view","icon":"database-view"},{"name":"Database","icon":"database"},{"name":"Drumstick","icon":"drumstick"},{"name":"Edit page","icon":"edit-page"},{"name":"Food","icon":"food"},{"name":"Full screen alt","icon":"fullscreen-alt"},{"name":"Full screen exit alt","icon":"fullscreen-exit-alt"},{"name":"Games","icon":"games"},{"name":"Google","icon":"google"},{"name":"Hourglass","icon":"hourglass"},{"name":"Linkedin","icon":"linkedin"},{"name":"Money alt","icon":"money-alt"},{"name":"Open folder","icon":"open-folder"},{"name":"PDF","icon":"pdf"},{"name":"Pets","icon":"pets"},{"name":"Pinterest","icon":"pinterest"},{"name":"Printer","icon":"printer"},{"name":"Privacy","icon":"privacy"},{"name":"Reddit","icon":"reddit"},{"name":"Spotify","icon":"spotify"},{"name":"Super hero alt","icon":"superhero-alt"},{"name":"Super hero","icon":"superhero"},{"name":"Twitch","icon":"twitch"},{"name":"Whatsapp","icon":"whatsapp"},{"name":"YouTube","icon":"youtube"},{"name":"Car","icon":"car"},{"name":"Podio","icon":"podio"},{"name":"Xing","icon":"xing"}],"fontawesome":[{"name":"Glass","icon":"glass","unicode":"f000","created":1,"categories":["Web Application Icons"]},{"name":"Music","icon":"music","unicode":"f001","created":1,"categories":["Web Application Icons"]},{"name":"Search","icon":"search","unicode":"f002","created":1,"categories":["Web Application Icons"]},{"name":"Envelope Outlined","icon":"envelope-o","unicode":"f003","created":1,"categories":["Web Application Icons"]},{"name":"Heart","icon":"heart","unicode":"f004","created":1,"categories":["Web Application Icons"]},{"name":"Star","icon":"star","unicode":"f005","created":1,"categories":["Web Application Icons"]},{"name":"Star Outlined","icon":"star-o","unicode":"f006","created":1,"categories":["Web Application Icons"]},{"name":"User","icon":"user","unicode":"f007","created":1,"categories":["Web Application Icons"]},{"name":"Film","icon":"film","unicode":"f008","created":1,"categories":["Web Application Icons"]},{"name":"th-large","icon":"th-large","unicode":"f009","created":1,"categories":["Text Editor Icons"]},{"name":"th","icon":"th","unicode":"f00a","created":1,"categories":["Text Editor Icons"]},{"name":"th-list","icon":"th-list","unicode":"f00b","created":1,"categories":["Text Editor Icons"]},{"name":"Check","icon":"check","unicode":"f00c","created":1,"categories":["Web Application Icons"]},{"name":"Times","icon":"times","unicode":"f00d","created":1,"categories":["Web Application Icons"]},{"name":"Search Plus","icon":"search-plus","unicode":"f00e","created":1,"categories":["Web Application Icons"]},{"name":"Search Minus","icon":"search-minus","unicode":"f010","created":1,"categories":["Web Application Icons"]},{"name":"Power Off","icon":"power-off","unicode":"f011","created":1,"categories":["Web Application Icons"]},{"name":"signal","icon":"signal","unicode":"f012","created":1,"categories":["Web Application Icons"]},{"name":"cog","icon":"cog","unicode":"f013","created":1,"aliases":["gear"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"Trash Outlined","icon":"trash-o","unicode":"f014","created":1,"categories":["Web Application Icons"]},{"name":"home","icon":"home","unicode":"f015","created":1,"categories":["Web Application Icons"]},{"name":"File Outlined","icon":"file-o","unicode":"f016","created":1,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Clock Outlined","icon":"clock-o","unicode":"f017","created":1,"categories":["Web Application Icons"]},{"name":"road","icon":"road","unicode":"f018","created":1,"categories":["Web Application Icons"]},{"name":"Download","icon":"download","unicode":"f019","created":1,"categories":["Web Application Icons"]},{"name":"Arrow Circle Outlined Down","icon":"arrow-circle-o-down","unicode":"f01a","created":1,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Up","icon":"arrow-circle-o-up","unicode":"f01b","created":1,"categories":["Directional Icons"]},{"name":"inbox","icon":"inbox","unicode":"f01c","created":1,"categories":["Web Application Icons"]},{"name":"Play Circle Outlined","icon":"play-circle-o","unicode":"f01d","created":1,"categories":["Video Player Icons"]},{"name":"Repeat","icon":"repeat","unicode":"f01e","created":1,"aliases":["rotate-right"],"categories":["Text Editor Icons"]},{"name":"refresh","icon":"refresh","unicode":"f021","created":1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"list-alt","icon":"list-alt","unicode":"f022","created":1,"categories":["Text Editor Icons"]},{"name":"lock","icon":"lock","unicode":"f023","created":1,"categories":["Web Application Icons"]},{"name":"flag","icon":"flag","unicode":"f024","created":1,"categories":["Web Application Icons"]},{"name":"headphones","icon":"headphones","unicode":"f025","created":1,"categories":["Web Application Icons"]},{"name":"volume-off","icon":"volume-off","unicode":"f026","created":1,"categories":["Web Application Icons"]},{"name":"volume-down","icon":"volume-down","unicode":"f027","created":1,"categories":["Web Application Icons"]},{"name":"volume-up","icon":"volume-up","unicode":"f028","created":1,"categories":["Web Application Icons"]},{"name":"qrcode","icon":"qrcode","unicode":"f029","created":1,"categories":["Web Application Icons"]},{"name":"barcode","icon":"barcode","unicode":"f02a","created":1,"categories":["Web Application Icons"]},{"name":"tag","icon":"tag","unicode":"f02b","created":1,"categories":["Web Application Icons"]},{"name":"tags","icon":"tags","unicode":"f02c","created":1,"categories":["Web Application Icons"]},{"name":"book","icon":"book","unicode":"f02d","created":1,"categories":["Web Application Icons"]},{"name":"bookmark","icon":"bookmark","unicode":"f02e","created":1,"categories":["Web Application Icons"]},{"name":"print","icon":"print","unicode":"f02f","created":1,"categories":["Web Application Icons"]},{"name":"camera","icon":"camera","unicode":"f030","created":1,"categories":["Web Application Icons"]},{"name":"font","icon":"font","unicode":"f031","created":1,"categories":["Text Editor Icons"]},{"name":"bold","icon":"bold","unicode":"f032","created":1,"categories":["Text Editor Icons"]},{"name":"italic","icon":"italic","unicode":"f033","created":1,"categories":["Text Editor Icons"]},{"name":"text-height","icon":"text-height","unicode":"f034","created":1,"categories":["Text Editor Icons"]},{"name":"text-width","icon":"text-width","unicode":"f035","created":1,"categories":["Text Editor Icons"]},{"name":"align-left","icon":"align-left","unicode":"f036","created":1,"categories":["Text Editor Icons"]},{"name":"align-center","icon":"align-center","unicode":"f037","created":1,"categories":["Text Editor Icons"]},{"name":"align-right","icon":"align-right","unicode":"f038","created":1,"categories":["Text Editor Icons"]},{"name":"align-justify","icon":"align-justify","unicode":"f039","created":1,"categories":["Text Editor Icons"]},{"name":"list","icon":"list","unicode":"f03a","created":1,"categories":["Text Editor Icons"]},{"name":"Outdent","icon":"outdent","unicode":"f03b","created":1,"aliases":["dedent"],"categories":["Text Editor Icons"]},{"name":"Indent","icon":"indent","unicode":"f03c","created":1,"categories":["Text Editor Icons"]},{"name":"Video Camera","icon":"video-camera","unicode":"f03d","created":1,"categories":["Web Application Icons"]},{"name":"Picture Outlined","icon":"picture-o","unicode":"f03e","created":1,"aliases":["photo","image"],"categories":["Web Application Icons"]},{"name":"pencil","icon":"pencil","unicode":"f040","created":1,"categories":["Web Application Icons"]},{"name":"map-marker","icon":"map-marker","unicode":"f041","created":1,"categories":["Web Application Icons"]},{"name":"adjust","icon":"adjust","unicode":"f042","created":1,"categories":["Web Application Icons"]},{"name":"tint","icon":"tint","unicode":"f043","created":1,"categories":["Web Application Icons"]},{"name":"Pencil Square Outlined","icon":"pencil-square-o","unicode":"f044","created":1,"aliases":["edit"],"categories":["Web Application Icons"]},{"name":"Share Square Outlined","icon":"share-square-o","unicode":"f045","created":1,"categories":["Web Application Icons"]},{"name":"Check Square Outlined","icon":"check-square-o","unicode":"f046","created":1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Arrows","icon":"arrows","unicode":"f047","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"step-backward","icon":"step-backward","unicode":"f048","created":1,"categories":["Video Player Icons"]},{"name":"fast-backward","icon":"fast-backward","unicode":"f049","created":1,"categories":["Video Player Icons"]},{"name":"backward","icon":"backward","unicode":"f04a","created":1,"categories":["Video Player Icons"]},{"name":"play","icon":"play","unicode":"f04b","created":1,"categories":["Video Player Icons"]},{"name":"pause","icon":"pause","unicode":"f04c","created":1,"categories":["Video Player Icons"]},{"name":"stop","icon":"stop","unicode":"f04d","created":1,"categories":["Video Player Icons"]},{"name":"forward","icon":"forward","unicode":"f04e","created":1,"categories":["Video Player Icons"]},{"name":"fast-forward","icon":"fast-forward","unicode":"f050","created":1,"categories":["Video Player Icons"]},{"name":"step-forward","icon":"step-forward","unicode":"f051","created":1,"categories":["Video Player Icons"]},{"name":"eject","icon":"eject","unicode":"f052","created":1,"categories":["Video Player Icons"]},{"name":"chevron-left","icon":"chevron-left","unicode":"f053","created":1,"categories":["Directional Icons"]},{"name":"chevron-right","icon":"chevron-right","unicode":"f054","created":1,"categories":["Directional Icons"]},{"name":"Plus Circle","icon":"plus-circle","unicode":"f055","created":1,"categories":["Web Application Icons"]},{"name":"Minus Circle","icon":"minus-circle","unicode":"f056","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle","icon":"times-circle","unicode":"f057","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle","icon":"check-circle","unicode":"f058","created":1,"categories":["Web Application Icons"]},{"name":"Question Circle","icon":"question-circle","unicode":"f059","created":1,"categories":["Web Application Icons"]},{"name":"Info Circle","icon":"info-circle","unicode":"f05a","created":1,"categories":["Web Application Icons"]},{"name":"Crosshairs","icon":"crosshairs","unicode":"f05b","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle Outlined","icon":"times-circle-o","unicode":"f05c","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle Outlined","icon":"check-circle-o","unicode":"f05d","created":1,"categories":["Web Application Icons"]},{"name":"ban","icon":"ban","unicode":"f05e","created":1,"categories":["Web Application Icons"]},{"name":"arrow-left","icon":"arrow-left","unicode":"f060","created":1,"categories":["Directional Icons"]},{"name":"arrow-right","icon":"arrow-right","unicode":"f061","created":1,"categories":["Directional Icons"]},{"name":"arrow-up","icon":"arrow-up","unicode":"f062","created":1,"categories":["Directional Icons"]},{"name":"arrow-down","icon":"arrow-down","unicode":"f063","created":1,"categories":["Directional Icons"]},{"name":"Share","icon":"share","unicode":"f064","created":1,"aliases":["mail-forward"],"categories":["Web Application Icons"]},{"name":"Expand","icon":"expand","unicode":"f065","created":1,"categories":["Video Player Icons"]},{"name":"Compress","icon":"compress","unicode":"f066","created":1,"categories":["Video Player Icons"]},{"name":"plus","icon":"plus","unicode":"f067","created":1,"categories":["Web Application Icons"]},{"name":"minus","icon":"minus","unicode":"f068","created":1,"categories":["Web Application Icons"]},{"name":"asterisk","icon":"asterisk","unicode":"f069","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Circle","icon":"exclamation-circle","unicode":"f06a","created":1,"categories":["Web Application Icons"]},{"name":"gift","icon":"gift","unicode":"f06b","created":1,"categories":["Web Application Icons"]},{"name":"leaf","icon":"leaf","unicode":"f06c","created":1,"categories":["Web Application Icons"]},{"name":"fire","icon":"fire","unicode":"f06d","created":1,"categories":["Web Application Icons"]},{"name":"Eye","icon":"eye","unicode":"f06e","created":1,"categories":["Web Application Icons"]},{"name":"Eye Slash","icon":"eye-slash","unicode":"f070","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Triangle","icon":"exclamation-triangle","unicode":"f071","created":1,"aliases":["warning"],"categories":["Web Application Icons"]},{"name":"plane","icon":"plane","unicode":"f072","created":1,"categories":["Web Application Icons"]},{"name":"calendar","icon":"calendar","unicode":"f073","created":1,"categories":["Web Application Icons"]},{"name":"random","icon":"random","unicode":"f074","created":1,"categories":["Web Application Icons"]},{"name":"comment","icon":"comment","unicode":"f075","created":1,"categories":["Web Application Icons"]},{"name":"magnet","icon":"magnet","unicode":"f076","created":1,"categories":["Web Application Icons"]},{"name":"chevron-up","icon":"chevron-up","unicode":"f077","created":1,"categories":["Directional Icons"]},{"name":"chevron-down","icon":"chevron-down","unicode":"f078","created":1,"categories":["Directional Icons"]},{"name":"retweet","icon":"retweet","unicode":"f079","created":1,"categories":["Web Application Icons"]},{"name":"shopping-cart","icon":"shopping-cart","unicode":"f07a","created":1,"categories":["Web Application Icons"]},{"name":"Folder","icon":"folder","unicode":"f07b","created":1,"categories":["Web Application Icons"]},{"name":"Folder Open","icon":"folder-open","unicode":"f07c","created":1,"categories":["Web Application Icons"]},{"name":"Arrows Vertical","icon":"arrows-v","unicode":"f07d","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Arrows Horizontal","icon":"arrows-h","unicode":"f07e","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Bar Chart Outlined","icon":"bar-chart-o","unicode":"f080","created":1,"categories":["Web Application Icons"]},{"name":"Twitter Square","icon":"twitter-square","unicode":"f081","created":1,"categories":["Brand Icons"]},{"name":"Facebook Square","icon":"facebook-square","unicode":"f082","created":1,"categories":["Brand Icons"]},{"name":"camera-retro","icon":"camera-retro","unicode":"f083","created":1,"categories":["Web Application Icons"]},{"name":"key","icon":"key","unicode":"f084","created":1,"categories":["Web Application Icons"]},{"name":"cogs","icon":"cogs","unicode":"f085","created":1,"aliases":["gears"],"categories":["Web Application Icons"]},{"name":"comments","icon":"comments","unicode":"f086","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Up Outlined","icon":"thumbs-o-up","unicode":"f087","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Down Outlined","icon":"thumbs-o-down","unicode":"f088","created":1,"categories":["Web Application Icons"]},{"name":"star-half","icon":"star-half","unicode":"f089","created":1,"categories":["Web Application Icons"]},{"name":"Heart Outlined","icon":"heart-o","unicode":"f08a","created":1,"categories":["Web Application Icons"]},{"name":"Sign Out","icon":"sign-out","unicode":"f08b","created":1,"categories":["Web Application Icons"]},{"name":"LinkedIn Square","icon":"linkedin-square","unicode":"f08c","created":1,"categories":["Brand Icons"]},{"name":"Thumb Tack","icon":"thumb-tack","unicode":"f08d","created":1,"categories":["Web Application Icons"]},{"name":"External Link","icon":"external-link","unicode":"f08e","created":1,"categories":["Web Application Icons"]},{"name":"Sign In","icon":"sign-in","unicode":"f090","created":1,"categories":["Web Application Icons"]},{"name":"trophy","icon":"trophy","unicode":"f091","created":1,"categories":["Web Application Icons"]},{"name":"GitHub Square","icon":"github-square","unicode":"f092","created":1,"categories":["Brand Icons"]},{"name":"Upload","icon":"upload","unicode":"f093","created":1,"categories":["Web Application Icons"]},{"name":"Lemon Outlined","icon":"lemon-o","unicode":"f094","created":1,"categories":["Web Application Icons"]},{"name":"Phone","icon":"phone","unicode":"f095","created":2,"categories":["Web Application Icons"]},{"name":"Square Outlined","icon":"square-o","unicode":"f096","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bookmark Outlined","icon":"bookmark-o","unicode":"f097","created":2,"categories":["Web Application Icons"]},{"name":"Phone Square","icon":"phone-square","unicode":"f098","created":2,"categories":["Web Application Icons"]},{"name":"Twitter","icon":"twitter","unicode":"f099","created":2,"categories":["Brand Icons"]},{"name":"Facebook","icon":"facebook","unicode":"f09a","created":2,"categories":["Brand Icons"]},{"name":"GitHub","icon":"github","unicode":"f09b","created":2,"categories":["Brand Icons"]},{"name":"unlock","icon":"unlock","unicode":"f09c","created":2,"categories":["Web Application Icons"]},{"name":"credit-card","icon":"credit-card","unicode":"f09d","created":2,"categories":["Web Application Icons"]},{"name":"rss","icon":"rss","unicode":"f09e","created":2,"categories":["Web Application Icons"]},{"name":"HDD","icon":"hdd-o","unicode":"f0a0","created":2,"categories":["Web Application Icons"]},{"name":"bullhorn","icon":"bullhorn","unicode":"f0a1","created":2,"categories":["Web Application Icons"]},{"name":"bell","icon":"bell","unicode":"f0f3","created":2,"categories":["Web Application Icons"]},{"name":"certificate","icon":"certificate","unicode":"f0a3","created":2,"categories":["Web Application Icons"]},{"name":"Hand Outlined Right","icon":"hand-o-right","unicode":"f0a4","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Left","icon":"hand-o-left","unicode":"f0a5","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Up","icon":"hand-o-up","unicode":"f0a6","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Down","icon":"hand-o-down","unicode":"f0a7","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Left","icon":"arrow-circle-left","unicode":"f0a8","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Right","icon":"arrow-circle-right","unicode":"f0a9","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Up","icon":"arrow-circle-up","unicode":"f0aa","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Down","icon":"arrow-circle-down","unicode":"f0ab","created":2,"categories":["Directional Icons"]},{"name":"Globe","icon":"globe","unicode":"f0ac","created":2,"categories":["Web Application Icons"]},{"name":"Wrench","icon":"wrench","unicode":"f0ad","created":2,"categories":["Web Application Icons"]},{"name":"Tasks","icon":"tasks","unicode":"f0ae","created":2,"categories":["Web Application Icons"]},{"name":"Filter","icon":"filter","unicode":"f0b0","created":2,"categories":["Web Application Icons"]},{"name":"Briefcase","icon":"briefcase","unicode":"f0b1","created":2,"categories":["Web Application Icons"]},{"name":"Arrows Alt","icon":"arrows-alt","unicode":"f0b2","created":2,"categories":["Video Player Icons","Directional Icons"]},{"name":"Users","icon":"users","unicode":"f0c0","created":2,"aliases":["group"],"categories":["Web Application Icons"]},{"name":"Link","icon":"link","unicode":"f0c1","created":2,"aliases":["chain"],"categories":["Text Editor Icons"]},{"name":"Cloud","icon":"cloud","unicode":"f0c2","created":2,"categories":["Web Application Icons"]},{"name":"Flask","icon":"flask","unicode":"f0c3","created":2,"categories":["Web Application Icons"]},{"name":"Scissors","icon":"scissors","unicode":"f0c4","created":2,"aliases":["cut"],"categories":["Text Editor Icons"]},{"name":"Files Outlined","icon":"files-o","unicode":"f0c5","created":2,"aliases":["copy"],"categories":["Text Editor Icons"]},{"name":"Paperclip","icon":"paperclip","unicode":"f0c6","created":2,"categories":["Text Editor Icons"]},{"name":"Floppy Outlined","icon":"floppy-o","unicode":"f0c7","created":2,"aliases":["save"],"categories":["Text Editor Icons"]},{"name":"Square","icon":"square","unicode":"f0c8","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bars","icon":"bars","unicode":"f0c9","created":2,"aliases":["navicon","reorder"],"categories":["Web Application Icons"]},{"name":"list-ul","icon":"list-ul","unicode":"f0ca","created":2,"categories":["Text Editor Icons"]},{"name":"list-ol","icon":"list-ol","unicode":"f0cb","created":2,"categories":["Text Editor Icons"]},{"name":"Strikethrough","icon":"strikethrough","unicode":"f0cc","created":2,"categories":["Text Editor Icons"]},{"name":"Underline","icon":"underline","unicode":"f0cd","created":2,"categories":["Text Editor Icons"]},{"name":"table","icon":"table","unicode":"f0ce","created":2,"categories":["Text Editor Icons"]},{"name":"magic","icon":"magic","unicode":"f0d0","created":2,"categories":["Web Application Icons"]},{"name":"truck","icon":"truck","unicode":"f0d1","created":2,"categories":["Web Application Icons"]},{"name":"Pinterest","icon":"pinterest","unicode":"f0d2","created":2,"categories":["Brand Icons"]},{"name":"Pinterest Square","icon":"pinterest-square","unicode":"f0d3","created":2,"categories":["Brand Icons"]},{"name":"Google Plus Square","icon":"google-plus-square","unicode":"f0d4","created":2,"categories":["Brand Icons"]},{"name":"Google Plus","icon":"google-plus","unicode":"f0d5","created":2,"categories":["Brand Icons"]},{"name":"Money","icon":"money","unicode":"f0d6","created":2,"categories":["Web Application Icons","Currency Icons"]},{"name":"Caret Down","icon":"caret-down","unicode":"f0d7","created":2,"categories":["Directional Icons"]},{"name":"Caret Up","icon":"caret-up","unicode":"f0d8","created":2,"categories":["Directional Icons"]},{"name":"Caret Left","icon":"caret-left","unicode":"f0d9","created":2,"categories":["Directional Icons"]},{"name":"Caret Right","icon":"caret-right","unicode":"f0da","created":2,"categories":["Directional Icons"]},{"name":"Columns","icon":"columns","unicode":"f0db","created":2,"categories":["Text Editor Icons"]},{"name":"Sort","icon":"sort","unicode":"f0dc","created":2,"aliases":["unsorted"],"categories":["Web Application Icons"]},{"name":"Sort Descending","icon":"sort-desc","unicode":"f0dd","created":2,"aliases":["sort-down"],"categories":["Web Application Icons"]},{"name":"Sort Ascending","icon":"sort-asc","unicode":"f0de","created":2,"aliases":["sort-up"],"categories":["Web Application Icons"]},{"name":"Envelope","icon":"envelope","unicode":"f0e0","created":2,"categories":["Web Application Icons"]},{"name":"LinkedIn","icon":"linkedin","unicode":"f0e1","created":2,"categories":["Brand Icons"]},{"name":"Undo","icon":"undo","unicode":"f0e2","created":2,"aliases":["rotate-left"],"categories":["Text Editor Icons"]},{"name":"Gavel","icon":"gavel","unicode":"f0e3","created":2,"aliases":["legal"],"categories":["Web Application Icons"]},{"name":"Tachometer","icon":"tachometer","unicode":"f0e4","created":2,"aliases":["dashboard"],"categories":["Web Application Icons"]},{"name":"comment-o","icon":"comment-o","unicode":"f0e5","created":2,"categories":["Web Application Icons"]},{"name":"comments-o","icon":"comments-o","unicode":"f0e6","created":2,"categories":["Web Application Icons"]},{"name":"Lightning Bolt","icon":"bolt","unicode":"f0e7","created":2,"aliases":["flash"],"categories":["Web Application Icons"]},{"name":"Sitemap","icon":"sitemap","unicode":"f0e8","created":2,"categories":["Web Application Icons"]},{"name":"Umbrella","icon":"umbrella","unicode":"f0e9","created":2,"categories":["Web Application Icons"]},{"name":"Clipboard","icon":"clipboard","unicode":"f0ea","created":2,"aliases":["paste"],"categories":["Text Editor Icons"]},{"name":"Lightbulb Outlined","icon":"lightbulb-o","unicode":"f0eb","created":3,"categories":["Web Application Icons"]},{"name":"Exchange","icon":"exchange","unicode":"f0ec","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Download","icon":"cloud-download","unicode":"f0ed","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Upload","icon":"cloud-upload","unicode":"f0ee","created":3,"categories":["Web Application Icons"]},{"name":"user-md","icon":"user-md","unicode":"f0f0","created":2,"categories":["Medical Icons"]},{"name":"Stethoscope","icon":"stethoscope","unicode":"f0f1","created":3,"categories":["Medical Icons"]},{"name":"Suitcase","icon":"suitcase","unicode":"f0f2","created":3,"categories":["Web Application Icons"]},{"name":"Bell Outlined","icon":"bell-o","unicode":"f0a2","created":3,"categories":["Web Application Icons"]},{"name":"Coffee","icon":"coffee","unicode":"f0f4","created":3,"categories":["Web Application Icons"]},{"name":"Cutlery","icon":"cutlery","unicode":"f0f5","created":3,"categories":["Web Application Icons"]},{"name":"File Text Outlined","icon":"file-text-o","unicode":"f0f6","created":3,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Building Outlined","icon":"building-o","unicode":"f0f7","created":3,"categories":["Web Application Icons"]},{"name":"hospital Outlined","icon":"hospital-o","unicode":"f0f8","created":3,"categories":["Medical Icons"]},{"name":"ambulance","icon":"ambulance","unicode":"f0f9","created":3,"categories":["Medical Icons"]},{"name":"medkit","icon":"medkit","unicode":"f0fa","created":3,"categories":["Medical Icons"]},{"name":"fighter-jet","icon":"fighter-jet","unicode":"f0fb","created":3,"categories":["Web Application Icons"]},{"name":"beer","icon":"beer","unicode":"f0fc","created":3,"categories":["Web Application Icons"]},{"name":"H Square","icon":"h-square","unicode":"f0fd","created":3,"categories":["Medical Icons"]},{"name":"Plus Square","icon":"plus-square","unicode":"f0fe","created":3,"categories":["Medical Icons","Web Application Icons","Form Control Icons"]},{"name":"Angle Double Left","icon":"angle-double-left","unicode":"f100","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Right","icon":"angle-double-right","unicode":"f101","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Up","icon":"angle-double-up","unicode":"f102","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Down","icon":"angle-double-down","unicode":"f103","created":3,"categories":["Directional Icons"]},{"name":"angle-left","icon":"angle-left","unicode":"f104","created":3,"categories":["Directional Icons"]},{"name":"angle-right","icon":"angle-right","unicode":"f105","created":3,"categories":["Directional Icons"]},{"name":"angle-up","icon":"angle-up","unicode":"f106","created":3,"categories":["Directional Icons"]},{"name":"angle-down","icon":"angle-down","unicode":"f107","created":3,"categories":["Directional Icons"]},{"name":"Desktop","icon":"desktop","unicode":"f108","created":3,"categories":["Web Application Icons"]},{"name":"Laptop","icon":"laptop","unicode":"f109","created":3,"categories":["Web Application Icons"]},{"name":"tablet","icon":"tablet","unicode":"f10a","created":3,"categories":["Web Application Icons"]},{"name":"Mobile Phone","icon":"mobile","unicode":"f10b","created":3,"aliases":["mobile-phone"],"categories":["Web Application Icons"]},{"name":"Circle Outlined","icon":"circle-o","unicode":"f10c","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"quote-left","icon":"quote-left","unicode":"f10d","created":3,"categories":["Web Application Icons"]},{"name":"quote-right","icon":"quote-right","unicode":"f10e","created":3,"categories":["Web Application Icons"]},{"name":"Spinner","icon":"spinner","unicode":"f110","created":3,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Circle","icon":"circle","unicode":"f111","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Reply","icon":"reply","unicode":"f112","created":3,"aliases":["mail-reply"],"categories":["Web Application Icons"]},{"name":"GitHub Alt","icon":"github-alt","unicode":"f113","created":3,"categories":["Brand Icons"]},{"name":"Folder Outlined","icon":"folder-o","unicode":"f114","created":3,"categories":["Web Application Icons"]},{"name":"Folder Open Outlined","icon":"folder-open-o","unicode":"f115","created":3,"categories":["Web Application Icons"]},{"name":"Smile Outlined","icon":"smile-o","unicode":"f118","created":3.1,"categories":["Web Application Icons"]},{"name":"Frown Outlined","icon":"frown-o","unicode":"f119","created":3.1,"categories":["Web Application Icons"]},{"name":"Meh Outlined","icon":"meh-o","unicode":"f11a","created":3.1,"categories":["Web Application Icons"]},{"name":"Gamepad","icon":"gamepad","unicode":"f11b","created":3.1,"categories":["Web Application Icons"]},{"name":"Keyboard Outlined","icon":"keyboard-o","unicode":"f11c","created":3.1,"categories":["Web Application Icons"]},{"name":"Flag Outlined","icon":"flag-o","unicode":"f11d","created":3.1,"categories":["Web Application Icons"]},{"name":"flag-checkered","icon":"flag-checkered","unicode":"f11e","created":3.1,"categories":["Web Application Icons"]},{"name":"Terminal","icon":"terminal","unicode":"f120","created":3.1,"categories":["Web Application Icons"]},{"name":"Code","icon":"code","unicode":"f121","created":3.1,"categories":["Web Application Icons"]},{"name":"reply-all","icon":"reply-all","unicode":"f122","created":3.1,"aliases":["mail-reply-all"],"categories":["Web Application Icons"]},{"name":"Star Half Outlined","icon":"star-half-o","unicode":"f123","created":3.1,"aliases":["star-half-empty","star-half-full"],"categories":["Web Application Icons"]},{"name":"location-arrow","icon":"location-arrow","unicode":"f124","created":3.1,"categories":["Web Application Icons"]},{"name":"crop","icon":"crop","unicode":"f125","created":3.1,"categories":["Web Application Icons"]},{"name":"code-fork","icon":"code-fork","unicode":"f126","created":3.1,"categories":["Web Application Icons"]},{"name":"Chain Broken","icon":"chain-broken","unicode":"f127","created":3.1,"aliases":["unlink"],"categories":["Text Editor Icons"]},{"name":"Question","icon":"question","unicode":"f128","created":3.1,"categories":["Web Application Icons"]},{"name":"Info","icon":"info","unicode":"f129","created":3.1,"categories":["Web Application Icons"]},{"name":"exclamation","icon":"exclamation","unicode":"f12a","created":3.1,"categories":["Web Application Icons"]},{"name":"superscript","icon":"superscript","unicode":"f12b","created":3.1,"categories":["Text Editor Icons"]},{"name":"subscript","icon":"subscript","unicode":"f12c","created":3.1,"categories":["Text Editor Icons"]},{"name":"eraser","icon":"eraser","unicode":"f12d","created":3.1,"categories":["Text Editor Icons","Web Application Icons"]},{"name":"Puzzle Piece","icon":"puzzle-piece","unicode":"f12e","created":3.1,"categories":["Web Application Icons"]},{"name":"microphone","icon":"microphone","unicode":"f130","created":3.1,"categories":["Web Application Icons"]},{"name":"Microphone Slash","icon":"microphone-slash","unicode":"f131","created":3.1,"categories":["Web Application Icons"]},{"name":"shield","icon":"shield","unicode":"f132","created":3.1,"categories":["Web Application Icons"]},{"name":"calendar-o","icon":"calendar-o","unicode":"f133","created":3.1,"categories":["Web Application Icons"]},{"name":"fire-extinguisher","icon":"fire-extinguisher","unicode":"f134","created":3.1,"categories":["Web Application Icons"]},{"name":"rocket","icon":"rocket","unicode":"f135","created":3.1,"categories":["Web Application Icons"]},{"name":"MaxCDN","icon":"maxcdn","unicode":"f136","created":3.1,"categories":["Brand Icons"]},{"name":"Chevron Circle Left","icon":"chevron-circle-left","unicode":"f137","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Right","icon":"chevron-circle-right","unicode":"f138","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Up","icon":"chevron-circle-up","unicode":"f139","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Down","icon":"chevron-circle-down","unicode":"f13a","created":3.1,"categories":["Directional Icons"]},{"name":"HTML 5 Logo","icon":"html5","unicode":"f13b","created":3.1,"categories":["Brand Icons"]},{"name":"CSS 3 Logo","icon":"css3","unicode":"f13c","created":3.1,"categories":["Brand Icons"]},{"name":"Anchor","icon":"anchor","unicode":"f13d","created":3.1,"categories":["Web Application Icons"]},{"name":"Unlock Alt","icon":"unlock-alt","unicode":"f13e","created":3.1,"categories":["Web Application Icons"]},{"name":"Bullseye","icon":"bullseye","unicode":"f140","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Horizontal","icon":"ellipsis-h","unicode":"f141","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Vertical","icon":"ellipsis-v","unicode":"f142","created":3.1,"categories":["Web Application Icons"]},{"name":"RSS Square","icon":"rss-square","unicode":"f143","created":3.1,"categories":["Web Application Icons"]},{"name":"Play Circle","icon":"play-circle","unicode":"f144","created":3.1,"categories":["Video Player Icons"]},{"name":"Ticket","icon":"ticket","unicode":"f145","created":3.1,"categories":["Web Application Icons"]},{"name":"Minus Square","icon":"minus-square","unicode":"f146","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Minus Square Outlined","icon":"minus-square-o","unicode":"f147","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Level Up","icon":"level-up","unicode":"f148","created":3.1,"categories":["Web Application Icons"]},{"name":"Level Down","icon":"level-down","unicode":"f149","created":3.1,"categories":["Web Application Icons"]},{"name":"Check Square","icon":"check-square","unicode":"f14a","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Pencil Square","icon":"pencil-square","unicode":"f14b","created":3.1,"categories":["Web Application Icons"]},{"name":"External Link Square","icon":"external-link-square","unicode":"f14c","created":3.1,"categories":["Web Application Icons"]},{"name":"Share Square","icon":"share-square","unicode":"f14d","created":3.1,"categories":["Web Application Icons"]},{"name":"Compass","icon":"compass","unicode":"f14e","created":3.2,"categories":["Web Application Icons"]},{"name":"Caret Square Outlined Down","icon":"caret-square-o-down","unicode":"f150","created":3.2,"aliases":["toggle-down"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Up","icon":"caret-square-o-up","unicode":"f151","created":3.2,"aliases":["toggle-up"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Right","icon":"caret-square-o-right","unicode":"f152","created":3.2,"aliases":["toggle-right"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Euro (EUR)","icon":"eur","unicode":"f153","created":3.2,"aliases":["euro"],"categories":["Currency Icons"]},{"name":"GBP","icon":"gbp","unicode":"f154","created":3.2,"categories":["Currency Icons"]},{"name":"US Dollar","icon":"usd","unicode":"f155","created":3.2,"aliases":["dollar"],"categories":["Currency Icons"]},{"name":"Indian Rupee (INR)","icon":"inr","unicode":"f156","created":3.2,"aliases":["rupee"],"categories":["Currency Icons"]},{"name":"Japanese Yen (JPY)","icon":"jpy","unicode":"f157","created":3.2,"aliases":["cny","rmb","yen"],"categories":["Currency Icons"]},{"name":"Russian Ruble (RUB)","icon":"rub","unicode":"f158","created":4,"aliases":["ruble","rouble"],"categories":["Currency Icons"]},{"name":"Korean Won (KRW)","icon":"krw","unicode":"f159","created":3.2,"aliases":["won"],"categories":["Currency Icons"]},{"name":"Bitcoin (BTC)","icon":"btc","unicode":"f15a","created":3.2,"aliases":["bitcoin"],"categories":["Currency Icons","Brand Icons"]},{"name":"File","icon":"file","unicode":"f15b","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"File Text","icon":"file-text","unicode":"f15c","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Sort Alpha Ascending","icon":"sort-alpha-asc","unicode":"f15d","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Alpha Descending","icon":"sort-alpha-desc","unicode":"f15e","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Ascending","icon":"sort-amount-asc","unicode":"f160","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Descending","icon":"sort-amount-desc","unicode":"f161","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Ascending","icon":"sort-numeric-asc","unicode":"f162","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Descending","icon":"sort-numeric-desc","unicode":"f163","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-up","icon":"thumbs-up","unicode":"f164","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-down","icon":"thumbs-down","unicode":"f165","created":3.2,"categories":["Web Application Icons"]},{"name":"YouTube Square","icon":"youtube-square","unicode":"f166","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube","icon":"youtube","unicode":"f167","created":3.2,"categories":["Brand Icons"]},{"name":"Xing","icon":"xing","unicode":"f168","created":3.2,"categories":["Brand Icons"]},{"name":"Xing Square","icon":"xing-square","unicode":"f169","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube Play","icon":"youtube-play","unicode":"f16a","created":3.2,"categories":["Brand Icons","Video Player Icons"]},{"name":"Dropbox","icon":"dropbox","unicode":"f16b","created":3.2,"categories":["Brand Icons"]},{"name":"Stack Overflow","icon":"stack-overflow","unicode":"f16c","created":3.2,"categories":["Brand Icons"]},{"name":"Instagram","icon":"instagram","unicode":"f16d","created":3.2,"categories":["Brand Icons"]},{"name":"Flickr","icon":"flickr","unicode":"f16e","created":3.2,"categories":["Brand Icons"]},{"name":"App.net","icon":"adn","unicode":"f170","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket","icon":"bitbucket","unicode":"f171","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket Square","icon":"bitbucket-square","unicode":"f172","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr","icon":"tumblr","unicode":"f173","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr Square","icon":"tumblr-square","unicode":"f174","created":3.2,"categories":["Brand Icons"]},{"name":"Long Arrow Down","icon":"long-arrow-down","unicode":"f175","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Up","icon":"long-arrow-up","unicode":"f176","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Left","icon":"long-arrow-left","unicode":"f177","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Right","icon":"long-arrow-right","unicode":"f178","created":3.2,"categories":["Directional Icons"]},{"name":"Apple","icon":"apple","unicode":"f179","created":3.2,"categories":["Brand Icons"]},{"name":"Windows","icon":"windows","unicode":"f17a","created":3.2,"categories":["Brand Icons"]},{"name":"Android","icon":"android","unicode":"f17b","created":3.2,"categories":["Brand Icons"]},{"name":"Linux","icon":"linux","unicode":"f17c","created":3.2,"categories":["Brand Icons"]},{"name":"Dribbble","icon":"dribbble","unicode":"f17d","created":3.2,"categories":["Brand Icons"]},{"name":"Skype","icon":"skype","unicode":"f17e","created":3.2,"categories":["Brand Icons"]},{"name":"Foursquare","icon":"foursquare","unicode":"f180","created":3.2,"categories":["Brand Icons"]},{"name":"Trello","icon":"trello","unicode":"f181","created":3.2,"categories":["Brand Icons"]},{"name":"Female","icon":"female","unicode":"f182","created":3.2,"categories":["Web Application Icons"]},{"name":"Male","icon":"male","unicode":"f183","created":3.2,"categories":["Web Application Icons"]},{"name":"Gittip","icon":"gittip","unicode":"f184","created":3.2,"categories":["Brand Icons"]},{"name":"Sun Outlined","icon":"sun-o","unicode":"f185","created":3.2,"categories":["Web Application Icons"]},{"name":"Moon Outlined","icon":"moon-o","unicode":"f186","created":3.2,"categories":["Web Application Icons"]},{"name":"Archive","icon":"archive","unicode":"f187","created":3.2,"categories":["Web Application Icons"]},{"name":"Bug","icon":"bug","unicode":"f188","created":3.2,"categories":["Web Application Icons"]},{"name":"VK","icon":"vk","unicode":"f189","created":3.2,"categories":["Brand Icons"]},{"name":"Weibo","icon":"weibo","unicode":"f18a","created":3.2,"categories":["Brand Icons"]},{"name":"Renren","icon":"renren","unicode":"f18b","created":3.2,"categories":["Brand Icons"]},{"name":"Pagelines","icon":"pagelines","unicode":"f18c","created":4,"categories":["Brand Icons"]},{"name":"Stack Exchange","icon":"stack-exchange","unicode":"f18d","created":4,"categories":["Brand Icons"]},{"name":"Arrow Circle Outlined Right","icon":"arrow-circle-o-right","unicode":"f18e","created":4,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Left","icon":"arrow-circle-o-left","unicode":"f190","created":4,"categories":["Directional Icons"]},{"name":"Caret Square Outlined Left","icon":"caret-square-o-left","unicode":"f191","created":4,"aliases":["toggle-left"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Dot Circle O","icon":"dot-circle-o","unicode":"f192","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Wheelchair","icon":"wheelchair","unicode":"f193","created":4,"categories":["Web Application Icons","Medical Icons"]},{"name":"Vimeo Square","icon":"vimeo-square","unicode":"f194","created":4,"categories":["Brand Icons"]},{"name":"Turkish Lira (TRY)","icon":"try","unicode":"f195","created":4,"aliases":["turkish-lira"],"categories":["Currency Icons"]},{"name":"Plus Square Outlined","icon":"plus-square-o","unicode":"f196","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Space Shuttle","icon":"space-shuttle","unicode":"f197","created":4.1,"categories":["Web Application Icons"]},{"name":"Slack Logo","icon":"slack","unicode":"f198","created":4.1,"categories":["Brand Icons"]},{"name":"Envelope Square","icon":"envelope-square","unicode":"f199","created":4.1,"categories":["Web Application Icons"]},{"name":"Wordpress Logo","icon":"wordpress","unicode":"f19a","created":4.1,"categories":["Brand Icons"]},{"name":"OpenID","icon":"openid","unicode":"f19b","created":4.1,"categories":["Brand Icons"]},{"name":"University","icon":"university","unicode":"f19c","created":4.1,"aliases":["institution","bank"],"categories":["Web Application Icons"]},{"name":"Graduation Cap","icon":"graduation-cap","unicode":"f19d","created":4.1,"aliases":["mortar-board"],"categories":["Web Application Icons"]},{"name":"Yahoo Logo","icon":"yahoo","unicode":"f19e","created":4.1,"categories":["Brand Icons"]},{"name":"Google Logo","icon":"google","unicode":"f1a0","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Logo","icon":"reddit","unicode":"f1a1","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Square","icon":"reddit-square","unicode":"f1a2","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Circle","icon":"stumbleupon-circle","unicode":"f1a3","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Logo","icon":"stumbleupon","unicode":"f1a4","created":4.1,"categories":["Brand Icons"]},{"name":"Delicious Logo","icon":"delicious","unicode":"f1a5","created":4.1,"categories":["Brand Icons"]},{"name":"Digg Logo","icon":"digg","unicode":"f1a6","created":4.1,"categories":["Brand Icons"]},{"name":"Pied Piper Logo","icon":"pied-piper","unicode":"f1a7","created":4.1,"categories":["Brand Icons"],"aliases":["pied-piper-square"]},{"name":"Pied Piper Alternate Logo","icon":"pied-piper-alt","unicode":"f1a8","created":4.1,"categories":["Brand Icons"]},{"name":"Drupal Logo","icon":"drupal","unicode":"f1a9","created":4.1,"categories":["Brand Icons"]},{"name":"Joomla Logo","icon":"joomla","unicode":"f1aa","created":4.1,"categories":["Brand Icons"]},{"name":"Language","icon":"language","unicode":"f1ab","created":4.1,"categories":["Web Application Icons"]},{"name":"Fax","icon":"fax","unicode":"f1ac","created":4.1,"categories":["Web Application Icons"]},{"name":"Building","icon":"building","unicode":"f1ad","created":4.1,"categories":["Web Application Icons"]},{"name":"Child","icon":"child","unicode":"f1ae","created":4.1,"categories":["Web Application Icons"]},{"name":"Paw","icon":"paw","unicode":"f1b0","created":4.1,"categories":["Web Application Icons"]},{"name":"spoon","icon":"spoon","unicode":"f1b1","created":4.1,"categories":["Web Application Icons"]},{"name":"Cube","icon":"cube","unicode":"f1b2","created":4.1,"categories":["Web Application Icons"]},{"name":"Cubes","icon":"cubes","unicode":"f1b3","created":4.1,"categories":["Web Application Icons"]},{"name":"Behance","icon":"behance","unicode":"f1b4","created":4.1,"categories":["Brand Icons"]},{"name":"Behance Square","icon":"behance-square","unicode":"f1b5","created":4.1,"categories":["Brand Icons"]},{"name":"Steam","icon":"steam","unicode":"f1b6","created":4.1,"categories":["Brand Icons"]},{"name":"Steam Square","icon":"steam-square","unicode":"f1b7","created":4.1,"categories":["Brand Icons"]},{"name":"Recycle","icon":"recycle","unicode":"f1b8","created":4.1,"categories":["Web Application Icons"]},{"name":"Car","icon":"car","unicode":"f1b9","created":4.1,"categories":["Web Application Icons"],"aliases":["automobile"]},{"name":"Taxi","icon":"taxi","unicode":"f1ba","created":4.1,"categories":["Web Application Icons"],"aliases":["cab"]},{"name":"Tree","icon":"tree","unicode":"f1bb","created":4.1,"categories":["Web Application Icons"]},{"name":"Spotify","icon":"spotify","unicode":"f1bc","created":4.1,"categories":["Brand Icons"]},{"name":"deviantART","icon":"deviantart","unicode":"f1bd","created":4.1,"categories":["Brand Icons"]},{"name":"SoundCloud","icon":"soundcloud","unicode":"f1be","created":4.1,"categories":["Brand Icons"]},{"name":"Database","icon":"database","unicode":"f1c0","created":4.1,"categories":["Web Application Icons"]},{"name":"PDF File Outlined","icon":"file-pdf-o","unicode":"f1c1","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Word File Outlined","icon":"file-word-o","unicode":"f1c2","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Excel File Outlined","icon":"file-excel-o","unicode":"f1c3","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Powerpoint File Outlined","icon":"file-powerpoint-o","unicode":"f1c4","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Image File Outlined","icon":"file-image-o","unicode":"f1c5","created":4.1,"aliases":["file-photo-o","file-picture-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Archive File Outlined","icon":"file-archive-o","unicode":"f1c6","created":4.1,"aliases":["file-zip-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Audio File Outlined","icon":"file-audio-o","unicode":"f1c7","created":4.1,"aliases":["file-sound-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Video File Outlined","icon":"file-video-o","unicode":"f1c8","created":4.1,"aliases":["file-movie-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Code File Outlined","icon":"file-code-o","unicode":"f1c9","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Vine","icon":"vine","unicode":"f1ca","created":4.1,"categories":["Brand Icons"]},{"name":"Codepen","icon":"codepen","unicode":"f1cb","created":4.1,"categories":["Brand Icons"]},{"name":"jsFiddle","icon":"jsfiddle","unicode":"f1cc","created":4.1,"categories":["Brand Icons"]},{"name":"Life Ring","icon":"life-ring","unicode":"f1cd","created":4.1,"aliases":["life-bouy","life-saver","support"],"categories":["Web Application Icons"]},{"name":"Circle Outlined Notched","icon":"circle-o-notch","unicode":"f1ce","created":4.1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Rebel Alliance","icon":"rebel","unicode":"f1d0","created":4.1,"aliases":["ra"],"categories":["Brand Icons"]},{"name":"Galactic Empire","icon":"empire","unicode":"f1d1","created":4.1,"aliases":["ge"],"categories":["Brand Icons"]},{"name":"Git Square","icon":"git-square","unicode":"f1d2","created":4.1,"categories":["Brand Icons"]},{"name":"Git","icon":"git","unicode":"f1d3","created":4.1,"categories":["Brand Icons"]},{"name":"Hacker News","icon":"hacker-news","unicode":"f1d4","created":4.1,"categories":["Brand Icons"]},{"name":"Tencent Weibo","icon":"tencent-weibo","unicode":"f1d5","created":4.1,"categories":["Brand Icons"]},{"name":"QQ","icon":"qq","unicode":"f1d6","created":4.1,"categories":["Brand Icons"]},{"name":"Weixin (WeChat)","icon":"weixin","unicode":"f1d7","created":4.1,"aliases":["wechat"],"categories":["Brand Icons"]},{"name":"Paper Plane","icon":"paper-plane","unicode":"f1d8","created":4.1,"aliases":["send"],"categories":["Web Application Icons"]},{"name":"Paper Plane Outlined","icon":"paper-plane-o","unicode":"f1d9","created":4.1,"aliases":["send-o"],"categories":["Web Application Icons"]},{"name":"History","icon":"history","unicode":"f1da","created":4.1,"categories":["Web Application Icons"]},{"name":"Circle Outlined Thin","icon":"circle-thin","unicode":"f1db","created":4.1,"categories":["Web Application Icons"]},{"name":"header","icon":"header","unicode":"f1dc","created":4.1,"categories":["Text Editor Icons"]},{"name":"paragraph","icon":"paragraph","unicode":"f1dd","created":4.1,"categories":["Text Editor Icons"]},{"name":"Sliders","icon":"sliders","unicode":"f1de","created":4.1,"categories":["Web Application Icons"]},{"name":"Share Alt","icon":"share-alt","unicode":"f1e0","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Share Alt Square","icon":"share-alt-square","unicode":"f1e1","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Bomb","icon":"bomb","unicode":"f1e2","created":4.1,"categories":["Web Application Icons"]}]}');function Or(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Pr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Cr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 17.5c2.33 0 4.3-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5M8.5 11A1.5 1.5 0 0 0 10 9.5A1.5 1.5 0 0 0 8.5 8A1.5 1.5 0 0 0 7 9.5A1.5 1.5 0 0 0 8.5 11m7 0A1.5 1.5 0 0 0 17 9.5A1.5 1.5 0 0 0 15.5 8A1.5 1.5 0 0 0 14 9.5a1.5 1.5 0 0 0 1.5 1.5M12 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8m0-18C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"})),Br=null,Ar=function e(t){var o=Or((0,De.useState)(!1),2),r=o[0],n=o[1],a=Or((0,De.useState)(!1),2),l=a[0],i=a[1],c=Or((0,De.useState)("fontawesome"),2),s=c[0],u=c[1],d=Or((0,De.useState)([]),2),m=d[0],p=d[1],g=Or((0,De.useState)(!1),2),f=g[0],b=g[1],y=Or((0,De.useState)(""),2),R=y[0],_=y[1],w=Or((0,De.useState)(null==m?void 0:m.length),2),h=w[0],E=w[1],v=Or((0,De.useState)(1),2),O=v[0],P=v[1],C=(0,So.useInstanceId)(e,"iconControl"),B=null!==t.showReset?t.showReset:void 0!==t.value&&t.value!==t.defaultValue&&t.value!==t.placeholder,A=function(e,t,o){return e.slice((o-1)*t,o*t)};(0,De.useEffect)((function(){var e,t,o,r=(e=R,t=vr[s],o=e.toLowerCase(),t.filter((function(e){return e.name.toLowerCase().indexOf(o)>=0})));E(null==r?void 0:r.length),p(A(r,25,O))}),[O,R]),(0,De.useEffect)((function(){P(1)}),[R]),(0,De.useEffect)((function(){return clearTimeout(Br),b(!0),Br=setTimeout((function(){var e;P(1),p(A(vr[s],25,O)),E(null===(e=vr[s])||void 0===e?void 0:e.length),b(!1)}),200),function(){clearTimeout(Br)}}),[s]),(0,De.useEffect)((function(){b(!1)}),[]);var W,S,k=function(e){P("prev"===e?O-1:O+1)},T="dashicon"===s?"dashicons":"fa";return React.createElement("div",{className:"woolentor-icon-control-area woolentor-icon-control-".concat(C)},React.createElement("div",{className:"woolentor-icon-control-wrapper"},React.createElement("div",{className:"woolentor-icon-control-button-wrapper"},React.createElement("div",{className:"woolentor-icon-label"},t.label),React.createElement("div",{className:"woolentor-icon-control-buttons"},React.createElement(de.Button,{variant:"secondary",className:"woolentor-icon-control-icon-button",onClick:function(){l?(n(!1),i(!1)):n(!0)}},t.value&&React.createElement("span",{className:t.value}),!t.value&&React.createElement(de.Icon,{icon:Cr,style:{opacity:.3}})),t.allowReset&&B&&React.createElement(de.Button,{className:"woolentor-inspector-control-reset-button",variant:"tertiary","aria-label":(0,ue.__)("Reset","woolentor"),onClick:function(){t.onReset?t.onReset():t.onChange(t.defaultValue)},icon:React.createElement(de.Dashicon,{icon:"image-rotate"})})),r&&React.createElement(de.Popover,{className:"woolentor-icon-popover",onFocusOutside:function(e){e.target&&e.target.closest(".woolentor-icon-control-".concat(C))?i(!0):(n(!1),i(!1))},onClose:function(){return n(!1)},position:t.position},React.createElement(de.PanelBody,null,React.createElement("div",{className:"woolentor-icon-filter-area"},React.createElement(de.SelectControl,{value:s,options:[{label:(0,ue.__)("FontAwesome","woolentor"),value:"fontawesome"},{label:(0,ue.__)("Dashicon","woolentor"),value:"dashicon"}],onChange:function(e){return u(e)}}),React.createElement(de.TextControl,{className:"woolentor-icon-popover-input",value:R,onChange:_,placeholder:(0,ue.__)("Search for an icon","woolentor")})),React.createElement("div",{className:"woolentor-icon-popover-iconlist"},f&&React.createElement(de.Spinner,null),!f&&m.length>0&&m.map((function(e,o){var r=e.name,a=e.icon,l="".concat(T," ").concat(T,"-").concat(a);return React.createElement(de.Button,{key:o,onClick:function(){t.onChange(l!==t.value?l:t.value),n(!1)},label:r},React.createElement("span",{className:l}))})),!f&&!m.length&&React.createElement("p",{className:"components-base-control__help"},(0,ue.__)("No Icons found !","woolentor"))),React.createElement("div",{className:"woolentor-icon-control-footer"},(W=h,S=Math.ceil(W/25),React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-selector-pages"},"".concat(O," / ").concat(S," (").concat(W,")")),React.createElement("span",{className:"woolentor-next-prev-arrows"},1!==O&&React.createElement("span",{className:"woolentor-arrow-prev dashicons dashicons-arrow-left",onClick:function(){return k("prev")}}),S>O&&React.createElement("span",{className:"woolentor-arrow-next dashicons dashicons-arrow-right",onClick:function(){return k("next")}}))))))))))};Ar.defaultProps={label:(0,ue.__)("Icon","woolentor"),value:"",defaultValue:"",onChange:function(){},allowReset:!0,showReset:null,position:"center"};const Wr=(0,De.memo)(Ar);function Sr(e){return Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sr(e)}function kr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Tr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(o),!0).forEach((function(t){xr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function xr(e,t,o){return r=function(e,t){if("object"!=Sr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Sr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==Sr(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Lr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Nr=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Lr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Lr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(e.value),2),o=t[0],r=t[1],n=o.type,a=o.color,l=o.width,i=function(e,t){var n=Tr({},o);n.hasOwnProperty(t)?n[t]=e:n=Tr(Tr({},n),{},xr({},t,e)),r(n)};return(0,De.useEffect)((function(){e.onChange(o)}),[o]),React.createElement(Xr,{label:e.label,popoverLabel:e.popoverLabel},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:n,options:[{label:(0,ue.__)("None","woolentor"),value:""},{label:(0,ue.__)("Solid","woolentor"),value:"solid"},{label:(0,ue.__)("Double","woolentor"),value:"double"},{label:(0,ue.__)("Dotted","woolentor"),value:"dotted"},{label:(0,ue.__)("Dashed","woolentor"),value:"dashed"},{label:(0,ue.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return i(e,"type")}}),void 0!==n&&""!=n&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:l,attributesKey:"width",setAttributes:function(e){r(Tr(Tr({},o),e))},responsive:e.responsive}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:a,onChange:function(e){return i(e,"color")}}))))};Nr.defaultProps={label:(0,ue.__)("Border","woolentor"),popoverLabel:(0,ue.__)("Border","woolentor"),value:[],onChange:function(){},responsive:!0};const zr=(0,De.memo)(Nr),jr=window.wp.hooks;function Ir(e){return Ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ir(e)}function Mr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Fr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(o),!0).forEach((function(t){Hr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Hr(e,t,o){return(t=qr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Dr(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,qr(r.key),r)}}function qr(e){var t=function(e,t){if("object"!=Ir(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ir(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ir(t)?t:String(t)}function Gr(e,t,o){return t=Ur(t),function(e,t){if(t&&("object"===Ir(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Qr(e)}(e,Kr()?Reflect.construct(t,o||[],Ur(e).constructor):t.apply(e,o))}function Kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Kr=function(){return!!e})()}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ur(e)}function Qr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(e,t){return Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vr(e,t)}var Yr=1,Zr={},Jr=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Gr(this,t,arguments)).state={open:Zr[e.props.label]||!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(Qr(e)),e.handleClose=e.handleClose.bind(Qr(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Qr(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Qr(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Qr(e)),e.handleReset=e.handleReset.bind(Qr(e)),e.buttonRef=(0,De.createRef)(),e.instanceId=Yr++,e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vr(e,t)}(t,e),o=t,r=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var o=!1;return this.props.toggleOnSetAttributes.some((function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(o=!0,0))})),o?Fr(Fr({},e),{},Hr({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){(0,jr.addFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){var e=this;Zr[this.props.label]=this.state.open,setTimeout((function(){delete Zr[e.props.label]}),500),(0,jr.removeFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleReset",value:function(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}},{key:"handleOnClickOutside",value:function(e){var t;null!==(t=window.wp)&&void 0!==t&&null!==(t=t.media)&&void 0!==t&&null!==(t=t.frame)&&void 0!==t&&null!==(t=t.el)&&void 0!==t&&t.clientHeight||this.state.open&&(e.target.closest(".woolentor-button-icon-control__popover")||e.target.closest(".woolentor-button-icon-control__edit")||e.target.closest(".components-color-picker")||this.handleClose())}},{key:"render",value:function(){var e=this;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(this.props);var t=this.props.allowReset||!!this.props.onToggle&&this.props.checked;return React.createElement(de.BaseControl,{help:this.props.help,label:!this.props.onToggle&&React.createElement("label",{htmlFor:"woolentor-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"woolentor-button-icon-control",className:Gt()("woolentor-button-icon-control",this.props.className)},this.props.onToggle&&React.createElement(de.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),React.createElement("div",{className:"woolentor-button-icon-control__wrapper"},React.createElement(de.Button,{onClick:this.handleOpen,className:"woolentor-button-icon-control__edit",label:(0,ue.__)("Edit","woolentor"),variant:"secondary",icon:"edit",id:"woolentor-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&React.createElement(de.Popover,{className:"woolentor-button-icon-control__popover",focusOnMount:"container",onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},React.createElement("div",{className:"woolentor-popover-heading"},(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&React.createElement("span",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.allowReset&&t&&React.createElement(de.Button,{className:"woolentor-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,ue.__)("Reset","woolentor"),onClick:function(){e.props.onReset?e.props.onReset():e.props.onChange(e.props.defaultValue)},icon:React.createElement(de.Dashicon,{icon:"image-rotate"})})),React.createElement(de.PanelBody,null,this.props.children))))}}],r&&Dr(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);Jr.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",renderCustomPreview:null};const Xr=Jr,$r=window.wp.url;function en(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tn(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?tn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var on=function(e){var t=en((0,De.useState)([]),2),o=t[0],r=t[1],n=en(Po(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;(0,De.useEffect)((function(){var e;e=(0,$r.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security}),Ge()({path:e}).then((function(e){return r(e)}))}),[]);var u=function(){var e=[];return Object.keys(o).forEach((function(t){e.push({label:o[t],value:t})})),e};return u().length>0&&(0,De.createElement)(de.SelectControl,{label:i,value:c,options:u(),onChange:s})};on.defaultProps={attribute:"",label:void 0,value:void 0,onChange:void 0};const rn=(0,De.memo)(on);function nn(e){return nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nn(e)}function an(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ln(r.key),r)}}function ln(e){var t=function(e,t){if("object"!=nn(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nn(t)?t:String(t)}function cn(e,t,o){return t=un(t),function(e,t){if(t&&("object"===nn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,sn()?Reflect.construct(t,o||[],un(e).constructor):t.apply(e,o))}function sn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(sn=function(){return!!e})()}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},un(e)}function dn(e,t){return dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dn(e,t)}var mn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cn(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dn(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=(t.columns,t.rows),a=t.productTab,l=t.slider,i=t.productFilterType,c=t.perPage,s=t.customOrder,u=t.orderBy,d=t.order,m=t.selectedCategories,p=t.slitems,g=t.slarrows,f=t.sldots,b=t.slpauseOnHover,y=t.slautolay,R=t.slautoplaySpeed,_=t.slanimationSpeed,w=t.slscrollItem,h=t.sltabletDisplayColumns,E=t.sltabletScrollColumns,v=t.sltabletWidth,O=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,C=t.slMobileWidth;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Layout","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Product Style","woolentor"),value:r,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return o({style:e})}}),React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.RangeControl,{label:(0,ue.__)("Rows","woolentor"),value:n,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(io,{label:(0,ue.__)("Tab","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({productTab:!a})}})),!0!==a&&React.createElement(io,{label:(0,ue.__)("Slider","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({slider:!l})}}))),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Filter By","woolentor"),value:i,options:[{label:(0,ue.__)("Recent Products","woolentor"),value:"recent"},{label:(0,ue.__)("Featured Products","woolentor"),value:"featured"},{label:(0,ue.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,ue.__)("Sale Products","woolentor"),value:"sale"},{label:(0,ue.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,ue.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:c,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(io,{label:(0,ue.__)("Custom Order","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:s,onChange:function(){return o({customOrder:!s})}})),React.createElement(Ko,{title:(0,ue.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:m,type:"multiple"}),s?React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:d,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:u,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),1==l&&!0!==a&&React.createElement(Vt,{title:(0,ue.__)("Slider Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:p,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({slarrows:!g})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:f,onChange:function(){return o({sldots:!f})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:b,onChange:function(){return o({slpauseOnHover:!b})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:y,onChange:function(){return o({slautolay:!y})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:R,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:_,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:w,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,(0,ue.__)("Tablet Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:h,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:v,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,(0,ue.__)("Mobile Phone Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:O,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:C,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"titleAlign",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Action Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBgColor,onChange:function(e){return o({actionBtnBgColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverBgColor,onChange:function(e){return o({actionBtnHoverBgColor:e})}}))),!0===a?React.createElement(Vt,{title:(0,ue.__)("Tab Menu","woolentor")},React.createElement(Dt,{name:"tabmenu",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(zr,{value:t.tabMenuBorder,onChange:function(e){return o({tabMenuBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveBGColor,onChange:function(e){return o({tabMenuActiveBGColor:e})}})),React.createElement(zr,{value:t.tabMenuActiveBorder,onChange:function(e){return o({tabMenuActiveBorder:e})}})))):""),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&an(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const pn=mn;var gn=o(589);function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},bn.apply(this,arguments)}function yn(e,t,o){return(t=wn(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Rn(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wn(r.key),r)}}function wn(e){var t=function(e,t){if("object"!=fn(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=fn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fn(t)?t:String(t)}function hn(e,t,o){return t=vn(t),function(e,t){if(t&&("object"===fn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,En()?Reflect.construct(t,o||[],vn(e).constructor):t.apply(e,o))}function En(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(En=function(){return!!e})()}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vn(e)}function On(e,t){return On=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},On(e,t)}var Pn=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=hn(this,t,[e])).state={productData:[],categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&On(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData(),this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData(),e.attributes.selectedCategories!=i&&this.fetchCategoryData()}},{key:"fetchProductsData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(o.orderBy=this.props.attributes.orderBy,o.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(o.categories=this.props.attributes.selectedCategories),t.length>0&&(o.categories=t);var r=(0,$r.addQueryArgs)("/woolentor/v1/products",o);Ge()({path:r}).then((function(t){return e.setState({productData:t})}))}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:1e3,queryOrder:"ASC",queryType:"regular",querySlug:this.props.attributes.selectedCategories,wpnonce:woolentorData.security},o=(0,$r.addQueryArgs)("/woolentor/v1/category",t);Ge()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;function s(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function u(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}""==c&&l({blockUniqId:i});var d,m={arrows:r.slarrows,prevArrow:React.createElement(u,null),nextArrow:React.createElement(s,null),dots:r.sldots,infinite:!0,autoplay:r.slautolay,autoplaySpeed:r.slautoplaySpeed,speed:r.slanimationSpeed,fade:!1,pauseOnHover:r.slpauseOnHover,slidesToShow:r.slitems,slidesToScroll:r.slscrollItem,rtl:r.slIsrtl,responsive:[{breakpoint:r.sltabletWidth,settings:{slidesToShow:r.sltabletDisplayColumns,slidesToScroll:r.sltabletScrollColumns}},{breakpoint:r.slMobileWidth,settings:{slidesToShow:r.slMobileDisplayColumns,slidesToScroll:r.slMobileScrollColumns}}]},p=Gt()("woolentor-product-tab-area",yn({},"woolentor-grid-columns-".concat(r.columns.desktop),r.columns.desktop),yn({},"woolentor-grid-columns-laptop-".concat(r.columns.laptop),r.columns.laptop),yn({},"woolentor-grid-columns-tablet-".concat(r.columns.tablet),r.columns.tablet),yn({},"woolentor-grid-columns-mobile-".concat(r.columns.mobile),r.columns.mobile),"woolentorblock-".concat(c)),g=Gt()(yn({},"woolentor-grid",1!=r.slider||1==r.slider&&1==r.productTab),yn({},"woolentor-grid-slider",1==r.slider&&!0!==r.productTab)),f=Gt()("product-item",yn({},"product_style_three",3==r.style)),b=Gt()(yn({},"woolentor-grid-column",r.columns.desktop)),y=Be(r,o,c),R=this.state,_=R.productData,w=R.categoryData,h=0,E=!1;_.length>0&&(d=_.map((function(e,t){return h++,r.rows>1&&h%r.rows!=0&&(E=!0),React.createElement("div",{key:t},React.createElement("div",{className:b},React.createElement("div",{className:1==E?f+" mb-30":f},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},(0,De.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{className:"onsale"},(0,ue.__)("Sale!","woolentor")))),1==r.style&&!0===e.wishlist.status?(0,De.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",3==r.style?React.createElement("div",{className:"product_information_area"},React.createElement("div",{className:"actions style_two"},!0===e.wishlist.status?(0,De.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",(0,De.createElement)("div",{className:"woolentor-product-btn"},(0,De.createElement)("a",null,(0,ue.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),(0,De.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))):React.createElement("div",{className:2==r.style?"actions style_two":"actions"},2==r.style?React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.wishlist.status?(0,De.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):""):React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.compare.status?(0,De.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),(0,De.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))))))})));var v,O=function(t){e.fetchProductsData(t.target.getAttribute("dataslug"))},P=0;return r.selectedCategories.length>0&&(v=w.map((function(e,t){return P++,React.createElement(React.Fragment,null,React.createElement("li",null,React.createElement("a",{className:1==P?"htactive":"",href:"#woolentortab"+c+P,onClick:O,dataslug:e.slug},e.name)))}))),React.createElement(De.Fragment,null,a&&React.createElement(pn,this.props),React.createElement("div",{className:"woocommerce"},React.createElement("div",{className:n},React.createElement("div",{className:p},r.productTab&&React.createElement("div",{className:"product-tab-list ht-text-center"},React.createElement("ul",{className:"ht-tab-menus"},v)),0==_.length?React.createElement(de.Spinner,null):React.createElement("div",{className:g},1==r.slider&&!0!==r.productTab?React.createElement(gn.A,bn({},m,{className:"product-slider"}),d):d)))),y)}}],r&&Rn(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Cn=Pn,Bn=React.createElement(de.SVG,{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 359 359",space:"preserve"},React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,0H13C7.5,0,3,4.5,3,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C106,4.5,101.5,0,96,0z M87,84H23V20h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C231,4.5,226.5,0,221,0z M212,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,126H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,130.5,101.5,126,96,126z M87,209H23 v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,130.5,226.5,126,221,126z M212,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C356,4.5,351.5,0,346,0z M337,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,130.5,351.5,126,346,126z M337,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,256H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,260.5,101.5,256,96,256z M87,340H23 v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,260.5,226.5,256,221,256z M212,340h-64v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,260.5,351.5,256,346,256z M337,340h-64v-64h64V340z"})))),An=JSON.parse('{"name":"woolentor/product-tab","category":"woolentor-blocks","title":"WL : Product Tab","description":"Display product.","keywords":["woolentor","product tab","woocommerce product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"style":{"type":"string","default":"1"},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":1},"productTab":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"slitems":{"type":"number","default":4},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a:hover{ color: {{titleHoverColor}}; }"}},"titleAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ text-align: {{titleAlign}}; }"}},"priceColor":{"type":"string","selector":".product-item .product-inner .content .price","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price,{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount{ color: {{priceColor}}; }"}},"actionBtnColor":{"type":"string","selector":".product-item .actions a","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button,{{WOOLENTOR_WRAPPER}} .product-item .actions a::before{ color: {{actionBtnColor}}; }"}},"actionBtnBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions{ background-color: {{actionBtnBgColor}}; }"}},"actionBtnHoverColor":{"type":"string","selector":".product-item .actions a:hover","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button:hover,{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover::before{ color: {{actionBtnHoverColor}}; }"}},"actionBtnHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions:hover{ background-color: {{actionBtnHoverBgColor}}; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ text-align: {{contentAlign}}; }"}},"tabMenuColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ color: {{tabMenuColor}}; }"}},"tabMenuBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ background-color: {{tabMenuBGColor}}; }"}},"tabMenuBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a"}},"tabMenuActiveColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ color: {{tabMenuActiveColor}}; }"}},"tabMenuActiveBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ background-color: {{tabMenuActiveBGColor}}; }"}},"tabMenuActiveBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive"}}}}');var Wn=An.name,Sn=An.category,kn=An.title,Tn=An.description,xn=An.keywords,Ln=An.attributes,Nn={title:(0,ue.__)(kn,"woolentor"),description:(0,ue.__)(Tn,"woolentor"),icon:React.createElement(de.Icon,{icon:Bn}),keywords:xn,attributes:Ln,edit:Cn,save:function(){return null}};const zn=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Product Grid","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Grid Style","woolentor"),value:t.gridStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"},{label:(0,ue.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({gridStyle:e})}}),React.createElement(io,{label:(0,ue.__)("Slider","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.slider,onChange:function(){return o({slider:!t.slider})}})),React.createElement(io,{label:(0,ue.__)("Filterable","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.filterable,onChange:function(){return o({filterable:!t.filterable})}}))),!0!==t.slider&&React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Vt,{title:(0,ue.__)("Query Settings","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Filter By","woolentor"),value:t.productType,options:[{label:(0,ue.__)("Recent Products","woolentor"),value:"recent"},{label:(0,ue.__)("Featured Products","woolentor"),value:"featured"},{label:(0,ue.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,ue.__)("Sale Products","woolentor"),value:"sale"},{label:(0,ue.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,ue.__)("Mixed order Products","woolentor"),value:"mixed_order"},{label:(0,ue.__)("Add ID Manually","woolentor"),value:"show_byid_manually"}],onChange:function(e){return o({productType:e})}}),"show_byid_manually"===t.productType&&React.createElement(de.TextControl,{label:(0,ue.__)("Product IDs","woolentor"),value:t.productIdsManually,onChange:function(e){return o({productIdsManually:e})},help:(0,ue.__)("Add Product ids separated with comma","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(xo,{taxonomy:t.taxonomy,onChangeTaxonomy:function(e){return o({taxonomy:e})}}),""!==t.taxonomy&&React.createElement(de.SelectControl,{label:(0,ue.__)("Category Operator","woolentor"),value:t.catOperator,options:[{label:(0,ue.__)("AND","woolentor"),value:"AND"},{label:(0,ue.__)("IN","woolentor"),value:"IN"},{label:(0,ue.__)("NOT IN","woolentor"),value:"NOT IN"}],onChange:function(e){return o({catOperator:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Custom Order","woolentor"),checked:t.customOrder,onChange:function(){return o({customOrder:!t.customOrder})}}),t.customOrder?React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:t.order,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Vt,{title:(0,ue.__)("Additional Options","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Pagination","woolentor"),checked:t.paginate,onChange:function(){return o({paginate:!t.paginate})}}),t.paginate&&React.createElement(React.Fragment,null,React.createElement(de.ToggleControl,{label:(0,ue.__)("Allow Order","woolentor"),checked:t.allowOrder,onChange:function(){return o({allowOrder:!t.allowOrder})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Result Count","woolentor"),checked:t.showResultCount,onChange:function(){return o({showResultCount:!t.showResultCount})}})),React.createElement(go,{label:(0,ue.__)("Cart Button Settings","woolentor")}),React.createElement(Wr,{label:(0,ue.__)("Add to Cart Button Icon","woolentor"),onReset:function(){return o({addToCartIcon:""})},value:t.addToCartIcon,onChange:function(e){return o({addToCartIcon:e})}}),("1"===t.gridStyle||"2"===t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(de.TextControl,{label:(0,ue.__)("Add to Cart Button Text","woolentor"),value:t.addToCartText,onChange:function(e){return o({addToCartText:e})},placeholder:(0,ue.__)("Add to Cart","woolentor")}),t.addToCartIcon&&React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Add to Cart Icon Position","woolentor"),value:t.buttonIconAlign,options:[{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({buttonIconAlign:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200}))),React.createElement(go,{label:(0,ue.__)("Image Settings","woolentor")}),React.createElement(de.SelectControl,{label:(0,ue.__)("Image Style","woolentor"),value:t.imageLayoutType,options:[{label:(0,ue.__)("Zoom Image","woolentor"),value:"zoom"},{label:(0,ue.__)("Secondary Image","woolentor"),value:"secondary_img"}],onChange:function(e){return o({imageLayoutType:e})}}),React.createElement(go,{label:(0,ue.__)("Content Settings","woolentor")}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Hide Category","woolentor"),checked:t.hideCategory,onChange:function(){return o({hideCategory:!t.hideCategory})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Hide Rating","woolentor"),checked:t.hideRating,onChange:function(){return o({hideRating:!t.hideRating})}})),!0===t.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(go,{label:(0,ue.__)("Tablet Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(go,{label:(0,ue.__)("Mobile Phone Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item Style","woolentor"),initialOpen:!0},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(zr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(zr,{label:(0,ue.__)("Hover Border","woolentor"),value:t.itemHoverBorder,onChange:function(e){return o({itemHoverBorder:e})}}),React.createElement(wt.PanelColorSettings,{title:(0,ue.__)("Background Color Settings"),showTitle:!1,colorSettings:[{value:t.itemBGColor,onChange:function(e){return o({itemBGColor:e})},label:(0,ue.__)("Background Color","woolentor")},{value:t.itemBGHoverColor,onChange:function(e){return o({itemBGHoverColor:e})},label:(0,ue.__)("Background Hover Color","woolentor")}]})),React.createElement(Vt,{title:(0,ue.__)("Content Style","woolentor"),initialOpen:!1},React.createElement(go,{label:(0,ue.__)("Title","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0}),React.createElement(go,{label:(0,ue.__)("Category","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.categoryColor,onChange:function(e){return o({categoryColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.categoryHoverColor,onChange:function(e){return o({categoryHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.categorySize,fallbackFontSize:t.categorySize,onChange:function(e){return o({categorySize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.categoryMargin,attributesKey:"categoryMargin",setAttributes:o,responsive:!0}),React.createElement(go,{label:(0,ue.__)("Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0}),React.createElement(go,{label:(0,ue.__)("Rating","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Action Button Style","woolentor"),initialOpen:!1},React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:t.actionBtnSize,onChange:function(e){return o({actionBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(Dt,{name:"actionbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionBtnBorder,onChange:function(e){return o({actionBtnBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionBtnHoverBorder,onChange:function(e){return o({actionBtnHoverBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBGHoverColor,onChange:function(e){return o({actionBtnBGHoverColor:e})}})))),("1"==t.gridStyle||"3"==t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Add To Cart Button","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:t.actionCartBtnSize,onChange:function(e){return o({actionCartBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.actionCartBtnBorderRadius,attributesKey:"actionCartBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(de.RangeControl,{label:(0,ue.__)("Icon Size","woolentor"),value:t.actionCartBtnIconSize,onChange:function(e){return o({actionCartBtnIconSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(Dt,{name:"actioncartbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnColor,onChange:function(e){return o({actionCartBtnColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionCartBtnBorder,onChange:function(e){return o({actionCartBtnBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnBGColor,onChange:function(e){return o({actionCartBtnBGColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnHoverColor,onChange:function(e){return o({actionCartBtnHoverColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionCartBtnHoverBorder,onChange:function(e){return o({actionCartBtnHoverBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnBGHoverColor,onChange:function(e){return o({actionCartBtnBGHoverColor:e})}})))))),!0===t.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(zr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(zr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(zr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(zr,{value:t.paginationActiveBorder,onChange:function(e){return o({paginationActiveBorder:e})}}))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))},jn=window.wp.serverSideRender;var In=o.n(jn);function Mn(e){return Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mn(e)}function Fn(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hn(r.key),r)}}function Hn(e){var t=function(e,t){if("object"!=Mn(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Mn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mn(t)?t:String(t)}function Dn(e,t,o){return t=Gn(t),function(e,t){if(t&&("object"===Mn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qn()?Reflect.construct(t,o||[],Gn(e).constructor):t.apply(e,o))}function qn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qn=function(){return!!e})()}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gn(e)}function Kn(e,t){return Kn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kn(e,t)}var Un=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Dn(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kn(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(this.customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:this.props.attributes.blockUniqId}}),e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=Hn(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Be(t,l,i);return document.dispatchEvent(this.customEvent),React.createElement(De.Fragment,null,r&&React.createElement(zn,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{columns:t.columns,gridStyle:t.gridStyle,noGutter:t.noGutter,taxonomy:t.taxonomy,productType:t.productType,perPage:t.perPage,orderBy:t.orderBy,order:t.order,paginate:t.paginate,productIdsManually:t.productIdsManually,hideCategory:t.hideCategory,hideRating:t.hideRating,slider:t.slider,sliderItems:t.sliderItems,arrows:t.arrows,dots:t.dots,pauseOnHover:t.pauseOnHover,autoplay:t.autoplay,autoplaySpeed:t.autoplaySpeed,animationSpeed:t.animationSpeed,scrollColumns:t.scrollColumns,tabletDisplayColumns:t.tabletDisplayColumns,tabletScrollColumns:t.tabletScrollColumns,tabletWidth:t.tabletWidth,mobileDisplayColumns:t.mobileDisplayColumns,mobileScrollColumns:t.mobileScrollColumns,mobileWidth:t.mobileWidth,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&Fn(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Qn=Un,Vn=JSON.parse('{"name":"woolentor/product-grid","category":"woolentor-blocks","title":"WL: Product Grid","description":"Display Product Grid.","keywords":["woolentor","product","Grid","woocommerce","shop product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"gridStyle":{"type":"string","default":"1"},"filterable":{"type":"boolean","default":false},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"productType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":3},"taxonomy":{"type":"string"},"catOperator":{"type":"string","default":"IN"},"productIdsManually":{"type":"string"},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"paginate":{"type":"boolean","default":false},"allowOrder":{"type":"boolean","default":false},"showResultCount":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"addToCartText":{"type":"string","default":"Add To Cart"},"addToCartIcon":{"type":"string","default":"fa fa-plus"},"buttonIconAlign":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"addToCartIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-right i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-left: {{iconSpecing}}px; }{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-left i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-right: {{iconSpecing}}px; }"}},"imageLayoutType":{"type":"string","default":"zoom"},"hideCategory":{"type":"boolean","default":false},"hideRating":{"type":"boolean","default":false},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2"}},"itemPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { padding: {{itemPadding}}; }"}},"itemBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { background-color: {{itemBGColor}}; }"}},"itemBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover { background-color: {{itemBGHoverColor}}; }"}},"itemHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a:hover { color: {{titleHoverColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 { margin: {{titleMargin}}; }"}},"categoryColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { color: {{categoryColor}}; }"}},"categoryHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a:hover { color: {{categoryHoverColor}}; }"}},"categorySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { font-size: {{categorySize}}; }"}},"categoryMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 { margin: {{categoryMargin}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2,{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { font-size: {{priceSize}}; }"}},"priceMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 { margin: {{priceMargin}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 i { color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 { margin: {{ratingMargin}}; }"}},"actionBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ font-size: {{actionBtnSize}}px; }"}},"actionBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ border-radius: {{actionBtnBorderRadius}}; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { color: {{actionBtnColor}}; }"}},"actionBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { background-color: {{actionBtnBGColor}}; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { color: {{actionBtnHoverColor}}; }"}},"actionBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { background-color: {{actionBtnBGHoverColor}}; }"}},"actionBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover"}},"actionCartBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ font-size: {{actionCartBtnSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ border-radius: {{actionCartBtnBorderRadius}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnIconSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a i{ font-size: {{actionCartBtnIconSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { color: {{actionCartBtnColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { background-color: {{actionCartBtnBGColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { color: {{actionCartBtnHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { background-color: {{actionCartBtnBGHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),Yn=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var Zn=Vn.name,Jn=Vn.title,Xn=Vn.description,$n=Vn.category,ea=Vn.attributes,ta=Vn.keywords,oa=Vn.supports,ra={title:(0,ue.__)(Jn,"woolentor"),description:(0,ue.__)(Xn,"woolentor"),icon:React.createElement(de.Icon,{icon:Yn}),keywords:ta,supports:oa,attributes:ea,edit:Qn,save:function(){return null}};function na(e){return na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},na(e)}function aa(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,la(r.key),r)}}function la(e){var t=function(e,t){if("object"!=na(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=na(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==na(t)?t:String(t)}function ia(e,t,o){return t=sa(t),function(e,t){if(t&&("object"===na(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ca()?Reflect.construct(t,o||[],sa(e).constructor):t.apply(e,o))}function ca(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ca=function(){return!!e})()}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sa(e)}function ua(e,t){return ua=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ua(e,t)}var da=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ia(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ua(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.contentAlignment,a=t.buttonUrl;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Banner Style","woolentor"),value:r,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return o({style:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Content Alignment","woolentor"),value:n,options:[{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"},{label:(0,ue.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return o({contentAlignment:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Link","woolentor"),value:a,onChange:function(e){return o({buttonUrl:e})},help:"Please provide a valid URL format."}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBackground,onChange:function(e){return o({areaBackground:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Sub Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&aa(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ma=da;var pa=o(609),ga=o.n(pa);const fa=window.wp.primitives,ba=(0,pa.createElement)(fa.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,pa.createElement)(fa.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));function ya(e){return ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ya(e)}function Ra(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function _a(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wa(r.key),r)}}function wa(e){var t=function(e,t){if("object"!=ya(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ya(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ya(t)?t:String(t)}function ha(e,t,o){return t=va(t),function(e,t){if(t&&("object"===ya(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Oa(e)}(e,Ea()?Reflect.construct(t,o||[],va(e).constructor):t.apply(e,o))}function Ea(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ea=function(){return!!e})()}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},va(e)}function Oa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pa(e,t){return Pa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pa(e,t)}var Ca=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=ha(this,t,arguments)).addImage=e.addImage.bind(Oa(e)),e.onSelectImage=e.onSelectImage.bind(Oa(e)),e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pa(e,t)}(t,e),o=t,r=[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;(0,wt.MediaUpload)({allowedTypes:["image","png"],filesList:e,onFileChange:function(e){var o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ra(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ra(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,1)[0];return t.onSelectImage(o)}})}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.clientId,l=e.setAttributes,i=o.title,c=o.subTitle,s=o.imgUrl,u=o.style,d=o.contentAlignment,m=o.buttonText,p=o.buttonUrl,g=o.blockUniqId;""==g&&l({blockUniqId:a});var f=function(e){return l({imgUrl:e.url,imgId:e.id})},b=Be(o,t,g);return React.createElement(De.Fragment,null,n&&React.createElement(ma,this.props),React.createElement("div",{className:"woolentorblock-".concat(g," ").concat(r)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+u+" woolentor-content-align-"+d},React.createElement("div",{className:"woolentor-content"},React.createElement(wt.RichText,{tagName:"h3",className:"banner_subtitle",value:c,onChange:function(e){return l({subTitle:e})},placeholder:(0,ue.__)("Banner sub title...","woolentor"),style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(wt.RichText,{tagName:"h2",className:"banner_title",value:i,onChange:function(e){return l({title:e})},placeholder:(0,ue.__)("Banner title...","woolentor"),style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(wt.RichText,{tagName:"a",className:"banner_button",value:m,onChange:function(e){return l({buttonText:e})},placeholder:(0,ue.__)("Shop Now ....","woolentor"),href:p,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),s?React.createElement("div",{className:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:s,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t},s?(0,ue.__)("Replace Image","woolentor"):React.createElement(wt.BlockIcon,{icon:ba}))}})))):React.createElement("div",{className:"woolentor-banner-img"},React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t},s?(0,ue.__)("Replace Image","woolentor"):React.createElement(wt.BlockIcon,{icon:ba}))}}))))),b)}}],r&&_a(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ba=Ca,Aa=JSON.parse('{"name":"woolentor/promo-banner","category":"woolentor-blocks","title":"WL : Promo Banner","description":"Display promo banner.","keywords":["woolentor","product banner","woocommerce promo","promo banner"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"contentAlignment":{"type":"string","default":"left"},"areaBackground":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner{ background-color: {{areaBackground}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { margin: {{areaMargin}}; }"}},"title":{"type":"string","default":"","selector":".banner_title"},"subTitle":{"type":"string","default":"","selector":".banner_subtitle"},"imgId":{"type":"number"},"imgUrl":{"type":"string","source":"attribute","attribute":"src","selector":"img"},"buttonUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"buttonText":{"type":"string","source":"html","selector":"a"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"titleColor":{"type":"string","selector":".woolentor-banner .banner_title"},"titleSize":{"type":"string"},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { padding: {{titlePadding}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","selector":".woolentor-banner .banner_subtitle"},"subTitleSize":{"type":"string"},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { padding: {{subTitlePadding}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { margin: {{subTitleMargin}}; }"}},"buttonColor":{"type":"string","selector":".woolentor-banner .banner_button"},"buttonSize":{"type":"string"},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { padding: {{buttonPadding}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { margin: {{buttonMargin}}; }"}}}}'),Wa=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var Sa=Aa.name,ka=Aa.category,Ta=Aa.title,xa=Aa.description,La=Aa.keywords,Na=Aa.attributes,za=Aa.supports,ja={title:(0,ue.__)(Ta,"woolentor"),description:(0,ue.__)(xa,"woolentor"),icon:React.createElement(de.Icon,{icon:Wa}),keywords:La,supports:za,attributes:Na,edit:Ba,save:function(e){var t=e.className,o=e.attributes,r=o.title,n=o.subTitle,a=o.imgUrl,l=o.style,i=o.contentAlignment,c=o.buttonText,s=o.buttonUrl,u=o.blockUniqId;return React.createElement("div",{className:"woolentorblock-".concat(u," ").concat(t)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+i},React.createElement("div",{className:"woolentor-content"},React.createElement(wt.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:n,style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(wt.RichText.Content,{tagName:"h2",className:"banner_title",value:r,style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(wt.RichText.Content,{tagName:"a",className:"banner_button",href:(0,$r.isURL)(s)?s:"#",value:c,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},s&&(0,$r.isURL)(s)?React.createElement("a",{href:s},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r})):React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r}))))}};function Ia(e){return Ia="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ia(e)}function Ma(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fa(r.key),r)}}function Fa(e){var t=function(e,t){if("object"!=Ia(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ia(t)?t:String(t)}function Ha(e,t,o){return t=qa(t),function(e,t){if(t&&("object"===Ia(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Da()?Reflect.construct(t,o||[],qa(e).constructor):t.apply(e,o))}function Da(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Da=function(){return!!e})()}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qa(e)}function Ga(e,t){return Ga=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ga(e,t)}var Ka=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ha(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ga(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.title,n=t.contentPosition,a=t.bannerImage,l=t.badgeImage,i=t.badgeHorizontalPos,c=t.badgeVerticlePos;return React.createElement(React.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Content Position","woolentor"),value:n,options:[{label:(0,ue.__)("Top","woolentor"),value:"top"},{label:(0,ue.__)("Center","woolentor"),value:"center"},{label:(0,ue.__)("Bottom","woolentor"),value:"bottom"},{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({contentPosition:e})}}),React.createElement(Jo,{title:(0,ue.__)("Banner image","woolentor"),ImageData:a,attribute:"bannerImage"}),React.createElement(Jo,{title:(0,ue.__)("Badge image","woolentor"),ImageData:l,attribute:"badgeImage"}),l.id&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Badge Horizontal Position","woolentor"),value:i,onChange:function(e){return o({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Badge Vertical Position","woolentor"),value:c,onChange:function(e){return o({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),value:r,placeholder:(0,ue.__)("Banner Title","woolentor"),onChange:function(e){return o({title:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Sub Title","woolentor"),placeholder:(0,ue.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return o({subTitle:e})}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Description","woolentor"),help:(0,ue.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return o({bannerDescription:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Offer Amount","woolentor"),placeholder:(0,ue.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return o({offerAmount:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:(0,ue.__)("off","woolentor"),onChange:function(e){return o({offerTagLine:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:(0,ue.__)("https://your-link.com","woolentor"),onChange:function(e){return o({bannerLink:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,ue.__)("Shop Now","woolentor"),onChange:function(e){return o({buttonText:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Content Area","woolentor")},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Sub Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleSubColor,onChange:function(e){return o({titleSubColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return o({titleSubSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.desColor,onChange:function(e){return o({desColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return o({desSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Offer Amount","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.offerColor,onChange:function(e){return o({offerColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return o({offerSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Offer Tag Line","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.offerTagColor,onChange:function(e){return o({offerTagColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return o({offerTagSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonHoverColor,onChange:function(e){return o({buttonHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&Ma(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ua=Ka;function Qa(e){return Qa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qa(e)}function Va(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ya(r.key),r)}}function Ya(e){var t=function(e,t){if("object"!=Qa(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qa(t)?t:String(t)}function Za(e,t,o){return t=Xa(t),function(e,t){if(t&&("object"===Qa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ja()?Reflect.construct(t,o||[],Xa(e).constructor):t.apply(e,o))}function Ja(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ja=function(){return!!e})()}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xa(e)}function $a(e,t){return $a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$a(e,t)}var el=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512",className:"woolentor-banner-default"},React.createElement("g",null,React.createElement("path",{d:"M446.575,0H65.425C29.349,0,0,29.35,0,65.426v381.149C0,482.65,29.349,512,65.425,512h381.15 C482.651,512,512,482.65,512,446.574V65.426C512,29.35,482.651,0,446.575,0z M481.842,446.575 c0,19.447-15.821,35.267-35.267,35.267H65.425c-19.447,0-35.268-15.821-35.268-35.267v-55.007l99.255-84.451 c3.622-3.082,8.906-3.111,12.562-0.075l62.174,51.628c5.995,4.977,14.795,4.569,20.304-0.946L372.181,209.77 c2.67-2.675,5.783-2.935,7.408-2.852c1.62,0.083,4.695,0.661,7.078,3.596l95.176,117.19V446.575z M481.842,279.865l-71.766-88.366 c-7.117-8.764-17.666-14.122-28.942-14.701c-11.268-0.57-22.317,3.672-30.294,11.662L212.832,326.681l-51.59-42.839 c-14.959-12.422-36.563-12.293-51.373,0.308l-79.712,67.822V65.426c0-19.447,15.821-35.268,35.268-35.268h381.15 c19.447,0,35.267,15.821,35.267,35.268V279.865z"})),React.createElement("g",null,React.createElement("path",{d:"M161.174,62.995c-40.095,0-72.713,32.62-72.713,72.713c0,40.094,32.619,72.713,72.713,72.713s72.713-32.619,72.713-72.713 S201.269,62.995,161.174,62.995z M161.174,178.264c-23.466,0-42.556-19.091-42.556-42.556c0-23.466,19.09-42.556,42.556-42.556 c23.466,0,42.556,19.091,42.556,42.556S184.64,178.264,161.174,178.264z"}))),tl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Za(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$a(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()("wlspcial-banner",(c={},s="woolentor-banner-content-pos-"+o.contentPosition,u=o.contentPosition,(s=Ya(s))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Ua,this.props),React.createElement("div",{className:r},React.createElement("div",{className:d},React.createElement("div",{className:"banner-thumb"},React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.bannerImage.url?React.createElement("img",{src:o.bannerImage.url,alt:"Banner"}):React.createElement("div",{className:"woolentor-default-banner"},el))),o.badgeImage.url&&React.createElement("div",{className:"wlbanner-badgeimage"},React.createElement("img",{src:o.badgeImage.url,alt:"Banner Badge"})),React.createElement("div",{className:"banner-content"},o.title&&React.createElement("h2",null,o.title),o.subTitle&&React.createElement("h6",null,o.subTitle),o.offerAmount&&React.createElement("h5",null,o.offerAmount,React.createElement("span",null,o.offerTagLine)),o.bannerDescription&&React.createElement("p",null,o.bannerDescription),o.buttonText&&React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.buttonText)))),m)}}],r&&Va(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ol=tl,rl=JSON.parse('{"name":"woolentor/special-day-offer","category":"woolentor-blocks","title":"WL : Special Day Offer","description":"Display spesial day offer banner.","keywords":["woolentor","shop banner","banner","special day","offer","special offer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"contentPosition":{"type":"string","default":"center"},"bannerImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Banner Title"},"subTitle":{"type":"string","default":"Banner Sub Title"},"bannerDescription":{"type":"string","default":"Banner Description"},"offerAmount":{"type":"string"},"offerTagLine":{"type":"string"},"bannerLink":{"type":"string"},"buttonText":{"type":"string"},"badgeImage":{"type":"object","default":{"id":null,"url":""}},"badgeHorizontalPos":{"type":"number","default":25,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { left: {{badgeHorizontalPos}}%; }"}},"badgeVerticlePos":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { top: {{badgeVerticlePos}}%; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { margin: {{titleMargin}}; }"}},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { padding: {{titlePadding}}; }"}},"titleSubColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { color: {{titleSubColor}}; }"}},"titleSubSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { font-size: {{titleSubSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { margin: {{subTitleMargin}}; }"}},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { padding: {{subTitlePadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { text-align: {{contentAlignment}}; }"}},"contentAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { padding: {{contentAreaPadding}}; }"}},"contentAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { margin: {{contentAreaMargin}}; }"}},"desColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ color: {{desColor}}; }"}},"desSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ font-size: {{desSize}}; }"}},"desMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ margin: {{desMargin}}; }"}},"desPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ padding: {{desPadding}}; }"}},"offerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ color: {{offerColor}}; }"}},"offerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ font-size: {{offerSize}}; }"}},"offerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ margin: {{offerMargin}}; }"}},"offerTagColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ color: {{offerTagColor}}; }"}},"offerTagSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ font-size: {{offerTagSize}}; }"}},"offerTagMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ margin: {{offerTagMargin}}; }"}},"buttonColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ color: {{buttonColor}}; }"}},"buttonHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a:hover{ color: {{buttonHoverColor}}; }"}},"buttonSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ font-size: {{buttonSize}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ margin: {{buttonMargin}}; }"}}}}'),nl=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var al=rl.name,ll=rl.category,il=rl.title,cl=rl.description,sl=rl.keywords,ul=rl.attributes,dl=rl.supports,ml={title:(0,ue.__)(il,"woolentor"),description:(0,ue.__)(cl,"woolentor"),icon:React.createElement(de.Icon,{icon:nl}),keywords:sl,attributes:ul,supports:dl,edit:ol,save:function(){return null}};function pl(e){return pl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pl(e)}function gl(e){return function(e){if(Array.isArray(e))return fl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return fl(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fl(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function bl(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yl(r.key),r)}}function yl(e){var t=function(e,t){if("object"!=pl(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=pl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pl(t)?t:String(t)}function Rl(e,t,o){return t=wl(t),function(e,t){if(t&&("object"===pl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_l()?Reflect.construct(t,o||[],wl(e).constructor):t.apply(e,o))}function _l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_l=function(){return!!e})()}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wl(e)}function hl(e,t){return hl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hl(e,t)}var El=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Rl(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hl(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.style,l=r.bgProperty,i=function(e,t,o){var a=gl(r.markerList);a[o][t]=e,n({markerList:a})};return r.markerList.length&&(e=r.markerList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.markerList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=gl(r.markerList);t.splice(e,1),n({markerList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Marker Title","woolentor"),value:r.markerList[o].title,onChange:function(e){return i(e,"title",o)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Marker Content","woolentor"),value:r.markerList[o].content,onChange:function(e){return i(e,"content",o)}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Horizontal Postion","woolentor"),value:r.markerList[o].horizontal,onChange:function(e){return i(e,"horizontal",o)},min:-1e3,step:1,max:1e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Vertical Postion","woolentor"),value:r.markerList[o].verticle,onChange:function(e){return i(e,"verticle",o)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Image","woolentor"),initialOpen:!0},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:n,bgProperty:l})),React.createElement(Vt,{title:(0,ue.__)("Marker","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:a,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"},{label:(0,ue.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return n({style:e})}}),e,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=gl(r.markerList);e.push({title:(0,ue.__)("Marker Item #"+(r.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({markerList:e}),t.setState({activeClass:r.markerList.length})}.bind(this)},(0,ue.__)("Add Marker","woolentor")))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Marker","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerColor,onChange:function(e){return n({markerColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerBGColor,onChange:function(e){return n({markerBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerBorderColor,onChange:function(e){return n({markerBorderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:r.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:n}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:r.markerPadding,attributesKey:"markerPadding",setAttributes:n})),React.createElement(Vt,{title:(0,ue.__)("Content Area","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerContentBGColor,onChange:function(e){return n({markerContentBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:r.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:n}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:r.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:n})),React.createElement(Vt,{title:(0,ue.__)("Marker Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerTitleColor,onChange:function(e){return n({markerTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerTitleSize,fallbackFontSize:r.markerTitleSize,onChange:function(e){return n({markerTitleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:r.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:n})),React.createElement(Vt,{title:(0,ue.__)("Marker Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerDescriptionColor,onChange:function(e){return n({markerDescriptionColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerDescriptionSize,fallbackFontSize:r.markerDescriptionSize,onChange:function(e){return n({markerDescriptionSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:r.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:n}))))}}],r&&bl(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const vl=El;function Ol(e){return Ol="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ol(e)}function Pl(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Cl(r.key),r)}}function Cl(e){var t=function(e,t){if("object"!=Ol(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ol(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ol(t)?t:String(t)}function Bl(e,t,o){return t=Wl(t),function(e,t){if(t&&("object"===Ol(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Al()?Reflect.construct(t,o||[],Wl(e).constructor):t.apply(e,o))}function Al(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Al=function(){return!!e})()}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wl(e)}function Sl(e,t){return Sl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sl(e,t)}var kl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Bl(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sl(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.bgProperty;""==i&&a({blockUniqId:l});var s,u,d,m=Gt()((s={},u="wlb-marker-style-".concat(o.style),d=o.style,(u=Cl(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-".concat(i)),p=".wlb-marker-style-".concat(o.style,"{\n\t\t\t").concat(c.imageUrl&&"background-image:url("+c.imageUrl+");","\n\t\t\t").concat(c.position&&"background-position:"+c.position+";","\n\t\t\t").concat(c.attachment&&"background-attachment:"+c.attachment+";","\n\t\t\t").concat(c.repeat&&"background-repeat:"+c.repeat+";","\n\t\t\t").concat(c.size&&"background-size:"+c.size+";","\n\t\t}"),g=Be(o,t,i),f=o.markerList.map((function(e,t){return React.createElement("div",{key:t,className:"wlb_image_pointer",style:{left:"".concat(e.horizontal,"%"),top:"".concat(e.verticle,"%")}},React.createElement("div",{className:"wlb_pointer_box"},e.title&&React.createElement("h4",null,e.title),e.content&&React.createElement("p",null,e.content)))}));return React.createElement(De.Fragment,null,n&&React.createElement(vl,this.props),React.createElement("div",{className:r},React.createElement("div",{className:m},f)),React.createElement("style",{type:"text/css"},p),g)}}],r&&Pl(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Tl=kl,xl=JSON.parse('{"name":"woolentor/image-marker","category":"woolentor-blocks","title":"WL : Image Marker","description":"Display image marker.","keywords":["woolentor","shop idicator","image indicator","marker","image marker"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"bgProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"style":{"type":"string","default":"1"},"markerList":{"type":"array","default":[{"title":"Marker One","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":50,"verticle":15},{"title":"Marker Two","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":40,"verticle":20},{"title":"Marker Three","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":60,"verticle":30}]},"markerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer::before { color: {{markerColor}}; }"}},"markerBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { background-color: {{markerBGColor}}; }"}},"markerBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-color: {{markerBorderColor}}; }"}},"markerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-radius: {{markerBorderRadius}}; }"}},"markerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { padding: {{markerPadding}}; }"}},"markerContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { background-color: {{markerContentBGColor}}; }"}},"markerContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { border-radius: {{markerContentBorderRadius}}; }"}},"markerContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { padding: {{markerContentPadding}}; }"}},"markerTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { color: {{markerTitleColor}}; }"}},"markerTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { font-size: {{markerTitleSize}}; }"}},"markerTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { margin: {{markerTitleMargin}}; }"}},"markerDescriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { color: {{markerDescriptionColor}}; }"}},"markerDescriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { font-size: {{markerDescriptionSize}}; }"}},"markerDescriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { margin: {{markerDescriptionMargin}}; }"}}}}'),Ll=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 193.826 193.826",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M191.495,55.511L137.449,1.465c-1.951-1.953-5.119-1.953-7.07,0l-0.229,0.229c-3.314,3.313-5.14,7.72-5.14,12.406 c0,3.019,0.767,5.916,2.192,8.485l-56.55,48.533c-4.328-3.868-9.852-5.985-15.703-5.985c-6.305,0-12.232,2.455-16.689,6.913 l-0.339,0.339c-1.953,1.952-1.953,5.118,0,7.07l32.378,32.378l-31.534,31.533c-0.631,0.649-15.557,16.03-25.37,28.27 c-9.345,11.653-11.193,13.788-11.289,13.898c-1.735,1.976-1.639,4.956,0.218,6.822c0.973,0.977,2.256,1.471,3.543,1.471 c1.173,0,2.349-0.41,3.295-1.237c0.083-0.072,2.169-1.885,13.898-11.289c12.238-9.813,27.619-24.74,28.318-25.421l31.483-31.483 l30.644,30.644c0.976,0.977,2.256,1.465,3.535,1.465s2.56-0.488,3.535-1.465l0.339-0.339c4.458-4.457,6.913-10.385,6.913-16.689 c0-5.851-2.118-11.375-5.985-15.703l48.533-56.55c2.569,1.425,5.466,2.192,8.485,2.192c4.687,0,9.093-1.825,12.406-5.14l0.229-0.229 C193.448,60.629,193.448,57.463,191.495,55.511z"}));var Nl=xl.name,zl=xl.category,jl=xl.title,Il=xl.description,Ml=xl.supports,Fl=xl.keywords,Hl=xl.attributes,Dl={title:(0,ue.__)(jl,"woolentor"),description:(0,ue.__)(Il,"woolentor"),icon:React.createElement(de.Icon,{icon:Ll}),keywords:Fl,supports:Ml,attributes:Hl,edit:Tl,save:function(){return null}};const ql=function(e){var t=e.attributes,o=e.setAttributes,r=t.title,n=t.subTitle,a=t.layout,l=t.featureImage;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:a,options:[{label:(0,ue.__)("Layout One","woolentor"),value:"1"},{label:(0,ue.__)("Layout Two","woolentor"),value:"2"},{label:(0,ue.__)("Layout Three","woolentor"),value:"3"},{label:(0,ue.__)("Layout Four","woolentor"),value:"4"},{label:(0,ue.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return o({layout:e})}}),React.createElement(Jo,{title:(0,ue.__)("Image","woolentor"),ImageData:l,attribute:"featureImage"}),React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),value:r,onChange:function(e){return o({title:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Sub Title","woolentor"),value:n,onChange:function(e){return o({subTitle:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor")},React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBorderColor,onChange:function(e){return o({areaBorderColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaHoverBorderColor,onChange:function(e){return o({areaHoverBorderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Sub Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}))))};function Gl(e){return Gl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gl(e)}function Kl(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ul(r.key),r)}}function Ul(e){var t=function(e,t){if("object"!=Gl(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Gl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gl(t)?t:String(t)}function Ql(e,t,o){return t=Yl(t),function(e,t){if(t&&("object"===Gl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vl()?Reflect.construct(t,o||[],Yl(e).constructor):t.apply(e,o))}function Vl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vl=function(){return!!e})()}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yl(e)}function Zl(e,t){return Zl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zl(e,t)}var Jl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ql(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zl(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(wt.BlockControls,null,React.createElement(wt.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return o({textAlignment:e})}})))}}],r&&Kl(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Xl=Jl;function $l(e){return $l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$l(e)}function ei(e,t,o){return(t=oi(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ti(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,oi(r.key),r)}}function oi(e){var t=function(e,t){if("object"!=$l(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=$l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$l(t)?t:String(t)}function ri(e,t,o){return t=ai(t),function(e,t){if(t&&("object"===$l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ni()?Reflect.construct(t,o||[],ai(e).constructor):t.apply(e,o))}function ni(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ni=function(){return!!e})()}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ai(e)}function li(e,t){return li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},li(e,t)}var ii=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ri(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&li(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.className,r=e.attributes,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=r.blockUniqId,c=r.featureImage;""==i&&a({blockUniqId:l});var s=Gt()(o,ei({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+r.layout,r.layout),ei({},"woolentor-text-align-"+r.textAlignment,r.textAlignment),"woolentorblock-".concat(i)),u=Be(r,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(ql,this.props),n&&React.createElement(Xl,this.props),React.createElement("div",{className:s},React.createElement("div",{className:"ht-feature-inner"},c.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:c.url,alt:r.title})),React.createElement("div",{className:"ht-feature-content"},r.title&&React.createElement("h4",null,r.title),r.subTitle&&React.createElement("p",null,r.subTitle)))),u)}}],r&&ti(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ci=ii,si=JSON.parse('{"name":"woolentor/store-feature","category":"woolentor-blocks","title":"WL : Store Feature","description":"Display store feature.","keywords":["woolentor","shop feature","feature","store"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"layout":{"type":"string","default":"1"},"featureImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Free shipping"},"subTitle":{"type":"string","default":"Start from $100"},"textAlignment":{"type":"string","default":"center"},"areaBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-feature-inner { border-color: {{areaBorderColor}}; }"}},"areaHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap:hover .ht-feature-inner { border-color: {{areaHoverBorderColor}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap { background-color: {{areaBackgroundColor}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { color: {{subTitleColor}}; }"}},"subTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { font-size: {{subTitleSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { margin: {{subTitleMargin}}; }"}}}}'),ui=React.createElement("svg",{viewBox:"-27 0 512 512.00001",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m399.996094 0h-341.996094c-31.980469 0-58 26.019531-58 58v369.996094c0 16.542968 13.457031 30 30 30h131.332031c5.523438 0 10-4.476563 10-10 0-5.523438-4.476562-10-10-10h-131.332031c-5.515625 0-10-4.484375-10-10v-369.996094c0-20.953125 17.046875-38 38-38h298.234375c-8.855469 10.1875-14.238281 23.472656-14.238281 38v322.265625c0 9.226563-7.503906 16.730469-16.730469 16.730469-7.210937 0-13.589844-4.597656-15.875-11.4375l-15.070313-45.21875c-4.253906-12.765625-16.15625-21.339844-29.609374-21.339844-17.210938 0-31.210938 14-31.210938 31.207031v7.789063h-51.832031c-5.523438 0-10 4.480468-10 10 0 5.523437 4.476562 10 10 10h51.832031v49.75c0 14.765625 2.878906 29.164062 8.558594 42.789062l14.710937 35.308594c1.601563 3.839844 5.316407 6.15625 9.234375 6.15625 1.28125 0 2.585938-.246094 3.839844-.769531 5.101562-2.125 7.511719-7.980469 5.386719-13.078125l-14.710938-35.308594c-4.65625-11.175781-7.019531-22.984375-7.019531-35.09375v-77.539062c0-6.183594 5.027344-11.210938 11.210938-11.210938 4.832031 0 9.109374 3.078125 10.636718 7.664062l15.070313 45.21875c5.007812 15.019532 19.011719 25.113282 34.847656 25.113282 20.253906 0 36.730469-16.476563 36.730469-36.730469v-171.449219l13.363281 13.335938c23.84375 23.796875 36.972656 55.457031 36.972656 89.140625v106.300781c0 27.535156-6.238281 55.238281-18.035156 80.117188-2.367187 4.988281-.238281 10.953124 4.75 13.320312s10.953125.242188 13.320313-4.75c13.058593-27.539062 19.964843-58.207031 19.964843-88.6875v-106.300781c0-39.035157-15.214843-75.71875-42.84375-103.296875l-27.492187-27.441406v-9.554688h66c16.542968 0 30-13.457031 30-30v-83c0-31.980469-26.015625-58-58-58zm38 141c0 5.511719-4.484375 10-10 10h-66v-93c0-20.953125 17.046875-38 38-38s38 17.046875 38 38zm0 0"}),React.createElement("path",{d:"m205 437.996094c-2.632812 0-5.210938 1.070312-7.070312 2.929687-1.859376 1.863281-2.929688 4.441407-2.929688 7.070313 0 2.632812 1.070312 5.210937 2.929688 7.070312 1.859374 1.859375 4.4375 2.929688 7.070312 2.929688 2.628906 0 5.207031-1.070313 7.070312-2.929688 1.859376-1.859375 2.929688-4.4375 2.929688-7.070312 0-2.628906-1.070312-5.207032-2.929688-7.070313-1.863281-1.859375-4.441406-2.929687-7.070312-2.929687zm0 0"}),React.createElement("path",{d:"m137.667969 74c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m137.667969 194c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m117.667969 294h-44c-11.03125 0-20 8.96875-20 20v43.996094c0 11.03125 8.96875 20 20 20h44c11.027343 0 20-8.96875 20-20v-43.996094c0-11.03125-8.972657-20-20-20zm0 63.996094h-44v-43.996094h44l.011719 43.996094s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m296.332031 138c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-68.9375c-5.523437 0-10 4.476562-10 10s4.476563 10 10 10zm0 0"}),React.createElement("path",{d:"m181.667969 138c2.632812 0 5.210937-1.070312 7.070312-2.929688 1.859375-1.859374 2.929688-4.441406 2.929688-7.070312s-1.070313-5.210938-2.929688-7.070312c-1.859375-1.859376-4.4375-2.929688-7.070312-2.929688-2.640625 0-5.210938 1.070312-7.070313 2.929688-1.867187 1.859374-2.929687 4.441406-2.929687 7.070312s1.0625 5.210938 2.929687 7.070312c1.859375 1.859376 4.429688 2.929688 7.070313 2.929688zm0 0"}),React.createElement("path",{d:"m181.664062 258h114.667969c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-114.667969c-5.519531 0-10 4.476562-10 10s4.480469 10 10 10zm0 0"}));var di=si.name,mi=si.category,pi=si.title,gi=si.description,fi=si.keywords,bi=si.supports,yi=si.attributes,Ri={title:(0,ue.__)(pi,"woolentor"),description:(0,ue.__)(gi,"woolentor"),icon:React.createElement(de.Icon,{icon:ui}),keywords:fi,supports:bi,example:{attributes:{style:"1"}},attributes:yi,edit:ci,save:function(){return null}},_i=[{label:(0,ue.__)("H1","woolentor"),value:"h1"},{label:(0,ue.__)("H2","woolentor"),value:"h2"},{label:(0,ue.__)("H3","woolentor"),value:"h3"},{label:(0,ue.__)("H4","woolentor"),value:"h4"},{label:(0,ue.__)("H5","woolentor"),value:"h5"},{label:(0,ue.__)("H6","woolentor"),value:"h6"},{label:(0,ue.__)("P","woolentor"),value:"p"},{label:(0,ue.__)("div","woolentor"),value:"div"},{label:(0,ue.__)("span","woolentor"),value:"span"}],wi=[{label:(0,ue.__)("None","woolentor"),value:""},{label:(0,ue.__)("Solid","woolentor"),value:"solid"},{label:(0,ue.__)("Double","woolentor"),value:"double"},{label:(0,ue.__)("Dotted","woolentor"),value:"dotted"},{label:(0,ue.__)("Dashed","woolentor"),value:"dashed"},{label:(0,ue.__)("Groove","woolentor"),value:"groove"},{label:(0,ue.__)("Inset","woolentor"),value:"inset"},{label:(0,ue.__)("Outset","woolentor"),value:"outset"},{label:(0,ue.__)("Ridge","woolentor"),value:"ridge"}];function hi(e){return hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hi(e)}function Ei(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function vi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(o),!0).forEach((function(t){Oi(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ei(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Oi(e,t,o){return r=function(e,t){if("object"!=hi(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==hi(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Pi(e){return function(e){if(Array.isArray(e))return Bi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ci(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ci(e,t){if(e){if("string"==typeof e)return Bi(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bi(e,t):void 0}}function Bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,ue.__)("Recent Products","woolentor"),(0,ue.__)("Featured Products","woolentor"),(0,ue.__)("Best Selling Products","woolentor"),(0,ue.__)("Sale Products","woolentor"),(0,ue.__)("Top Rated Products","woolentor"),(0,ue.__)("Mixed order Products","woolentor"),(0,ue.__)("Descending","woolentor"),(0,ue.__)("Ascending","woolentor"),(0,ue.__)("None","woolentor"),(0,ue.__)("ID","woolentor"),(0,ue.__)("Date","woolentor"),(0,ue.__)("Name","woolentor"),(0,ue.__)("Title","woolentor"),(0,ue.__)("Comment count","woolentor"),(0,ue.__)("Random","woolentor"),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignleft"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-aligncenter"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignright"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-justify"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"desktop"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"laptop"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"tablet"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"smartphone"}));const Ai=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||Ci(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=(o.columns,o.noGutter),c=function(e,t,n){var a=o.brandLogoList.map((function(o,r){return r===n?vi(vi({},o),{},Oi({},t,"image"===t?vi(vi({},o.image),e):e)):o}));r({brandLogoList:a})};return o.brandLogoList.length>0&&(t=o.brandLogoList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.brandLogoList[t].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,ue.__)("Delete Brand","woolentor"),onClick:function(){return function(e){var t=Pi(o.brandLogoList);t.splice(e,1),r({brandLogoList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Brand Title","woolentor"),value:o.brandLogoList[t].title,onChange:function(e){return c(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Jo,{title:(0,ue.__)("Choose Image","woolentor"),ImageData:o.brandLogoList[t].image,onChange:function(e){return c(e,"image",t)}})),React.createElement(de.TextControl,{label:(0,ue.__)("Brand Link","woolentor"),value:o.brandLogoList[t].link,placeholder:(0,ue.__)("https://your-site.com","woolentor"),onChange:function(e){return c(e,"link",t)}}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Pi(o.brandLogoList);e.push({title:(0,ue.__)("Brand Item #"+(o.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),r({brandLogoList:e}),l(o.brandLogoList.length)}.bind(void 0)},(0,ue.__)("Add Brand","woolentor"))),React.createElement(Vt,{title:(0,ue.__)("Brand Option","woolentor")},!0!==o.slider&&React.createElement(React.Fragment,null,React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:i,help:i?(0,ue.__)("Enable No Gutters.","woolentor"):(0,ue.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return r({noGutter:!i})}}),!i&&React.createElement(de.RangeControl,{label:(0,ue.__)("Gutter Spacing","woolentor"),value:o.itemSpace,onChange:function(e){return r({itemSpace:e})},min:0,step:1,max:200})),React.createElement(io,{label:(0,ue.__)("Slider","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.slider,onChange:function(){return r({slider:!o.slider})}}))),!0===o.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:o.sliderItems,onChange:function(e){return r({sliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.arrows,onChange:function(){return r({arrows:!o.arrows})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.dots,onChange:function(){return r({dots:!o.dots})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.pauseOnHover,onChange:function(){return r({pauseOnHover:!o.pauseOnHover})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.autoplay,onChange:function(){return r({autoplay:!o.autoplay})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:o.autoplaySpeed,onChange:function(e){return r({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:o.animationSpeed,onChange:function(e){return r({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:o.scrollColumns,onChange:function(e){return r({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(go,{label:(0,ue.__)("Tablet Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:o.tabletDisplayColumns,onChange:function(e){return r({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:o.tabletScrollColumns,onChange:function(e){return r({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:o.tabletWidth,onChange:function(e){return r({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(go,{label:(0,ue.__)("Mobile Phone Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:o.mobileDisplayColumns,onChange:function(e){return r({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:o.mobileScrollColumns,onChange:function(e){return r({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:o.mobileWidth,onChange:function(e){return r({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Brand Item","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:o.singleItemAreaBorderType,options:wi,onChange:function(e){return r({singleItemAreaBorderType:e})}}),o.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:o.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:r}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:o.singleItemAreaBorderColor,onChange:function(e){return r({singleItemAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:r}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:r}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:r}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"brandAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Brand Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:o.brandImageBorderType,options:wi,onChange:function(e){return r({brandImageBorderType:e})}}),o.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:o.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:r}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:o.brandImageBorderColor,onChange:function(e){return r({brandImageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:r})),!0===o.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationColor,onChange:function(e){return r({navigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationBGColor,onChange:function(e){return r({navigationBGColor:e})}})),React.createElement(zr,{value:o.navigationBorder,onChange:function(e){return r({navigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationHoverColor,onChange:function(e){return r({navigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationHoverBGColor,onChange:function(e){return r({navigationHoverBGColor:e})}})),React.createElement(zr,{value:o.navigationHoverBorder,onChange:function(e){return r({navigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:o.paginationPosition,onChange:function(e){return r({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.paginationColor,onChange:function(e){return r({paginationColor:e})}})),React.createElement(zr,{value:o.paginationBorder,onChange:function(e){return r({paginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.paginationActiveColor,onChange:function(e){return r({paginationActiveColor:e})}})),React.createElement(zr,{value:o.paginationActiveBorder,onChange:function(e){return r({paginationActiveBorder:e})}}))))))};var Wi=function(){return Wi=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Wi.apply(this,arguments)};function Si(e,t,o){if(o||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var ki=o(833),Ti=o.n(ki),xi="-ms-",Li="-moz-",Ni="-webkit-",zi="comm",ji="rule",Ii="decl",Mi="@import",Fi="@keyframes",Hi="@layer",Di=Math.abs,qi=String.fromCharCode,Gi=Object.assign;function Ki(e){return e.trim()}function Ui(e,t){return(e=t.exec(e))?e[0]:e}function Qi(e,t,o){return e.replace(t,o)}function Vi(e,t,o){return e.indexOf(t,o)}function Yi(e,t){return 0|e.charCodeAt(t)}function Zi(e,t,o){return e.slice(t,o)}function Ji(e){return e.length}function Xi(e){return e.length}function $i(e,t){return t.push(e),e}function ec(e,t){return e.filter((function(e){return!Ui(e,t)}))}var tc=1,oc=1,rc=0,nc=0,ac=0,lc="";function ic(e,t,o,r,n,a,l,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:tc,column:oc,length:l,return:"",siblings:i}}function cc(e,t){return Gi(ic("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function sc(e){for(;e.root;)e=cc(e.root,{children:[e]});$i(e,e.siblings)}function uc(){return ac=nc>0?Yi(lc,--nc):0,oc--,10===ac&&(oc=1,tc--),ac}function dc(){return ac=nc<rc?Yi(lc,nc++):0,oc++,10===ac&&(oc=1,tc++),ac}function mc(){return Yi(lc,nc)}function pc(){return nc}function gc(e,t){return Zi(lc,e,t)}function fc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bc(e){return Ki(gc(nc-1,_c(91===e?e+2:40===e?e+1:e)))}function yc(e){for(;(ac=mc())&&ac<33;)dc();return fc(e)>2||fc(ac)>3?"":" "}function Rc(e,t){for(;--t&&dc()&&!(ac<48||ac>102||ac>57&&ac<65||ac>70&&ac<97););return gc(e,pc()+(t<6&&32==mc()&&32==dc()))}function _c(e){for(;dc();)switch(ac){case e:return nc;case 34:case 39:34!==e&&39!==e&&_c(ac);break;case 40:41===e&&_c(e);break;case 92:dc()}return nc}function wc(e,t){for(;dc()&&e+ac!==57&&(e+ac!==84||47!==mc()););return"/*"+gc(t,nc-1)+"*"+qi(47===e?e:dc())}function hc(e){for(;!fc(mc());)dc();return gc(e,nc)}function Ec(e,t){for(var o="",r=0;r<e.length;r++)o+=t(e[r],r,e,t)||"";return o}function vc(e,t,o,r){switch(e.type){case Hi:if(e.children.length)break;case Mi:case Ii:return e.return=e.return||e.value;case zi:return"";case Fi:return e.return=e.value+"{"+Ec(e.children,r)+"}";case ji:if(!Ji(e.value=e.props.join(",")))return""}return Ji(o=Ec(e.children,r))?e.return=e.value+"{"+o+"}":""}function Oc(e,t,o){switch(function(e,t){return 45^Yi(e,0)?(((t<<2^Yi(e,0))<<2^Yi(e,1))<<2^Yi(e,2))<<2^Yi(e,3):0}(e,t)){case 5103:return Ni+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ni+e+e;case 4789:return Li+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ni+e+Li+e+xi+e+e;case 5936:switch(Yi(e,t+11)){case 114:return Ni+e+xi+Qi(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ni+e+xi+Qi(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ni+e+xi+Qi(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ni+e+xi+e+e;case 6165:return Ni+e+xi+"flex-"+e+e;case 5187:return Ni+e+Qi(e,/(\w+).+(:[^]+)/,Ni+"box-$1$2"+xi+"flex-$1$2")+e;case 5443:return Ni+e+xi+"flex-item-"+Qi(e,/flex-|-self/g,"")+(Ui(e,/flex-|baseline/)?"":xi+"grid-row-"+Qi(e,/flex-|-self/g,""))+e;case 4675:return Ni+e+xi+"flex-line-pack"+Qi(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ni+e+xi+Qi(e,"shrink","negative")+e;case 5292:return Ni+e+xi+Qi(e,"basis","preferred-size")+e;case 6060:return Ni+"box-"+Qi(e,"-grow","")+Ni+e+xi+Qi(e,"grow","positive")+e;case 4554:return Ni+Qi(e,/([^-])(transform)/g,"$1"+Ni+"$2")+e;case 6187:return Qi(Qi(Qi(e,/(zoom-|grab)/,Ni+"$1"),/(image-set)/,Ni+"$1"),e,"")+e;case 5495:case 3959:return Qi(e,/(image-set\([^]*)/,Ni+"$1$`$1");case 4968:return Qi(Qi(e,/(.+:)(flex-)?(.*)/,Ni+"box-pack:$3"+xi+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ni+e+e;case 4200:if(!Ui(e,/flex-|baseline/))return xi+"grid-column-align"+Zi(e,t)+e;break;case 2592:case 3360:return xi+Qi(e,"template-","")+e;case 4384:case 3616:return o&&o.some((function(e,o){return t=o,Ui(e.props,/grid-\w+-end/)}))?~Vi(e+(o=o[t].value),"span",0)?e:xi+Qi(e,"-start","")+e+xi+"grid-row-span:"+(~Vi(o,"span",0)?Ui(o,/\d+/):+Ui(o,/\d+/)-+Ui(e,/\d+/))+";":xi+Qi(e,"-start","")+e;case 4896:case 4128:return o&&o.some((function(e){return Ui(e.props,/grid-\w+-start/)}))?e:xi+Qi(Qi(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Qi(e,/(.+)-inline(.+)/,Ni+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ji(e)-1-t>6)switch(Yi(e,t+1)){case 109:if(45!==Yi(e,t+4))break;case 102:return Qi(e,/(.+:)(.+)-([^]+)/,"$1"+Ni+"$2-$3$1"+Li+(108==Yi(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Vi(e,"stretch",0)?Oc(Qi(e,"stretch","fill-available"),t,o)+e:e}break;case 5152:case 5920:return Qi(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,o,r,n,a,l,i){return xi+o+":"+r+i+(n?xi+o+"-span:"+(a?l:+l-+r)+i:"")+e}));case 4949:if(121===Yi(e,t+6))return Qi(e,":",":"+Ni)+e;break;case 6444:switch(Yi(e,45===Yi(e,14)?18:11)){case 120:return Qi(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ni+(45===Yi(e,14)?"inline-":"")+"box$3$1"+Ni+"$2$3$1"+xi+"$2box$3")+e;case 100:return Qi(e,":",":"+xi)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Qi(e,"scroll-","scroll-snap-")+e}return e}function Pc(e,t,o,r){if(e.length>-1&&!e.return)switch(e.type){case Ii:return void(e.return=Oc(e.value,e.length,o));case Fi:return Ec([cc(e,{value:Qi(e.value,"@","@"+Ni)})],r);case ji:if(e.length)return function(e,t){return e.map(t).join("")}(o=e.props,(function(t){switch(Ui(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":sc(cc(e,{props:[Qi(t,/:(read-\w+)/,":"+Li+"$1")]})),sc(cc(e,{props:[t]})),Gi(e,{props:ec(o,r)});break;case"::placeholder":sc(cc(e,{props:[Qi(t,/:(plac\w+)/,":"+Ni+"input-$1")]})),sc(cc(e,{props:[Qi(t,/:(plac\w+)/,":"+Li+"$1")]})),sc(cc(e,{props:[Qi(t,/:(plac\w+)/,xi+"input-$1")]})),sc(cc(e,{props:[t]})),Gi(e,{props:ec(o,r)})}return""}))}}function Cc(e){return function(e){return lc="",e}(Bc("",null,null,null,[""],e=function(e){return tc=oc=1,rc=Ji(lc=e),nc=0,[]}(e),0,[0],e))}function Bc(e,t,o,r,n,a,l,i,c){for(var s=0,u=0,d=l,m=0,p=0,g=0,f=1,b=1,y=1,R=0,_="",w=n,h=a,E=r,v=_;b;)switch(g=R,R=dc()){case 40:if(108!=g&&58==Yi(v,d-1)){-1!=Vi(v+=Qi(bc(R),"&","&\f"),"&\f",Di(s?i[s-1]:0))&&(y=-1);break}case 34:case 39:case 91:v+=bc(R);break;case 9:case 10:case 13:case 32:v+=yc(g);break;case 92:v+=Rc(pc()-1,7);continue;case 47:switch(mc()){case 42:case 47:$i(Wc(wc(dc(),pc()),t,o,c),c);break;default:v+="/"}break;case 123*f:i[s++]=Ji(v)*y;case 125*f:case 59:case 0:switch(R){case 0:case 125:b=0;case 59+u:-1==y&&(v=Qi(v,/\f/g,"")),p>0&&Ji(v)-d&&$i(p>32?Sc(v+";",r,o,d-1,c):Sc(Qi(v," ","")+";",r,o,d-2,c),c);break;case 59:v+=";";default:if($i(E=Ac(v,t,o,s,u,n,i,_,w=[],h=[],d,a),a),123===R)if(0===u)Bc(v,t,E,E,w,a,d,i,h);else switch(99===m&&110===Yi(v,3)?100:m){case 100:case 108:case 109:case 115:Bc(e,E,E,r&&$i(Ac(e,E,E,0,0,n,i,_,n,w=[],d,h),h),n,h,d,i,r?w:h);break;default:Bc(v,E,E,E,[""],h,0,i,h)}}s=u=p=0,f=y=1,_=v="",d=l;break;case 58:d=1+Ji(v),p=g;default:if(f<1)if(123==R)--f;else if(125==R&&0==f++&&125==uc())continue;switch(v+=qi(R),R*f){case 38:y=u>0?1:(v+="\f",-1);break;case 44:i[s++]=(Ji(v)-1)*y,y=1;break;case 64:45===mc()&&(v+=bc(dc())),m=mc(),u=d=Ji(_=v+=hc(pc())),R++;break;case 45:45===g&&2==Ji(v)&&(f=0)}}return a}function Ac(e,t,o,r,n,a,l,i,c,s,u,d){for(var m=n-1,p=0===n?a:[""],g=Xi(p),f=0,b=0,y=0;f<r;++f)for(var R=0,_=Zi(e,m+1,m=Di(b=l[f])),w=e;R<g;++R)(w=Ki(b>0?p[R]+" "+_:Qi(_,/&\f/g,p[R])))&&(c[y++]=w);return ic(e,t,o,0===n?ji:i,c,s,u,d)}function Wc(e,t,o,r){return ic(e,t,o,zi,qi(ac),Zi(e,2,-2),0,r)}function Sc(e,t,o,r,n){return ic(e,t,o,Ii,Zi(e,0,r),Zi(e,r+1,-1),r,n)}const kc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Tc="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",xc="active",Lc="data-styled-version",Nc="6.1.8",zc="/*!sc*/\n",jc="undefined"!=typeof window&&"HTMLElement"in window,Ic=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),Mc=(new Set,Object.freeze([])),Fc=Object.freeze({});var Hc=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Dc=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,qc=/(^-|-$)/g;function Gc(e){return e.replace(Dc,"-").replace(qc,"")}var Kc=/(a)(d)/gi,Uc=52,Qc=function(e){return String.fromCharCode(e+(e>25?39:97))};function Vc(e){var t,o="";for(t=Math.abs(e);t>Uc;t=t/Uc|0)o=Qc(t%Uc)+o;return(Qc(t%Uc)+o).replace(Kc,"$1-$2")}var Yc,Zc=5381,Jc=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},Xc=function(e){return Jc(Zc,e)};function $c(e){return"string"==typeof e&&!0}var es="function"==typeof Symbol&&Symbol.for,ts=es?Symbol.for("react.memo"):60115,os=es?Symbol.for("react.forward_ref"):60112,rs={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ns={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},as={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ls=((Yc={})[os]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Yc[ts]=as,Yc);function is(e){return("type"in(t=e)&&t.type.$$typeof)===ts?as:"$$typeof"in e?ls[e.$$typeof]:rs;var t}var cs=Object.defineProperty,ss=Object.getOwnPropertyNames,us=Object.getOwnPropertySymbols,ds=Object.getOwnPropertyDescriptor,ms=Object.getPrototypeOf,ps=Object.prototype;function gs(e,t,o){if("string"!=typeof t){if(ps){var r=ms(t);r&&r!==ps&&gs(e,r,o)}var n=ss(t);us&&(n=n.concat(us(t)));for(var a=is(e),l=is(t),i=0;i<n.length;++i){var c=n[i];if(!(c in ns||o&&o[c]||l&&c in l||a&&c in a)){var s=ds(t,c);try{cs(e,c,s)}catch(e){}}}}return e}function fs(e){return"function"==typeof e}function bs(e){return"object"==typeof e&&"styledComponentId"in e}function ys(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Rs(e,t){if(0===e.length)return"";for(var o=e[0],r=1;r<e.length;r++)o+=t?t+e[r]:e[r];return o}function _s(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ws(e,t,o){if(void 0===o&&(o=!1),!o&&!_s(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=ws(e[r],t[r]);else if(_s(t))for(var r in t)e[r]=ws(e[r],t[r]);return e}function hs(e,t){Object.defineProperty(e,"toString",{value:t})}function Es(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var vs=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,o=0;o<e;o++)t+=this.groupSizes[o];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var o=this.groupSizes,r=o.length,n=r;e>=n;)if((n<<=1)<0)throw Es(16,"".concat(e));this.groupSizes=new Uint32Array(n),this.groupSizes.set(o),this.length=n;for(var a=r;a<n;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=(a=0,t.length);a<i;a++)this.tag.insertRule(l,t[a])&&(this.groupSizes[e]++,l++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],o=this.indexOfGroup(e),r=o+t;this.groupSizes[e]=0;for(var n=o;n<r;n++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var o=this.groupSizes[e],r=this.indexOfGroup(e),n=r+o,a=r;a<n;a++)t+="".concat(this.tag.getRule(a)).concat(zc);return t},e}(),Os=new Map,Ps=new Map,Cs=1,Bs=function(e){if(Os.has(e))return Os.get(e);for(;Ps.has(Cs);)Cs++;var t=Cs++;return Os.set(e,t),Ps.set(t,e),t},As=function(e,t){Cs=t+1,Os.set(e,t),Ps.set(t,e)},Ws="style[".concat(Tc,"][").concat(Lc,'="').concat(Nc,'"]'),Ss=new RegExp("^".concat(Tc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ks=function(e,t,o){for(var r,n=o.split(","),a=0,l=n.length;a<l;a++)(r=n[a])&&e.registerName(t,r)},Ts=function(e,t){for(var o,r=(null!==(o=t.textContent)&&void 0!==o?o:"").split(zc),n=[],a=0,l=r.length;a<l;a++){var i=r[a].trim();if(i){var c=i.match(Ss);if(c){var s=0|parseInt(c[1],10),u=c[2];0!==s&&(As(u,s),ks(e,u,c[3]),e.getTag().insertRules(s,n)),n.length=0}else n.push(i)}}};function xs(){return o.nc}var Ls=function(e){var t=document.head,o=e||t,r=document.createElement("style"),n=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Tc,"]")));return t[t.length-1]}(o),a=void 0!==n?n.nextSibling:null;r.setAttribute(Tc,xc),r.setAttribute(Lc,Nc);var l=xs();return l&&r.setAttribute("nonce",l),o.insertBefore(r,a),r},Ns=function(){function e(e){this.element=Ls(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,o=0,r=t.length;o<r;o++){var n=t[o];if(n.ownerNode===e)return n}throw Es(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),zs=function(){function e(e){this.element=Ls(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var o=document.createTextNode(t);return this.element.insertBefore(o,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),js=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Is=jc,Ms={isServer:!jc,useCSSOMInjection:!Ic},Fs=function(){function e(e,t,o){void 0===e&&(e=Fc),void 0===t&&(t={});var r=this;this.options=Wi(Wi({},Ms),e),this.gs=t,this.names=new Map(o),this.server=!!e.isServer,!this.server&&jc&&Is&&(Is=!1,function(e){for(var t=document.querySelectorAll(Ws),o=0,r=t.length;o<r;o++){var n=t[o];n&&n.getAttribute(Tc)!==xc&&(Ts(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this)),hs(this,(function(){return function(e){for(var t=e.getTag(),o=t.length,r="",n=function(o){var n=function(e){return Ps.get(e)}(o);if(void 0===n)return"continue";var a=e.names.get(n),l=t.getGroup(o);if(void 0===a||0===l.length)return"continue";var i="".concat(Tc,".g").concat(o,'[id="').concat(n,'"]'),c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(l).concat(i,'{content:"').concat(c,'"}').concat(zc)},a=0;a<o;a++)n(a);return r}(r)}))}return e.registerId=function(e){return Bs(e)},e.prototype.reconstructWithOptions=function(t,o){return void 0===o&&(o=!0),new e(Wi(Wi({},this.options),t),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,o=e.target;return e.isServer?new js(o):t?new Ns(o):new zs(o)}(this.options),new vs(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Bs(e),this.names.has(e))this.names.get(e).add(t);else{var o=new Set;o.add(t),this.names.set(e,o)}},e.prototype.insertRules=function(e,t,o){this.registerName(e,t),this.getTag().insertRules(Bs(e),o)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Bs(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Hs=/&/g,Ds=/^\s*\/\/.*$/gm;function qs(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=qs(e.children,t)),e}))}function Gs(e){var t,o,r,n=void 0===e?Fc:e,a=n.options,l=void 0===a?Fc:a,i=n.plugins,c=void 0===i?Mc:i,s=function(e,r,n){return n.startsWith(o)&&n.endsWith(o)&&n.replaceAll(o,"").length>0?".".concat(t):e},u=c.slice();u.push((function(e){e.type===ji&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Hs,o).replace(r,s))})),l.prefix&&u.push(Pc),u.push(vc);var d=function(e,n,a,i){void 0===n&&(n=""),void 0===a&&(a=""),void 0===i&&(i="&"),t=i,o=n,r=new RegExp("\\".concat(o,"\\b"),"g");var c=e.replace(Ds,""),s=Cc(a||n?"".concat(a," ").concat(n," { ").concat(c," }"):c);l.namespace&&(s=qs(s,l.namespace));var d,m,p,g=[];return Ec(s,(d=u.concat((p=function(e){return g.push(e)},function(e){e.root||(e=e.return)&&p(e)})),m=Xi(d),function(e,t,o,r){for(var n="",a=0;a<m;a++)n+=d[a](e,t,o,r)||"";return n})),g};return d.hash=c.length?c.reduce((function(e,t){return t.name||Es(15),Jc(e,t.name)}),Zc).toString():"",d}var Ks=new Fs,Us=Gs(),Qs=ga().createContext({shouldForwardProp:void 0,styleSheet:Ks,stylis:Us}),Vs=(Qs.Consumer,ga().createContext(void 0));function Ys(){return(0,pa.useContext)(Qs)}function Zs(e){var t=(0,pa.useState)(e.stylisPlugins),o=t[0],r=t[1],n=Ys().styleSheet,a=(0,pa.useMemo)((function(){var t=n;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,n]),l=(0,pa.useMemo)((function(){return Gs({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:o})}),[e.enableVendorPrefixes,e.namespace,o]);(0,pa.useEffect)((function(){Ti()(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var i=(0,pa.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:l}}),[e.shouldForwardProp,a,l]);return ga().createElement(Qs.Provider,{value:i},ga().createElement(Vs.Provider,{value:l},e.children))}var Js=function(){function e(e,t){var o=this;this.inject=function(e,t){void 0===t&&(t=Us);var r=o.name+t.hash;e.hasNameForId(o.id,r)||e.insertRules(o.id,r,t(o.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,hs(this,(function(){throw Es(12,String(o.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Us),this.name+e.hash},e}(),Xs=function(e){return e>="A"&&e<="Z"};function $s(e){for(var t="",o=0;o<e.length;o++){var r=e[o];if(1===o&&"-"===r&&"-"===e[0])return e;Xs(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var eu=function(e){return null==e||!1===e||""===e},tu=function(e){var t,o,r=[];for(var n in e){var a=e[n];e.hasOwnProperty(n)&&!eu(a)&&(Array.isArray(a)&&a.isCss||fs(a)?r.push("".concat($s(n),":"),a,";"):_s(a)?r.push.apply(r,Si(Si(["".concat(n," {")],tu(a),!1),["}"],!1)):r.push("".concat($s(n),": ").concat((t=n,null==(o=a)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||t in kc||t.startsWith("--")?String(o).trim():"".concat(o,"px")),";")))}return r};function ou(e,t,o,r){return eu(e)?[]:bs(e)?[".".concat(e.styledComponentId)]:fs(e)?!fs(n=e)||n.prototype&&n.prototype.isReactComponent||!t?[e]:ou(e(t),t,o,r):e instanceof Js?o?(e.inject(o,r),[e.getName(r)]):[e]:_s(e)?tu(e):Array.isArray(e)?Array.prototype.concat.apply(Mc,e.map((function(e){return ou(e,t,o,r)}))):[e.toString()];var n}function ru(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(fs(o)&&!bs(o))return!1}return!0}var nu=Xc(Nc),au=function(){function e(e,t,o){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===o||o.isStatic)&&ru(e),this.componentId=t,this.baseHash=Jc(nu,t),this.baseStyle=o,Fs.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,o){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=ys(r,this.staticRulesId);else{var n=Rs(ou(this.rules,e,t,o)),a=Vc(Jc(this.baseHash,n)>>>0);if(!t.hasNameForId(this.componentId,a)){var l=o(n,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,l)}r=ys(r,a),this.staticRulesId=a}else{for(var i=Jc(this.baseHash,o.hash),c="",s=0;s<this.rules.length;s++){var u=this.rules[s];if("string"==typeof u)c+=u;else if(u){var d=Rs(ou(u,e,t,o));i=Jc(i,d+s),c+=d}}if(c){var m=Vc(i>>>0);t.hasNameForId(this.componentId,m)||t.insertRules(this.componentId,m,o(c,".".concat(m),void 0,this.componentId)),r=ys(r,m)}}return r},e}(),lu=ga().createContext(void 0);lu.Consumer;var iu={};function cu(e,t,o){var r=bs(e),n=e,a=!$c(e),l=t.attrs,i=void 0===l?Mc:l,c=t.componentId,s=void 0===c?function(e,t){var o="string"!=typeof e?"sc":Gc(e);iu[o]=(iu[o]||0)+1;var r="".concat(o,"-").concat(function(e){return Vc(Xc(e)>>>0)}(Nc+o+iu[o]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):c,u=t.displayName,d=void 0===u?function(e){return $c(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):u,m=t.displayName&&t.componentId?"".concat(Gc(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&n.attrs?n.attrs.concat(i).filter(Boolean):i,g=t.shouldForwardProp;if(r&&n.shouldForwardProp){var f=n.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;g=function(e,t){return f(e,t)&&b(e,t)}}else g=f}var y=new au(o,m,r?n.componentStyle:void 0);function R(e,t){return function(e,t,o){var r=e.attrs,n=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,i=e.styledComponentId,c=e.target,s=ga().useContext(lu),u=Ys(),d=e.shouldForwardProp||u.shouldForwardProp,m=function(e,t,o){return void 0===o&&(o=Fc),e.theme!==o.theme&&e.theme||t||o.theme}(t,s,a)||Fc,p=function(e,t,o){for(var r,n=Wi(Wi({},t),{className:void 0,theme:o}),a=0;a<e.length;a+=1){var l=fs(r=e[a])?r(n):r;for(var i in l)n[i]="className"===i?ys(n[i],l[i]):"style"===i?Wi(Wi({},n[i]),l[i]):l[i]}return t.className&&(n.className=ys(n.className,t.className)),n}(r,t,m),g=p.as||c,f={};for(var b in p)void 0===p[b]||"$"===b[0]||"as"===b||"theme"===b&&p.theme===m||("forwardedAs"===b?f.as=p.forwardedAs:d&&!d(b,g)||(f[b]=p[b]));var y=function(e,t){var o=Ys();return e.generateAndInjectStyles(t,o.styleSheet,o.stylis)}(n,p),R=ys(l,i);return y&&(R+=" "+y),p.className&&(R+=" "+p.className),f[$c(g)&&!Hc.has(g)?"class":"className"]=R,f.ref=o,(0,pa.createElement)(g,f)}(_,e,t)}R.displayName=d;var _=ga().forwardRef(R);return _.attrs=p,_.componentStyle=y,_.displayName=d,_.shouldForwardProp=g,_.foldedComponentIds=r?ys(n.foldedComponentIds,n.styledComponentId):"",_.styledComponentId=m,_.target=r?n.target:e,Object.defineProperty(_,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var r=0,n=t;r<n.length;r++)ws(e,n[r],!0);return e}({},n.defaultProps,e):e}}),hs(_,(function(){return".".concat(_.styledComponentId)})),a&&gs(_,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),_}function su(e,t){for(var o=[e[0]],r=0,n=t.length;r<n;r+=1)o.push(t[r],e[r+1]);return o}new Set;var uu=function(e){return Object.assign(e,{isCss:!0})};function du(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(fs(e)||_s(e))return uu(ou(su(Mc,Si([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?ou(r):uu(ou(su(r,t)))}function mu(e,t,o){if(void 0===o&&(o=Fc),!t)throw Es(1,t);var r=function(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return e(t,o,du.apply(void 0,Si([r],n,!1)))};return r.attrs=function(r){return mu(e,t,Wi(Wi({},o),{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return mu(e,t,Wi(Wi({},o),r))},r}var pu,gu,fu=function(e){return mu(cu,e)},bu=fu;function yu(e){return yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yu(e)}function Ru(){return Ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ru.apply(this,arguments)}function _u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function wu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function hu(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(o),!0).forEach((function(t){Eu(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):wu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Eu(e,t,o){return(t=Ou(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function vu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ou(r.key),r)}}function Ou(e){var t=function(e,t){if("object"!=yu(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yu(t)?t:String(t)}function Pu(e,t,o){return t=Bu(t),function(e,t){if(t&&("object"===yu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cu()?Reflect.construct(t,o||[],Bu(e).constructor):t.apply(e,o))}function Cu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cu=function(){return!!e})()}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bu(e)}function Au(e,t){return Au=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Au(e,t)}Hc.forEach((function(e){bu[e]=fu(e)})),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ru(e),Fs.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,o,r){var n=r(Rs(ou(this.rules,t,o,r)),""),a=this.componentId+e;o.insertRules(a,a,n)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,o,r){e>2&&Fs.registerId(this.componentId+e),this.removeStyles(e,o),this.createStyles(e,t,o,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),o=xs(),r=Rs([o&&'nonce="'.concat(o,'"'),"".concat(Tc,'="true"'),"".concat(Lc,'="').concat(Nc,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw Es(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Es(2);var o=((t={})[Tc]="",t[Lc]=Nc,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=xs();return r&&(o.nonce=r),[ga().createElement("style",Wi({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Fs({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Es(2);return ga().createElement(Zs,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Es(3)}}(),"__sc-".concat(Tc,"__");var Wu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"130",height:"130",viewBox:"0 0 130 130"},React.createElement("image",{id:"woolentor-logo",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"})),Su=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pu(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Au(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=o.blockUniqId;""==l&&n({blockUniqId:a});var i=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(de.Button,{className:t,style:hu(hu({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-right"}))},c=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(de.Button,{className:t,style:hu(hu({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-left"}))},s={dots:o.dots,infinite:!0,fade:!1,speed:o.animationSpeed,slidesToShow:o.sliderItems,slidesToScroll:o.scrollColumns,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,pauseOnHover:o.pauseOnHover,arrows:o.arrows,nextArrow:React.createElement(i,null),prevArrow:React.createElement(c,null),rtl:o.slIsrtl,responsive:[{breakpoint:o.tabletWidth,settings:{slidesToShow:o.tabletDisplayColumns,slidesToScroll:o.tabletScrollColumns}},{breakpoint:o.mobileWidth,settings:{slidesToShow:o.mobileDisplayColumns,slidesToScroll:o.mobileScrollColumns}}]},u=Gt()(t,"woolentorblock-brand-logo-"+l,Eu({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),Eu({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),Eu({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),Eu({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),d=Gt()(Eu({},"woolentor-grid",1!=o.slider),Eu({},"woolentor-no-gutters",!0===o.noGutter),Eu({},"woolentor-grid-slider",!0===o.slider)),m=bu.div(pu||(pu=_u(["\n\t\t\t& .woolentor-grid:not(.woolentor-no-gutters){\n\t\t\t\t","\n\t\t\t}\n\t\t"])),!o.noGutter&&"column-gap: "+o.itemSpace+"px;"),p=".woolentorblock-brand-logo-"+l,g=bu.div(gu||(gu=_u(["\n\t\t\t& .wl-single-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& img,.woolentor-default-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t"])),je(o.singleItemAreaBorderType,"border-style"),Ie(o.singleItemAreaBorderWidth,"border-width"),je(o.singleItemAreaBorderColor,"border-color"),Ie(o.singleItemAreaBorderRadius,"border-radius"),Ie(o.singleItemAreaMargin,"margin"),Ie(o.singleItemAreaPadding,"padding"),je(o.brandAlignment,"text-align"),je(o.brandImageBorderType,"border-style"),Ie(o.brandImageBorderWidth,"border-width"),je(o.brandImageBorderColor,"border-color"),Ie(o.brandImageBorderRadius,"border-radius")),f="\n\t\t\t".concat(p," .product-slider .slick-arrow {\n\t\t\t\t").concat(je(o.navigationColor,"color"),"\n\t\t\t\t").concat(je(o.navigationBGColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.navigationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-arrow:hover {\n\t\t\t\t").concat(je(o.navigationHoverColor,"color"),"\n\t\t\t\t").concat(je(o.navigationHoverBGColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.navigationHoverBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots{\n\t\t\t\t").concat(je(o.paginationPosition,"bottom","px"),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li button {\n\t\t\t\t").concat(je(o.paginationColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.paginationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li.slick-active button {\n\t\t\t\t").concat(je(o.paginationActiveColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.paginationActiveBorder),"\n\t\t\t}\n\t\t"),b=o.brandLogoList.map((function(e,t){return React.createElement(g,{className:"woolentor-grid-column",key:t},React.createElement("div",{className:"wl-single-brand"},e.image.url?React.createElement("img",{src:e.image.url,alt:e.title}):React.createElement("div",{className:"woolentor-default-brand"},Wu)))}));return React.createElement(De.Fragment,null,r&&React.createElement(Ai,this.props),React.createElement(m,{className:u},React.createElement("div",{className:d},!0===o.slider?React.createElement(gn.A,Ru({},s,{className:"product-slider"}),b):b),React.createElement("style",{type:"text/css"},f)))}}],r&&vu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ku=Su,Tu=JSON.parse('{"name":"woolentor/brand-logo","category":"woolentor-blocks","title":"WL : Brand Logo","description":"Display brand logo.","keywords":["woolentor","logo","brand","brand logo"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"brandLogoList":{"type":"array","default":[{"title":"Brand Title One","image":{"id":"","url":""}},{"title":"Brand Title Two","image":{"id":"","url":""}},{"title":"Brand Title Three","image":{"id":"","url":""}}]},"columns":{"type":"object","default":{"desktop":6}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"singleItemAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-style: {{singleItemAreaBorderType}}; }"}},"singleItemAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-width: {{singleItemAreaBorderWidth}}; }"}},"singleItemAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-color: {{singleItemAreaBorderColor}}; }"}},"singleItemAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-radius: {{singleItemAreaBorderRadius}}; }"}},"singleItemAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { margin: {{singleItemAreaMargin}}; }"}},"singleItemAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { padding: {{singleItemAreaPadding}}; }"}},"brandAlignment":{"type":"string","default":"center","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { text-align: {{brandAlignment}}; }"}},"brandImageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-style: {{brandImageBorderType}}; }"}},"brandImageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-width: {{brandImageBorderWidth}}; }"}},"brandImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-color: {{brandImageBorderColor}}; }"}},"brandImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-radius: {{brandImageBorderRadius}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),xu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512"},React.createElement("path",{d:"M166,0H75C33.645,0,0,33.645,0,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75V75 C241,33.645,207.355,0,166,0z M211,166c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45V75c0-24.813,20.187-45,45-45h91 c24.813,0,45,20.187,45,45V166z"}),React.createElement("path",{d:"M437,271h-91c-41.355,0-75,33.645-75,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91 C512,304.645,478.355,271,437,271z M482,437c0,24.813-20.187,45-45,45h-91c-24.813,0-45-20.187-45-45v-91 c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45V437z"}),React.createElement("path",{d:"M437,0h-91c-41.355,0-75,33.645-75,75v91c0,57.897-47.103,105-105,105H75c-41.355,0-75,33.645-75,75v91 c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91c0-57.897,47.103-105,105-105h91c41.355,0,75-33.645,75-75V75 C512,33.645,478.355,0,437,0z M211,346v91c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45v-91c0-24.813,20.187-45,45-45 h91c20.827,0,40.568-4.741,58.2-13.2C215.741,305.432,211,325.173,211,346z M482,166c0,24.813-20.187,45-45,45h-91 c-20.827,0-40.568,4.741-58.2,13.2c8.459-17.632,13.2-37.373,13.2-58.2V75c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45 V166z"}));var Lu=Tu.name,Nu=Tu.category,zu=Tu.title,ju=Tu.description,Iu=Tu.keywords,Mu=Tu.supports,Fu=Tu.attributes,Hu={title:(0,ue.__)(zu,"woolentor"),description:(0,ue.__)(ju,"woolentor"),icon:React.createElement(de.Icon,{icon:xu}),keywords:Iu,supports:Mu,attributes:Fu,edit:ku,save:function(){return null}};function Du(e){return Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Du(e)}function qu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gu(r.key),r)}}function Gu(e){var t=function(e,t){if("object"!=Du(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Du(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Du(t)?t:String(t)}function Ku(e,t,o){return t=Qu(t),function(e,t){if(t&&("object"===Du(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Uu()?Reflect.construct(t,o||[],Qu(e).constructor):t.apply(e,o))}function Uu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Uu=function(){return!!e})()}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qu(e)}function Vu(e,t){return Vu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vu(e,t)}var Yu=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ku(this,t,[e])}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vu(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.displayType,a=t.productCategory,l=t.productCategories,i=t.order,c=t.displayLimit,s=t.showCount,u=t.sliderOn,d=(t.columns,t.noGutter),m=t.itemSpace;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:r,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"},{label:(0,ue.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Category Display Type","woolentor"),value:n,options:[{label:(0,ue.__)("Single Category","woolentor"),value:"singleCat"},{label:(0,ue.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:(0,ue.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==n&&React.createElement(Ko,{title:(0,ue.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:a,type:"single"}),"multipleCat"==n&&React.createElement(Ko,{title:(0,ue.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:l,type:"multiple"}),"singleCat"!=n&&React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:i,options:[{label:(0,ue.__)("Ascending","woolentor"),value:"asc"},{label:(0,ue.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==n&&React.createElement(de.RangeControl,{label:(0,ue.__)("Limit","woolentor"),value:c,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Count","woolentor"),checked:s,help:s?(0,ue.__)("Enable show Count.","woolentor"):(0,ue.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!s})}}),React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider On","woolentor"),checked:u,help:u?(0,ue.__)("Enable slider.","woolentor"):(0,ue.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!u})}})),1==u&&React.createElement(Vt,{title:(0,ue.__)("Slider Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider Arrow","woolentor"),checked:t.slarrows,help:t.slarrows?(0,ue.__)("Enable slider arrow.","woolentor"):(0,ue.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!t.slarrows})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider dots","woolentor"),checked:t.sldots,help:t.sldots?(0,ue.__)("Enable slider pagination.","woolentor"):(0,ue.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!t.sldots})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Pause on Hover?","woolentor"),checked:t.slpauseOnHover,help:t.slpauseOnHover?(0,ue.__)("Enable slider pagination.","woolentor"):(0,ue.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!t.slpauseOnHover})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Is RTL","woolentor"),checked:t.slIsrtl,help:t.slIsrtl?(0,ue.__)("Enable RTL.","woolentor"):(0,ue.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!t.slIsrtl})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider auto play","woolentor"),checked:t.slautolay,help:t.slautolay?(0,ue.__)("Enable slider auto play.","woolentor"):(0,ue.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return o({slautolay:!t.slautolay})}}),1==t.slautolay&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:t.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:t.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.slscrollItem,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,ue.__)("Tablet Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:t.sltabletWidth,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,ue.__)("Mobile Phone Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:t.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==u&&React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:d,help:d?(0,ue.__)("Enable No Gutters.","woolentor"):(0,ue.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(de.RangeControl,{label:(0,ue.__)("Gutter Spacing","woolentor"),value:m,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor"),initialOpen:!0},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(io,{label:(0,ue.__)("Box Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Count","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.countColor,onChange:function(e){return o({countColor:e})}})),React.createElement(io,{label:(0,ue.__)("Before Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}})))))}}],r&&qu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Zu=Yu;function Ju(e){return Ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ju(e)}function Xu(){return Xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Xu.apply(this,arguments)}function $u(e,t,o){return(t=td(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ed(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,td(r.key),r)}}function td(e){var t=function(e,t){if("object"!=Ju(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ju(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ju(t)?t:String(t)}function od(e,t,o){return t=nd(t),function(e,t){if(t&&("object"===Ju(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,rd()?Reflect.construct(t,o||[],nd(e).constructor):t.apply(e,o))}function rd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rd=function(){return!!e})()}function nd(e){return nd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nd(e)}function ad(e,t){return ad=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ad(e,t)}var ld=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=od(this,t,[e])).state={categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ad(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t,o=this.props.attributes,r=o.displayLimit,n=o.order;t="singleCat"==o.displayType?o.productCategory:"multipleCat"==o.displayType?o.productCategories:"";var a=e.attributes;("singleCat"==a.displayType?a.productCategory:"multipleCat"==a.displayType?a.productCategories:"")==t&&e.attributes.displayLimit==r&&e.attributes.order==n||this.fetchCategoryData()}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:this.props.attributes.displayLimit,queryOrder:this.props.attributes.order,queryType:"regular",wpnonce:woolentorData.security};"singleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategory:"multipleCat"==this.props.attributes.displayType?(t.querySlug=this.props.attributes.productCategories,t.queryLimit=!1):t.querySlug="";var o=(0,$r.addQueryArgs)("/woolentor/v1/category",t);Ge()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.style;""==i&&a({blockUniqId:l});var s=this.state.categoryData,u=0;function d(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function m(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}var p,g={arrows:o.slarrows,prevArrow:React.createElement(m,null),nextArrow:React.createElement(d,null),dots:o.sldots,infinite:!0,autoplay:o.slautolay,autoplaySpeed:o.slautoplaySpeed,speed:o.slanimationSpeed,fade:!1,pauseOnHover:o.slpauseOnHover,slidesToShow:o.slitems,slidesToScroll:o.slscrollItem,rtl:o.slIsrtl,responsive:[{breakpoint:o.sltabletWidth,settings:{slidesToShow:o.sltabletDisplayColumns,slidesToScroll:o.sltabletScrollColumns}},{breakpoint:o.slMobileWidth,settings:{slidesToShow:o.slMobileDisplayColumns,slidesToScroll:o.slMobileScrollColumns}}]},f=Gt()(r,"woolentorblock-".concat(i),$u({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),$u({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),$u({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),$u({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile),$u({},"woolentor-area-".concat(o.align),o.align)),b=Gt()($u({},"woolentor-grid",!0!==o.sliderOn),$u({},"woolentor-grid-slider",1==o.sliderOn),$u({},"woolentor-no-gutters",1==o.noGutter),$u({},"product-slider",1==o.sliderOn)),y=Gt()("woolentor-grid-column"),R=Be(o,t,i);return s.length>0&&(p=s.map((function(e,t){return 4===u&&(u=0),u++,React.createElement("div",{key:t},React.createElement("div",{className:y},"1"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[o.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==o.showCount&&React.createElement("span",null,e.count))),"2"===c&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},React.createElement("img",{src:e.placeholderImg,alt:e.name})))),React.createElement("div",{className:"ht-category-content-3 ht-category-content-3-bg"+u},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==o.showCount&&React.createElement("span",null,e.count)))),"5"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(De.Fragment,null,n&&React.createElement(Zu,this.props),React.createElement("div",{className:f},React.createElement("div",{className:b},0==s.length?React.createElement(de.Spinner,null):1==o.sliderOn?React.createElement(gn.A,Xu({},g,{className:"product-slider"}),p):p)),R)}}],r&&ed(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const id=ld,cd=JSON.parse('{"name":"woolentor/category-grid","category":"woolentor-blocks","title":"WL : Category Grid","description":"Display product category grid.","keywords":["woolentor","shop category","category grid","product category","woocommerce"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"displayType":{"type":"string","default":"allCat"},"productCategory":{"type":"string"},"productCategories":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"displayLimit":{"type":"number","default":6},"showCount":{"type":"boolean","default":true},"imageSize":{"type":"string","default":"full"},"sliderOn":{"type":"boolean","default":false},"slitems":{"type":"number","default":3},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slIsrtl":{"type":"boolean","default":false},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; row-gap: {{itemSpace}}px; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { background-color: {{areaBackgroundColor}}; }"}},"imageBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap-2:hover::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border-2::before { border-color: {{imageBoxColor}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image\'] { margin: {{imageMargin}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image, {{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image-\'] { border-radius: {{imageBorderRadius}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 { margin: {{titleMargin}}; }"}},"countColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span { color: {{countColor}}; }"}},"countBeforeColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span::before { background-color: {{countBeforeColor}}; }"}}}}'),sd=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var ud=cd.name,dd=cd.category,md=cd.title,pd=cd.description,gd=cd.keywords,fd=cd.supports,bd=cd.attributes,yd={title:(0,ue.__)(md,"woolentor"),description:(0,ue.__)(pd,"woolentor"),icon:React.createElement(de.Icon,{icon:sd}),keywords:gd,supports:fd,attributes:bd,edit:id,save:function(){return null}};function Rd(e){return Rd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rd(e)}function _d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function wd(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_d(Object(o),!0).forEach((function(t){hd(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function hd(e,t,o){return(t=Pd(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ed(e){return function(e){if(Array.isArray(e))return vd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return vd(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?vd(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vd(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Od(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Pd(r.key),r)}}function Pd(e){var t=function(e,t){if("object"!=Rd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Rd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rd(t)?t:String(t)}function Cd(e,t,o){return t=Ad(t),function(e,t){if(t&&("object"===Rd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Bd()?Reflect.construct(t,o||[],Ad(e).constructor):t.apply(e,o))}function Bd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Bd=function(){return!!e})()}function Ad(e){return Ad=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ad(e)}function Wd(e,t){return Wd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wd(e,t)}var Sd=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Cd(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wd(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.showFirstItem,l=function(e,t,o){var a=r.faqList.map((function(r,n){return n===o?wd(wd({},r),{},hd({},t,e)):r}));n({faqList:a})};return r.faqList.length&&(e=r.faqList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.faqList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=Ed(r.faqList);t.splice(e,1),n({faqList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Marker Title","woolentor"),value:r.faqList[o].title,onChange:function(e){return l(e,"title",o)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Faq Content","woolentor"),value:r.faqList[o].content,onChange:function(e){return l(e,"content",o)}}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Ed(r.faqList);e.push({title:(0,ue.__)("Faq Item #"+(r.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({faqList:e}),t.setState({activeClass:r.faqList.length})}.bind(this)},(0,ue.__)("Add FAQ","woolentor"))),React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Show First Item","woolentor"),checked:a,help:a?(0,ue.__)("Enable first item.","woolentor"):(0,ue.__)("Toggle to show the first item.","woolentor"),onChange:function(){return n({showFirstItem:!a})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Icon Position","woolentor"),value:r.iconPosition,options:[{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({iconPosition:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:r.titleBorderType,options:[{label:(0,ue.__)("None","woolentor"),value:""},{label:(0,ue.__)("Solid","woolentor"),value:"solid"},{label:(0,ue.__)("Double","woolentor"),value:"double"},{label:(0,ue.__)("Dotted","woolentor"),value:"dotted"},{label:(0,ue.__)("Dashed","woolentor"),value:"dashed"},{label:(0,ue.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return n({titleBorderType:e})}}),r.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:r.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:n}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:r.titleBorderColor,onChange:function(e){return n({titleBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:r.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:n}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.headBackgroundColor,onChange:function(e){return n({headBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Active Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.activeHeadBackgroundColor,onChange:function(e){return n({activeHeadBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.faqTitleColor,onChange:function(e){return n({faqTitleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Active Title Color","woolentor")},React.createElement(de.ColorPalette,{value:r.activeFaqTitleColor,onChange:function(e){return n({activeFaqTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.titleSize,fallbackFontSize:r.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(io,{label:(0,ue.__)("Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:r.iconColor,onChange:function(e){return n({iconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Active Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:r.activeIconColor,onChange:function(e){return n({activeIconColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.contentColor,onChange:function(e){return n({contentColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.contentSize,fallbackFontSize:r.contentSize,onChange:function(e){return n({contentSize:e})}}))))}}],r&&Od(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const kd=Sd;function Td(e){return Td="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Td(e)}function xd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ld(r.key),r)}}function Ld(e){var t=function(e,t){if("object"!=Td(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Td(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Td(t)?t:String(t)}function Nd(e,t,o){return t=jd(t),function(e,t){if(t&&("object"===Td(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zd()?Reflect.construct(t,o||[],jd(e).constructor):t.apply(e,o))}function zd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zd=function(){return!!e})()}function jd(e){return jd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jd(e)}function Id(e,t){return Id=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Id(e,t)}var Md=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nd(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Id(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id");this.props.attributes.faqList.length>0&&jQuery("#".concat(e)).length>0&&new Accordion("#"+e,{duration:500,showItem:this.props.attributes.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"})}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.faqList;if(e.attributes.faqList!==o||t.showFirstItem!==e.attributes.showFirstItem){this.$el=jQuery(this.el);var r=this.$el.attr("id");o.length>0&&(new Accordion("#"+r,{duration:500,showItem:t.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"}),jQuery(".htwoolentor-faq-card").on("click",(function(e){jQuery(this).toggleClass("is-active")})))}}},{key:"componentWillUnmount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id"),t=jQuery("#"+e);t.accordion&&(t.accordion("destroy"),t.accordion=!1)}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;i!==c&&l({blockUniqId:i});var s,u,d,m=Gt()("htwoolentor-faq","woolentorblock-".concat(c),"woolentorblock-faq-area-"+c,(s={},u="woolentorfaq-icon-pos-".concat(r.iconPosition),d=r.iconPosition,(u=Ld(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s)),p=Be(r,o,c),g=React.createElement("span",{className:"htwoolentor-faq-head-indicator"}),f=r.faqList.map((function(e,t){var o=e.title?React.createElement("span",{className:"htwoolentor-faq-head-text"},e.title):"";return React.createElement("div",{key:t,className:"htwoolentor-faq-card"},"right"===r.iconPosition?React.createElement("div",{className:"htwoolentor-faq-head"},o,g):React.createElement("div",{className:"htwoolentor-faq-head"},g,o),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement("div",{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(De.Fragment,null,a&&React.createElement(kd,this.props),React.createElement("div",{className:n},React.createElement("div",{className:m,id:"htwoolentor-faq-"+c+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},f.length>0?f:(0,ue.__)("FAQ list does not exist.","woolentor")),p))}}],r&&xd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Fd=Md,Hd=JSON.parse('{"name":"woolentor/faq","category":"woolentor-blocks","title":"WL : FAQ","description":"Display faq.","keywords":["WooLentor","faq","accordion","question","answer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"faqList":{"type":"array","default":[{"title":"Words To Live By","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"Producing Perfume From Home","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"The Basics Of Western Astrology Explained","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"What Curling Irons Are The Best Ones","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."}]},"showFirstItem":{"type":"boolean","default":true},"iconPosition":{"type":"string","default":"right"},"headBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ background-color: {{headBackgroundColor}}; }"}},"faqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ color: {{faqTitleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ font-size: {{titleSize}}; }"}},"titleBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-style: {{titleBorderType}}; }"}},"titleBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-width: {{titleBorderWidth}}; }"}},"titleBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-color: {{titleBorderColor}}; }"}},"titleBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-radius: {{titleBorderRadius}}; }"}},"iconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:after{ background-color: {{iconColor}}!important; }"}},"activeHeadBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head{ background-color: {{activeHeadBackgroundColor}}; }"}},"activeFaqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-text{ color: {{activeFaqTitleColor}}; }"}},"activeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:after{ background-color: {{activeIconColor}}!important; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content{ color: {{contentColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content p{ font-size: {{contentSize}}; }"}}}}'),Dd=React.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",space:"preserve"},React.createElement("g",null,React.createElement("path",{d:"M256,0C114.516,0,0,114.497,0,256c0,141.484,114.497,256,256,256c141.484,0,256-114.497,256-256 C512,114.516,397.503,0,256,0z M256,472c-119.377,0-216-96.607-216-216c0-119.377,96.607-216,216-216 c119.377,0,216,96.607,216,216C472,375.377,375.393,472,256,472z"}),React.createElement("path",{d:"M256,128.5c-44.112,0-80,35.888-80,80c0,11.046,8.954,20,20,20s20-8.954,20-20c0-22.056,17.944-40,40-40 c22.056,0,40,17.944,40,40c0,22.056-17.944,40-40,40c-11.046,0-20,8.954-20,20v50c0,11.046,8.954,20,20,20 c11.046,0,20-8.954,20-20v-32.531c34.466-8.903,60-40.26,60-77.469C336,164.388,300.112,128.5,256,128.5z"})));var qd=Hd.name,Gd=Hd.category,Kd=Hd.title,Ud=Hd.description,Qd=Hd.keywords,Vd=Hd.supports,Yd=Hd.attributes,Zd={title:(0,ue.__)(Kd,"woolentor"),description:(0,ue.__)(Ud,"woolentor"),icon:React.createElement(de.Icon,{icon:Dd}),keywords:Qd,supports:Vd,attributes:Yd,edit:Fd,save:function(){return null}};function Jd(e){return Jd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jd(e)}function Xd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$d(r.key),r)}}function $d(e){var t=function(e,t){if("object"!=Jd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jd(t)?t:String(t)}function em(e,t,o){return t=om(t),function(e,t){if(t&&("object"===Jd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tm()?Reflect.construct(t,o||[],om(e).constructor):t.apply(e,o))}function tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tm=function(){return!!e})()}function om(e){return om=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},om(e)}function rm(e,t){return rm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rm(e,t)}var nm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),em(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rm(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.productFilterType,n=t.perPage,a=t.customOrder,l=t.orderBy,i=t.order,c=t.selectedCategories;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Layout","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.layout,options:[{label:(0,ue.__)("Layout One","woolentor"),value:"1"},{label:(0,ue.__)("Layout Two","woolentor"),value:"2"},{label:(0,ue.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:t.noGutter,help:t.noGutter?(0,ue.__)("Enable No Gutters.","woolentor"):(0,ue.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(de.RangeControl,{label:(0,ue.__)("Gutter Spacing","woolentor"),value:t.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Margin Bottom","woolentor"),value:t.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Filter By","woolentor"),value:r,options:[{label:(0,ue.__)("Recent Products","woolentor"),value:"recent"},{label:(0,ue.__)("Featured Products","woolentor"),value:"featured"},{label:(0,ue.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,ue.__)("Sale Products","woolentor"),value:"sale"},{label:(0,ue.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,ue.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:n,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Custom Order","woolentor"),checked:a,help:a?(0,ue.__)("Enable custom order.","woolentor"):(0,ue.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!a})}}),React.createElement(Ko,{title:(0,ue.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:c,type:"multiple"}),a?React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:i,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:l,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Vt,{title:(0,ue.__)("Content Settings","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Content Limit","woolentor"),value:t.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Title","woolentor"),checked:t.showTitle,help:t.showTitle?(0,ue.__)("Enable Title.","woolentor"):(0,ue.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!t.showTitle})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Price","woolentor"),checked:t.showPrice,help:t.showPrice?(0,ue.__)("Enable Price.","woolentor"):(0,ue.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!t.showPrice})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Content","woolentor"),checked:t.showContent,help:t.showContent?(0,ue.__)("Enable Content.","woolentor"):(0,ue.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!t.showContent})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Rating","woolentor"),checked:t.showRating,help:t.showRating?(0,ue.__)("Enable Rating.","woolentor"):(0,ue.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!t.showRating})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Sale Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement(go,{label:(0,ue.__)("Reguler Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cotentColor,onChange:function(e){return o({cotentColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Empty Rating Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Rating Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Action Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}})),React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Xd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const am=nm;function lm(e){return lm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lm(e)}function im(e,t,o){return(t=sm(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function cm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,sm(r.key),r)}}function sm(e){var t=function(e,t){if("object"!=lm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=lm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lm(t)?t:String(t)}function um(e,t,o){return t=mm(t),function(e,t){if(t&&("object"===lm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,dm()?Reflect.construct(t,o||[],mm(e).constructor):t.apply(e,o))}function dm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(dm=function(){return!!e})()}function mm(e){return mm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},mm(e)}function pm(e,t){return pm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pm(e,t)}var gm=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=um(this,t,[e])).state={productData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pm(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData()}},{key:"componentWillUnmount",value:function(){}},{key:"fetchProductsData",value:function(){var e=this,t={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(t.orderBy=this.props.attributes.orderBy,t.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(t.categories=this.props.attributes.selectedCategories);var o=(0,$r.addQueryArgs)("/woolentor/v1/products",t);Ge()({path:o}).then((function(t){return e.setState({productData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s=Gt()("woocommerce","woolentor-product-curvy","woolentorblock-".concat(i),im({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),im({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),im({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),im({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),u=Gt()("wl_single-product-item",im({},"wl_left-item",2==o.layout),im({},"wl_dark-item",3==o.layout)),d=Be(o,t,i),m=this.state.productData;return m.length>0&&(c=m.map((function(e,t){return React.createElement("div",{className:"woolentor-grid-column",key:t},React.createElement("div",{className:u},React.createElement(de.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},(0,De.createElement)("div",{className:"images",dangerouslySetInnerHTML:{__html:e.image.full.html}}))),React.createElement("div",{className:"product-content"},React.createElement("div",{className:"product-content-top"},!0===o.showTitle&&React.createElement("h6",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),!0===o.showPrice&&(0,De.createElement)("div",{className:"product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),!0===o.showContent&&React.createElement("p",null,e.content.split(" ").slice(0,o.contentLimit).join(" ")),!0===o.showRating&&(0,De.createElement)("div",{className:"reading",dangerouslySetInnerHTML:{__html:e.rating.html}})),React.createElement("ul",{className:"action"},React.createElement("li",{className:"wl_cart"},React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"action-item"+e.addtocart.class,"data-product_id":e.id},React.createElement("i",{className:"fa fa-shopping-cart"}))),e.wishlist.status&&(0,De.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&(0,De.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html2}})))))}))),React.createElement(De.Fragment,null,n&&React.createElement(am,this.props),React.createElement("div",{className:r},React.createElement("div",{className:s},0==m.length?React.createElement(de.Spinner,null):React.createElement("div",{className:!0===o.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},c))),d)}}],r&&cm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const fm=gm,bm=JSON.parse('{"name":"woolentor/product-curvy","category":"woolentor-blocks","title":"WL : Product Curvy","description":"Product Curvy.","keywords":["WooLentor","product","curvy","woocommerce","display product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layout":{"type":"string"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"contentLimit":{"type":"number","default":6},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showContent":{"type":"boolean","default":true},"showRating":{"type":"boolean","default":true},"itemAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl_single-product-item, {{WOOLENTOR_WRAPPER}} .wl_single-product-item.wl_dark-item .product-content { background-color: {{itemAreaBGColor}}; }"}},"itemMarginBottom":{"type":"number","default":15,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid{ row-gap: {{itemMarginBottom}}px; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ font-size: {{titleSize}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a:hover{ color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ margin: {{titleMargin}}; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price, {{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price{ color: {{salePriceColor}}!important; }"}},"regulerPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price del,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price del{ color: {{regulerPriceColor}}!important; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ font-size: {{contentSize}}; }"}},"cotentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ color: {{cotentColor}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ margin: {{contentMargin}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating span{ color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating{ margin: {{ratingMargin}}; }"}},"actionBtnAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action{ background-color: {{actionBtnAreaBGColor}}!important; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare::before{ color: {{actionBtnColor}}!important; }"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ background-color: {{actionBtnBGColor}}!important; }"}},"actionBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ border-radius: {{actionBtnBorderRadius}}!important; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare:hover::before{ color: {{actionBtnHoverColor}}!important; }"}},"actionBtnBgHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover{ background-color: {{actionBtnBgHoverColor}}!important; }"}},"imageBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-thumbnail{ border-color: {{imageBorderColor}}!important; }"}}}}'),ym=React.createElement("svg",{id:"Capa_1",enableBackground:"new 0 0 512 512",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m166.717 225.43c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m166.717 263.74c-4.309 0-7.802 3.493-7.802 7.803 0 4.309 3.493 7.802 7.802 7.802s7.803-3.493 7.803-7.802c-.001-4.31-3.494-7.803-7.803-7.803z"}),React.createElement("path",{d:"m166.717 302.049c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802c-.001-4.309-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m302.846 63.778h-90.035l-2.93-21.993c-.497-3.727-3.675-6.51-7.435-6.51h-17.57c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h11.003l2.93 21.993c.003.022.008.043.012.064.003.018.002.036.005.053l7.994 53.55c.549 3.674 3.703 6.393 7.418 6.393h80.614c3.715 0 6.869-2.719 7.418-6.393l7.994-53.55c.322-2.159-.311-4.351-1.736-6.003-1.425-1.654-3.5-2.604-5.682-2.604zm-14.458 53.55h-67.686l-5.755-38.55h79.196z"}),React.createElement("path",{d:"m248.916 165.704c0-12.407-10.094-22.5-22.5-22.5s-22.5 10.093-22.5 22.5 10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5zm-30 0c0-4.136 3.364-7.5 7.5-7.5s7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5-7.5-3.364-7.5-7.5z"}),React.createElement("path",{d:"m282.673 143.204c-12.406 0-22.5 10.093-22.5 22.5s10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5-10.094-22.5-22.5-22.5zm0 30c-4.136 0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5z"}),React.createElement("path",{d:"m279.948 225.733h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 264.042h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 302.351h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("g",null,React.createElement("path",{d:"m484.615 88.534h-84.393v-66.614c0-9.951-8.096-18.047-18.047-18.047h-252.349c-9.951 0-18.048 8.096-18.048 18.047v66.614h-19.645c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h19.646v259.248h-96.779v-246.862c0-6.83 5.557-12.386 12.386-12.386h34.747c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-34.747c-15.101 0-27.386 12.286-27.386 27.386v291.442c0 15.1 12.285 27.385 27.386 27.385h166.31l-8.039 58.38h-24.209c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h189.248c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-24.209l-8.039-58.38h55.225c4.142 0 7.5-3.358 7.5-7.5s-3.358-7.5-7.5-7.5h-346.287c-6.829 0-12.386-5.556-12.386-12.385v-29.58h482v29.58c0 6.829-5.556 12.385-12.385 12.385h-80.942c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h80.942c15.1 0 27.385-12.285 27.385-27.385v-291.442c0-15.1-12.285-27.386-27.385-27.386zm-173.269 404.593h-110.548l8.039-58.38h94.47zm75.208-186.168c-28.917 0-52.443-23.526-52.443-52.443s23.526-52.444 52.443-52.444 52.443 23.526 52.443 52.444-23.526 52.443-52.443 52.443zm-259.776-285.039c0-1.68 1.367-3.047 3.048-3.047h252.349c1.68 0 3.047 1.367 3.047 3.047v165.186c-36.574.715-66.111 30.669-66.111 67.41s29.537 66.695 66.111 67.41v40.61h-258.444zm273.444 340.863v-42.217c30.658-6.335 53.775-33.542 53.775-66.049s-23.118-59.714-53.775-66.05v-84.932h84.393c6.829 0 12.385 5.556 12.385 12.386v246.862z"}),React.createElement("path",{d:"m394.221 246.215c-4.215-1.49-10.156-1.779-12.221-5.464-.154-.191-.159-1.161.199-2.321.211-.685.763-1.893 2.083-2.291 1.891-.57 4.118-.173 6.035.466 2.912.971 6.118-.031 8.046-2.418.044-.054.087-.107.13-.162 3.168-3.921 1.627-9.835-3.085-11.626-.542-.206-1.099-.395-1.671-.567v-2.359c0-4.142-3.357-7.5-7.5-7.5s-7.5 3.358-7.5 7.5v2.722c-5.865 2.243-10.182 7.478-11.399 13.944-1.211 6.425.935 12.69 5.601 16.349 4.315 3.385 10.376 5.783 16.283 7.872 2.59.915 3.688 2.655 3.266 5.17-.332 1.975-2.032 5.324-6.3 5.352-4.606.03-5.695-.139-9.043-2.329-3.712-2.427-8.775-1.144-10.826 2.94-1.733 3.451-.383 7.68 2.861 9.774 3.572 2.307 6.456 3.498 9.557 4.088v3.177c0 4.142 3.357 7.5 7.5 7.5s7.5-3.358 7.5-7.5v-4.032c6.961-2.626 12.247-8.778 13.543-16.485 1.631-9.702-3.617-18.462-13.059-21.8z"}))));var Rm=bm.name,_m=bm.category,wm=bm.title,hm=bm.description,Em=bm.keywords,vm=bm.supports,Om=bm.attributes,Pm={title:(0,ue.__)(wm,"woolentor"),description:(0,ue.__)(hm,"woolentor"),icon:React.createElement(de.Icon,{icon:ym}),keywords:Em,supports:vm,attributes:Om,edit:fm,save:function(){return null}};const Cm=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:r,options:_i,onChange:function(e){return o({titleTag:e})}}),React.createElement("hr",null),React.createElement(io,{label:(0,ue.__)("Show Title","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})}})),React.createElement(io,{label:(0,ue.__)("Show Description","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showDescription,onChange:function(){return o({showDescription:!t.showDescription})}})),React.createElement(io,{label:(0,ue.__)("Show Image","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showImage,onChange:function(){return o({showImage:!t.showImage})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(go,{label:(0,ue.__)("Title","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Description","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.descColor,onChange:function(e){return o({descColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descSize,fallbackFontSize:t.descSize,onChange:function(e){return o({descSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.descMargin,attributesKey:"descMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Bm(e){return Bm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bm(e)}var Am,Wm,Sm,km;function Tm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function xm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lm(r.key),r)}}function Lm(e){var t=function(e,t){if("object"!=Bm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Bm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Bm(t)?t:String(t)}function Nm(e,t,o){return t=jm(t),function(e,t){if(t&&("object"===Bm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zm()?Reflect.construct(t,o||[],jm(e).constructor):t.apply(e,o))}function zm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zm=function(){return!!e})()}function jm(e){return jm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jm(e)}function Im(e,t){return Im=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Im(e,t)}var Mm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nm(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Im(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=Lm(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-archive-data-area"),m=bu.div(Am||(Am=Tm(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),t.areaPadding&&Ie(t.areaPadding,"padding"),Me(i),je(t.contentAlignment,"text-align")),p=bu.div(Wm||(Wm=Tm(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),je(t.titleColor,"color","!important"),je(t.titleSize,"font-size","!important"),t.titleMargin&&Ie(t.titleMargin,"margin","!important")),g=bu.div(Sm||(Sm=Tm(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),je(t.descColor,"color"),je(t.descSize,"font-size"),t.descMargin&&Ie(t.descMargin,"margin")),f=bu.div(km||(km=Tm(["\n\t\t\t\n\t\t"]))),b={title:(0,ue.__)("Archive Title","woolentor"),desc:(0,ue.__)("Lorem Ipsum is simply dummy text of the printing and typesetting industry.","woolentor"),image_url:woolentorData.url+"/src/assets/images/overlay_image.jpeg"};return React.createElement(De.Fragment,null,r&&React.createElement(Cm,this.props),React.createElement(m,{className:d},t.showImage&&React.createElement(f,{className:"woolentor-archive-image"},React.createElement("img",{src:b.image_url,alt:b.title})),t.showTitle&&React.createElement(p,{className:"woolentor-archive-title",as:t.titleTag},b.title),t.showDescription&&React.createElement(g,{className:"woolentor-archive-desc"},b.desc)))}}],r&&xm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Fm=Mm,Hm=JSON.parse('{"name":"woolentor/archive-title","category":"woolentor-blocks","title":"WL : Archive Title","description":"Display archive title.","keywords":["woolentor","archive","title","category title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"showTitle":{"type":"boolean","default":true},"showDescription":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":false},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align:{{contentAlignment}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ color:{{titleColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ font-size:{{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ margin:{{titleMargin}}!important; }"}},"descColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ color:{{descColor}}!important; }"}},"descSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ font-size:{{descSize}}!important; }"}},"descMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ margin:{{descMargin}}!important; }"}}}}'),Dm=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var qm=Hm.name,Gm=Hm.category,Km=Hm.title,Um=Hm.description,Qm=Hm.keywords,Vm=Hm.attributes,Ym={title:(0,ue.__)(Km,"woolentor"),description:(0,ue.__)(Um,"woolentor"),icon:React.createElement(de.Icon,{icon:Dm}),keywords:Qm,example:{attributes:{title_tag:"h2"}},attributes:Vm,edit:Fm,save:function(){return null}};const Zm=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Separator","woolentor"),placeholder:(0,ue.__)("/","woolentor"),value:t.separator,onChange:function(e){return o({separator:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Space","woolentor"),value:t.space,onChange:function(e){return o({space:e})},min:0,step:1,max:500}),React.createElement(go,{label:(0,ue.__)("Separator","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.separateColor,onChange:function(e){return o({separateColor:e})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:t.separateSize,onChange:function(e){return o({separateSize:e})},min:0,step:1,max:500}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jm(e){return Jm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jm(e)}function Xm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$m(r.key),r)}}function $m(e){var t=function(e,t){if("object"!=Jm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jm(t)?t:String(t)}function ep(e,t,o){return t=op(t),function(e,t){if(t&&("object"===Jm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tp()?Reflect.construct(t,o||[],op(e).constructor):t.apply(e,o))}function tp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tp=function(){return!!e})()}function op(e){return op=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},op(e)}function rp(e,t){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rp(e,t)}var np=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ep(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=$m(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-breadcrumb","woolentorblock-".concat(i)),m=""!=o.separator?React.createElement("span",{className:"breadcrumb-separator"},o.separator):React.createElement("span",{className:"breadcrumb-separator"}," / "),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Zm,this.props),React.createElement("div",{className:d},React.createElement("nav",{className:"woocommerce-breadcrumb"},React.createElement("a",{href:"#"},(0,ue.__)("Home","woolentor")),m,React.createElement("a",{href:"#"},(0,ue.__)("Shop","woolentor")),m,(0,ue.__)("Sample Product","woolentor"))),p)}}],r&&Xm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ap=np,lp=JSON.parse('{"name":"woolentor/breadcrumbs","category":"woolentor-blocks","title":"WL : Breadcrumbs","description":"Display breadcrumbs.","keywords":["woolentor","breadcrumbs","navigation","breadcrumb","breadcrumbs menu"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"separator":{"type":"string","default":"/"},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {text-align:{{contentAlignment}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb{color:{{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a{color:{{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a:hover{color:{{linkHoverColor}}; }"}},"space":{"type":"number","default":10,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{margin: 0 {{space}}px; }"}},"separateColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{color:{{separateColor}}; }"}},"separateSize":{"type":"number","default":14,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{font-size:{{separateSize}}px; }"}}}}'),ip=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{fill:"currentColor",d:"m56 48l80 80l-80 80V48z",opacity:".2"}),React.createElement("path",{fill:"currentColor",d:"m141.7 122.3l-80-80a8.4 8.4 0 0 0-8.8-1.7A8 8 0 0 0 48 48v160a8 8 0 0 0 4.9 7.4a8.5 8.5 0 0 0 3.1.6a8.3 8.3 0 0 0 5.7-2.3l80-80a8.1 8.1 0 0 0 0-11.4ZM64 188.7V67.3l60.7 60.7Z"}),React.createElement("path",{fill:"currentColor",d:"m221.7 122.3l-80-80a8.1 8.1 0 0 0-11.4 11.4l74.4 74.3l-74.4 74.3a8.1 8.1 0 0 0 0 11.4a8.2 8.2 0 0 0 11.4 0l80-80a8.1 8.1 0 0 0 0-11.4Z"}));var cp=lp.name,sp=lp.category,up=lp.title,dp=lp.description,mp=lp.keywords,pp=lp.attributes,gp={title:(0,ue.__)(up,"woolentor"),description:(0,ue.__)(dp,"woolentor"),icon:React.createElement(de.Icon,{icon:ip}),keywords:mp,example:{attributes:{separator:"/"}},attributes:pp,edit:ap,save:function(){return null}};function fp(e){return function(e){if(Array.isArray(e))return yp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bp(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bp(e,t){if(e){if("string"==typeof e)return yp(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yp(e,t):void 0}}function yp(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Rp=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||bp(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=fp(o.customerReviewList);a[n][t]=e,r({customerReviewList:a})};return o.customerReviewList.length>0&&(t=o.customerReviewList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.customerReviewList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,ue.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=fp(o.customerReviewList);t.splice(e,1),r({customerReviewList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Customer Name","woolentor"),value:o.customerReviewList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Designation","woolentor"),value:o.customerReviewList[t].designation,placeholder:(0,ue.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Rating","woolentor"),value:o.customerReviewList[t].rating,placeholder:(0,ue.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Message","woolentor"),value:o.customerReviewList[t].message,placeholder:(0,ue.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Jo,{title:(0,ue.__)("Choose Image","woolentor"),instructions:(0,ue.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.customerReviewList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Review","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:o.reviewStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({reviewStyle:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Review Type","woolentor"),value:o.reviewType,options:[{label:(0,ue.__)("Custom","woolentor"),value:"custom"},{label:(0,ue.__)("All Products","woolentor"),value:"allproduct"},{label:(0,ue.__)("Single Product","woolentor"),value:"productwise"},{label:(0,ue.__)("Dynamic","woolentor"),value:"dynamic"}],onChange:function(e){return r({reviewType:e})}}),"custom"==o.reviewType&&React.createElement(React.Fragment,null,t,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=fp(o.customerReviewList);e.push({name:(0,ue.__)("Customer Name #"+(o.customerReviewList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({customerReviewList:e}),l(o.customerReviewList.length)}.bind(void 0)},(0,ue.__)("Add Review","woolentor"))),"allproduct"==o.reviewType&&React.createElement(React.Fragment,null,React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.reviewType&&React.createElement(de.TextControl,{label:(0,ue.__)("Product ID","woolentor"),placeholder:(0,ue.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.reviewType&&React.createElement(de.Notice,{status:"success",isDismissible:!1},(0,ue.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.reviewType&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.reviewType&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(zr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(zr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Name","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Designation","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Message","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},_p=function(e){return e.attributes,e.setAttributes,React.createElement(De.Fragment,null,React.createElement(wt.BlockControls,null,React.createElement(_r.BlockControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"})))};function hp(e){return hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hp(e)}function Ep(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vp(r.key),r)}}function vp(e){var t=function(e,t){if("object"!=hp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hp(t)?t:String(t)}function Op(e,t,o){return t=Cp(t),function(e,t){if(t&&("object"===hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pp()?Reflect.construct(t,o||[],Cp(e).constructor):t.apply(e,o))}function Pp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Pp=function(){return!!e})()}function Cp(e){return Cp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cp(e)}function Bp(e,t){return Bp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bp(e,t)}var Ap=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Op(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=vp(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(t,l,i);return React.createElement(De.Fragment,null,r&&React.createElement(Rp,this.props),r&&React.createElement(_p,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:l,attributes:{blockUniqId:i,reviewStyle:t.reviewStyle,reviewType:t.reviewType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,customerReviewList:t.customerReviewList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&Ep(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Wp=Ap,Sp=JSON.parse('{"name":"woolentor/customer-review","category":"woolentor-blocks","title":"WL: Customer Review","description":"Display Product Customer Review.","keywords":["woolentor","product","review","woocommerce","customer","customer review"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"reviewStyle":{"type":"string","default":"1"},"reviewType":{"type":"string","default":"custom"},"customerReviewList":{"type":"array","default":[{"name":"Carolina Monntoya","designation":"Managing Director","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Peter Rose","designation":"Manager","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Gerald Gilbert","designation":"Developer","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { text-align: {{contentAlign}}; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .wlb-review-style-2 .wl-customer-testimonal .clint-info h4:before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info .rating { color: {{ratingColor}}!important; }"}}}}'),kp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var Tp=Sp.name,xp=Sp.title,Lp=Sp.description,Np=Sp.category,zp=Sp.attributes,jp=Sp.keywords,Ip=Sp.supports,Mp={title:(0,ue.__)(xp,"woolentor"),description:(0,ue.__)(Lp,"woolentor"),icon:React.createElement(de.Icon,{icon:kp}),keywords:jp,supports:Ip,attributes:zp,edit:Wp,save:function(){return null}};const Fp=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:t.order,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Empty Message","woolentor"),checked:t.showEmptyMessage,onChange:function(){return o({showEmptyMessage:!t.showEmptyMessage})}}),t.showEmptyMessage&&React.createElement(de.TextareaControl,{label:(0,ue.__)("Empty Message","woolentor"),value:t.emptyMessage,onChange:function(e){return o({emptyMessage:e})}})),React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(io,{label:(0,ue.__)("No Gutters","woolentor")},React.createElement(de.ToggleControl,{checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})},className:"woolentor-toggle-control"})),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Vt,{title:(0,ue.__)("Content Settings","woolentor")},React.createElement(io,{label:(0,ue.__)("Show Title","woolentor")},React.createElement(de.ToggleControl,{checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})},className:"woolentor-toggle-control"})),React.createElement(io,{label:(0,ue.__)("Show Price","woolentor")},React.createElement(de.ToggleControl,{checked:t.showPrice,onChange:function(){return o({showPrice:!t.showPrice})},className:"woolentor-toggle-control"})),React.createElement(io,{label:(0,ue.__)("Show Add To Cart Button","woolentor")},React.createElement(de.ToggleControl,{checked:t.showAddToCart,onChange:function(){return o({showAddToCart:!t.showAddToCart})},className:"woolentor-toggle-control"})),React.createElement(io,{label:(0,ue.__)("Show Badge","woolentor")},React.createElement(de.ToggleControl,{checked:t.showBadge,onChange:function(){return o({showBadge:!t.showBadge})},className:"woolentor-toggle-control"})),React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:t.titleTag,options:_i,onChange:function(e){return o({titleTag:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item Area","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(zr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Content Area","woolentor")},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o,responsive:!0}),React.createElement(zr,{value:t.contentBorder,onChange:function(e){return o({contentBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o,responsive:!0})),t.showTitle&&React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0})),t.showPrice&&React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0})),t.showAddToCart&&React.createElement(Vt,{title:(0,ue.__)("Add To Cart","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addTocartSize,fallbackFontSize:t.addTocartSize,onChange:function(e){return o({addTocartSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.addTocartPadding,attributesKey:"addTocartPadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.cartButtonBorderRadius,attributesKey:"cartButtonBorderRadius",setAttributes:o,responsive:!0}),React.createElement(Dt,{name:"actionbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonColor,onChange:function(e){return o({cartButtonColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonBGColor,onChange:function(e){return o({cartButtonBGColor:e})}})),React.createElement(zr,{value:t.cartButtonBorder,onChange:function(e){return o({cartButtonBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonHoverColor,onChange:function(e){return o({cartButtonHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonHoverBGColor,onChange:function(e){return o({cartButtonHoverBGColor:e})}})),React.createElement(zr,{value:t.cartButtonHoverBorder,onChange:function(e){return o({cartButtonHoverBorder:e})}})))),t.showBadge&&React.createElement(Vt,{title:(0,ue.__)("Badge","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.badgeSize,fallbackFontSize:t.badgeSize,onChange:function(e){return o({badgeSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(io,{label:(0,ue.__)("Out of Stock Badge Color","woolentor")},React.createElement(de.ColorPalette,{value:t.outStockBadgeColor,onChange:function(e){return o({outStockBadgeColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(zr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.badgePadding,attributesKey:"badgePadding",setAttributes:o,responsive:!0})),t.showEmptyMessage&&React.createElement(Vt,{title:(0,ue.__)("Empty Message","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.emptyMessageSize,fallbackFontSize:t.emptyMessageSize,onChange:function(e){return o({emptyMessageSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyMessageColor,onChange:function(e){return o({emptyMessageColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyMessageBGColor,onChange:function(e){return o({emptyMessageBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.emptyMessagePadding,attributesKey:"emptyMessagePadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.emptyMessageMargin,attributesKey:"emptyMessageMargin",setAttributes:o,responsive:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Hp(e){return Hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hp(e)}function Dp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,qp(r.key),r)}}function qp(e){var t=function(e,t){if("object"!=Hp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Hp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hp(t)?t:String(t)}function Gp(e,t,o){return t=Up(t),function(e,t){if(t&&("object"===Hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Kp()?Reflect.construct(t,o||[],Up(e).constructor):t.apply(e,o))}function Kp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Kp=function(){return!!e})()}function Up(e){return Up=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Up(e)}function Qp(e,t){return Qp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qp(e,t)}var Vp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Gp(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=qp(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-recently-viewed-products","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Fp,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:o,attributes:{columns:t.columns,noGutter:t.noGutter,showTitle:t.showTitle,showPrice:t.showPrice,showAddToCart:t.showAddToCart,showBadge:t.showBadge,titleTag:t.titleTag},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&Dp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Yp=Vp,Zp=JSON.parse('{"name":"woolentor/recently-viewed-products","category":"woolentor-blocks","title":"Recently Viewed Products","description":"Display Recently Viewed Products.","keywords":["woolentor","recent product view","recently view","recent view product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showEmptyMessage":{"type":"boolean","default":true},"emptyMessage":{"type":"string","default":"You haven't viewed at any of the products yet."},"perPage":{"type":"number","default":4},"order":{"type":"string","default":"DESC"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showAddToCart":{"type":"boolean","default":true},"showBadge":{"type":"boolean","default":true},"titleTag":{"type":"string","default":"h2"},"itemPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ padding: {{itemPadding}} !important; }"}},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product"}},"itemBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ border-radius: {{itemBorderRadius}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content { text-align: {{contentAlignment}}; }"}},"contentPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ padding: {{contentPadding}} !important; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content"}},"contentBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ border-radius: {{contentBorderRadius}} !important; }"}},"titleSize":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title { font-size: {{titleSize}} !important; }"}},"titleColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title{ margin: {{titleMargin}} !important; }"}},"priceSize":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { font-size: {{priceSize}}; }"}},"priceColor":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { color: {{priceColor}}; }"}},"priceMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price{ margin: {{priceMargin}} !important; }"}},"addTocartSize":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { font-size: {{addTocartSize}}; }"}},"addTocartPadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ padding: {{addTocartPadding}} !important; }"}},"cartButtonBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ border-radius: {{cartButtonBorderRadius}} !important; }"}},"cartButtonColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { color: {{cartButtonColor}}; }"}},"cartButtonBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { background-color: {{cartButtonBGColor}}; }"}},"cartButtonBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart)"}},"cartButtonHoverColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { color: {{cartButtonHoverColor}}; }"}},"cartButtonHoverBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { background-color: {{cartButtonHoverBGColor}}; }"}},"cartButtonHoverBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover"}},"badgeSize":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { font-size: {{badgeSize}}; }"}},"badgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { color: {{badgeColor}}; }"}},"outStockBadgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label.ht-stockout { color: {{outStockBadgeColor}}; }"}},"badgeBGColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label"}},"badgeBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ border-radius: {{badgeBorderRadius}} !important; }"}},"badgePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ padding: {{badgePadding}} !important; }"}},"emptyMessageSize":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { font-size: {{emptyMessageSize}}; }"}},"emptyMessageColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { color: {{emptyMessageColor}}; }"}},"emptyMessageBGColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { background-color: {{emptyMessageBGColor}}; }"}},"emptyMessagePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ padding: {{emptyMessagePadding}} !important; }"}},"emptyMessageMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ margin: {{emptyMessageMargin}} !important; }"}}}}'),Jp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M7 7h4v4H7zm6 0h4v4h-4zm-6 6h4v4H7zm6 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"}));var Xp=Zp.name,$p=Zp.title,eg=Zp.description,tg=Zp.category,og=Zp.attributes,rg=Zp.keywords,ng=Zp.supports,ag={title:(0,ue.__)($p,"woolentor"),description:(0,ue.__)(eg,"woolentor"),icon:React.createElement(de.Icon,{icon:Jp}),keywords:rg,supports:ng,attributes:og,edit:Yp,save:function(){return null}};function lg(e){return function(e){if(Array.isArray(e))return cg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ig(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ig(e,t){if(e){if("string"==typeof e)return cg(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?cg(e,t):void 0}}function cg(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const sg=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||ig(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=lg(o.testimonialList);a[n][t]=e,r({testimonialList:a})};return o.testimonialList.length>0&&(t=o.testimonialList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.testimonialList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,ue.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=lg(o.testimonialList);t.splice(e,1),r({testimonialList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Customer Name","woolentor"),value:o.testimonialList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Designation","woolentor"),value:o.testimonialList[t].designation,placeholder:(0,ue.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Rating","woolentor"),value:o.testimonialList[t].rating,placeholder:(0,ue.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Message","woolentor"),value:o.testimonialList[t].message,placeholder:(0,ue.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Jo,{title:(0,ue.__)("Choose Image","woolentor"),instructions:(0,ue.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.testimonialList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Testimonial","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:o.testimonialStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({testimonialStyle:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Show From","woolentor"),value:o.testimonialType,options:[{label:(0,ue.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return r({testimonialType:e})}}),"custom"==o.testimonialType&&React.createElement(React.Fragment,null,t,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=lg(o.testimonialList);e.push({name:(0,ue.__)("Customer Name #"+(o.testimonialList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({testimonialList:e}),l(o.testimonialList.length)}.bind(void 0)},(0,ue.__)("Add Review","woolentor"))),"allproduct"==o.testimonialType&&React.createElement(React.Fragment,null,React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.testimonialType&&React.createElement(de.TextControl,{label:(0,ue.__)("Product ID","woolentor"),placeholder:(0,ue.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.testimonialType&&React.createElement(de.Notice,{status:"success",isDismissible:!1},(0,ue.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.testimonialType&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.testimonialType&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(zr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(zr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Name","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Designation","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Message","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.ratingSize,fallbackFontSize:o.ratingSize,onChange:function(e){return r({ratingSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},ug=function(){return React.createElement(De.Fragment,null,React.createElement(wt.BlockControls,null,React.createElement(_r.BlockControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"})))};function dg(e){return dg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dg(e)}function mg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pg(r.key),r)}}function pg(e){var t=function(e,t){if("object"!=dg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dg(t)?t:String(t)}function gg(e,t,o){return t=bg(t),function(e,t){if(t&&("object"===dg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fg()?Reflect.construct(t,o||[],bg(e).constructor):t.apply(e,o))}function fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fg=function(){return!!e})()}function bg(e){return bg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bg(e)}function yg(e,t){return yg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yg(e,t)}var Rg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gg(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yg(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=pg(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(t,l,i);return React.createElement(De.Fragment,null,r&&React.createElement(sg,this.props),r&&React.createElement(ug,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:l,attributes:{blockUniqId:i,testimonialStyle:t.testimonialStyle,testimonialType:t.testimonialType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,testimonialList:t.testimonialList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&mg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const _g=Rg,wg=JSON.parse('{"name":"woolentor/testimonial","category":"woolentor-blocks","title":"WL : Testimonial","description":"Display testimonial.","keywords":["woolentor","testimonial","review","customer","feedback"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"testimonialStyle":{"type":"string","default":"1"},"testimonialType":{"type":"string","default":"custom"},"testimonialList":{"type":"array","default":[{"name":"Anna Miller","designation":"Designer","rating":"5","message":"“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, laboris consequat.”","image":{"id":"","url":""}},{"name":"Kevin Walker","designation":"Manager","rating":"3.5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Ruth Pierce","designation":"Developer","rating":"4","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-client-content,{{WOOLENTOR_WRAPPER}} .ht-client-rating { text-align: {{contentAlign}}; } {{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul{ display:inline-flex; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span::before,{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4::before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { color: {{ratingColor}}!important; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { font-size: {{ratingSize}}!important; }"}}}}'),hg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23a1 1 0 0 1-1-1v-3H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4.1l-3.7 3.71c-.2.19-.45.29-.7.29H12m1-6v3.08L16.08 17H21V7H7v10h6M3 15H1V3a2 2 0 0 1 2-2h16v2H3v12Z"}));var Eg=wg.name,vg=wg.category,Og=wg.title,Pg=wg.description,Cg=wg.keywords,Bg=wg.attributes,Ag=wg.supports,Wg={title:(0,ue.__)(Og,"woolentor"),description:(0,ue.__)(Pg,"woolentor"),icon:React.createElement(de.Icon,{icon:hg}),keywords:Cg,attributes:Bg,supports:Ag,edit:_g,save:function(){return null}};const Sg=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:r,options:_i,onChange:function(e){return o({titleTag:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Title","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"titleAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kg(e){return kg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kg(e)}var Tg;function xg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lg(r.key),r)}}function Lg(e){var t=function(e,t){if("object"!=kg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kg(t)?t:String(t)}function Ng(e,t,o){return t=jg(t),function(e,t){if(t&&("object"===kg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zg()?Reflect.construct(t,o||[],jg(e).constructor):t.apply(e,o))}function zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zg=function(){return!!e})()}function jg(e){return jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jg(e)}function Ig(e,t){return Ig=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ig(e,t)}var Mg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ng(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ig(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d,m,p=Gt()((c={},u=o,(s=Lg(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),g=Gt()("woolentor-product-title","product_title"),f=bu.div(Tg||(d=["\n\t\t\t","\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t","\n\t\t"],m||(m=d.slice(0)),Tg=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.titleColor&&je(t.titleColor,"color","!important"),t.titleSize&&je(t.titleSize,"font-size","!important"),t.titleAlignment&&je(t.titleAlignment,"text-align","!important"),t.titleMargin&&Ie(t.titleMargin,"margin","!important"),t.areaPadding&&Ie(t.areaPadding.desktop,"padding"),Me(i));return React.createElement(De.Fragment,null,r&&React.createElement(Sg,this.props),React.createElement("div",{className:p},React.createElement(f,{className:g,as:t.titleTag},woolentorData.sampledata.title)))}}],r&&xg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Fg=Mg,Hg=JSON.parse('{"name":"woolentor/product-title","category":"woolentor-single-product","title":"WL : Product Title","description":"Display product title.","keywords":["woolentor","product","title","product title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { color: {{titleColor}} !important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { font-size: {{titleSize}} !important; }"}},"titleAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { text-align: {{titleAlignment}} !important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { margin: {{titleMargin}} !important; }"}}}}'),Dg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var qg=Hg.name,Gg=Hg.category,Kg=Hg.title,Ug=Hg.description,Qg=Hg.keywords,Vg=Hg.attributes,Yg={title:(0,ue.__)(Kg,"woolentor"),description:(0,ue.__)(Ug,"woolentor"),icon:React.createElement(de.Icon,{icon:Dg}),keywords:Qg,example:{attributes:{title_tag:"h2"}},attributes:Vg,edit:Fg,save:function(){return null}};const Zg=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Price Area","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"})),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Reguler Price","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.oldPriceColor,onChange:function(e){return o({oldPriceColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.oldPriceSize,fallbackFontSize:t.oldPriceSize,onChange:function(e){return o({oldPriceSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jg(e){return Jg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jg(e)}function Xg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$g(r.key),r)}}function $g(e){var t=function(e,t){if("object"!=Jg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jg(t)?t:String(t)}function ef(e,t,o){return t=of(t),function(e,t){if(t&&("object"===Jg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tf()?Reflect.construct(t,o||[],of(e).constructor):t.apply(e,o))}function tf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tf=function(){return!!e})()}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},of(e)}function rf(e,t){return rf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rf(e,t)}var nf=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ef(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rf(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=$g(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i),"woolentor-product-price","product"),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Zg,this.props),React.createElement("div",{className:d},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.price_html}})),m)}}],r&&Xg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const af=nf,lf=JSON.parse('{"name":"woolentor/product-price","category":"woolentor-single-product","title":"WL : Product Price","description":"Display product price.","keywords":["woolentor","product","price","product price"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { text-align: {{contentAlignment}} !important; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { color: {{priceColor}} !important; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { font-size: {{priceSize}} !important; }"}},"priceMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { margin: {{priceMargin}} !important; }"}},"oldPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { color: {{oldPriceColor}} !important; }"}},"oldPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { font-size: {{oldPriceSize}} !important; }"}}}}'),cf=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.57em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 288 512"},React.createElement("path",{d:"M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5c6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3c0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5c24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7c21.5-61.6-14.6-124.8-72.5-141.7z",fill:"currentColor"}));var sf=lf.name,uf=lf.category,df=lf.title,mf=lf.description,pf=lf.keywords,gf=lf.attributes,ff={title:(0,ue.__)(df,"woolentor"),description:(0,ue.__)(mf,"woolentor"),icon:React.createElement(de.Icon,{icon:cf}),keywords:pf,example:{attributes:{priceColor:"#000"}},attributes:gf,edit:af,save:function(){return null}};const bf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,ue.__)("Default","woolentor"),value:"1"},{label:(0,ue.__)("Layout One","woolentor"),value:"2"},{label:(0,ue.__)("Layout Two","woolentor"),value:"3"},{label:(0,ue.__)("Layout Three","woolentor"),value:"4"},{label:(0,ue.__)("Layout Four","woolentor"),value:"5"}],onChange:function(e){return o({layoutStyle:e})}}),React.createElement(io,{label:(0,ue.__)("Hide Quantity Field","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideQuantityField,onChange:function(){return o({hideQuantityField:!t.hideQuantityField})}})),!1===t.hideQuantityField&&"1"!==t.layoutStyle&&React.createElement(go,{label:(0,ue.__)("Quantity Field","woolentor")}),!1===t.hideQuantityField&&"4"!==t.layoutStyle&&"1"!==t.layoutStyle&&React.createElement(de.TextControl,{label:(0,ue.__)("Quantity Field Label","woolentor"),value:t.quantityText,onChange:function(e){return o({quantityText:e})}}),!1===t.hideQuantityField&&("2"===t.layoutStyle||"4"===t.layoutStyle)&&"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(Wr,{label:(0,ue.__)("Plus Icon","woolentor"),onReset:function(){return o({quantityPlusIcon:""})},value:t.quantityPlusIcon,onChange:function(e){return o({quantityPlusIcon:e})}}),React.createElement(Wr,{label:(0,ue.__)("Minus Icon","woolentor"),onReset:function(){return o({quantityMinusIcon:""})},value:t.quantityMinusIcon,onChange:function(e){return o({quantityMinusIcon:e})}})),"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Buttons","woolentor")}),React.createElement(io,{label:(0,ue.__)("Hide Wishlist","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideWishlistButton,onChange:function(){return o({hideWishlistButton:!t.hideWishlistButton})}})),React.createElement(io,{label:(0,ue.__)("Hide Compare","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideCompareButton,onChange:function(){return o({hideCompareButton:!t.hideCompareButton})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.buttonsPosition,options:[{label:(0,ue.__)("Befor Add to Cart","woolentor"),value:"before"},{label:(0,ue.__)("After Add to Cart","woolentor"),value:"after"},{label:(0,ue.__)("Both Side of Add to Cart","woolentor"),value:"both"}],onChange:function(e){return o({buttonsPosition:e})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Add To Cart Button","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.buttonBorderType,options:wi,onChange:function(e){return o({buttonBorderType:e})}}),t.buttonBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.buttonBorderWidth,attributesKey:"buttonBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonBorderColor,onChange:function(e){return o({buttonBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.buttonBorderRadius,attributesKey:"buttonBorderRadius",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonBackgroundColor,onChange:function(e){return o({buttonBackgroundColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverButtonBackgroundColor,onChange:function(e){return o({hoverButtonBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverButtonBorderColor,onChange:function(e){return o({hoverButtonBorderColor:e})}}))))),!1===t.hideQuantityField&&React.createElement(Vt,{title:(0,ue.__)("Quantity","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Quantity Number","woolentor")},React.createElement(de.ColorPalette,{value:t.qntNumberColor,onChange:function(e){return o({qntNumberColor:e})}})),"4"===t.layoutStyle&&React.createElement(io,{label:(0,ue.__)("Quantity Background","woolentor")},React.createElement(de.ColorPalette,{value:t.qntBGColor,onChange:function(e){return o({qntBGColor:e})}})),("2"===t.layoutStyle||"3"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Label Font Size","woolentor"),layout:"two",styles:{textAlign:"left"}}),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.qntTextSize,fallbackFontSize:t.qntTextSize,onChange:function(e){return o({qntTextSize:e})}}),React.createElement(io,{label:(0,ue.__)("Label Color","woolentor")},React.createElement(de.ColorPalette,{value:t.qntLabelColor,onChange:function(e){return o({qntLabelColor:e})}}))),React.createElement(zr,{value:t.qntBorder,onChange:function(e){return o({qntBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.qntBorderRadius,attributesKey:"qntBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.qntPadding,attributesKey:"qntPadding",setAttributes:o}),"2"===t.layoutStyle&&React.createElement(de.RangeControl,{label:(0,ue.__)("Spacing","woolentor"),value:t.qntSpaceBetween,onChange:function(e){return o({qntSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Font Size","woolentor"),value:t.qntFontSize,onChange:function(e){return o({qntFontSize:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(Dt,{name:"qntbuttonstyles"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.qntPlusMinusColor,onChange:function(e){return o({qntPlusMinusColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.qntPlusMinusHoverColor,onChange:function(e){return o({qntPlusMinusHoverColor:e})}})))))),"1"!==t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("WishList and Compare Button","woolentor"),initialOpen:!1},React.createElement(de.RangeControl,{label:(0,ue.__)("Font Size","woolentor"),value:t.buttonsFontSize,onChange:function(e){return o({buttonsFontSize:e})},allowReset:!0,min:0,step:1,max:1e3}),("3"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Space Between","woolentor"),value:t.buttonsSpaceBetween,onChange:function(e){return o({buttonsSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Width","woolentor"),value:t.buttonsWidth,onChange:function(e){return o({buttonsWidth:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Height","woolentor"),value:t.buttonsHeight,onChange:function(e){return o({buttonsHeight:e})},allowReset:!0,min:0,step:1,max:2e3})),React.createElement(Dt,{name:"wishlistcomparebutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsColor,onChange:function(e){return o({buttonsColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsBGColor,onChange:function(e){return o({buttonsBGColor:e})}})),React.createElement(zr,{value:t.buttonsBorder,onChange:function(e){return o({buttonsBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.buttonsBorderRadius,attributesKey:"buttonsBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.buttonsPadding,attributesKey:"buttonsPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.buttonsMargin,attributesKey:"buttonsMargin",setAttributes:o}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsHoverColor,onChange:function(e){return o({buttonsHoverColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsHoverBGColor,onChange:function(e){return o({buttonsHoverBGColor:e})}})),React.createElement(zr,{value:t.buttonsHoverBorder,onChange:function(e){return o({buttonsHoverBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.buttonsHoverBorderRadius,attributesKey:"buttonsHoverBorderRadius",setAttributes:o})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function yf(e){return yf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yf(e)}const Rf=JSON.parse('{"name":"woolentor/product-addtocart","category":"woolentor-single-product","title":"WL : Add To Cart","description":"Display product cart button.","keywords":["woolentor","product add to cart","cart button","add to cart"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"1"},"quantityText":{"type":"string","default":"Quantity"},"quantityPlusIcon":{"type":"string","default":"fa fa-plus"},"quantityMinusIcon":{"type":"string","default":"fa fa-minus"},"hideWishlistButton":{"type":"boolean","default":false},"hideCompareButton":{"type":"boolean","default":false},"buttonsPosition":{"type":"string","default":"both"},"hideQuantityField":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .quantity,{{WOOLENTOR_WRAPPER}} form.cart input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart form.cart .wl-quantity-wrap{ display: none !important; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ font-size: {{textSize}} !important; }"}},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ padding: {{buttonPadding}} !important; }"}},"buttonBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-style: {{buttonBorderType}} !important; }"}},"buttonBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-width: {{buttonBorderWidth}} !important; }"}},"buttonBorderColor":{"type":"string","style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-color: {{buttonBorderColor}} !important; }"}},"buttonBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-radius: {{buttonBorderRadius}} !important; }"}},"buttonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ background-color: {{buttonBackgroundColor}} !important; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ color: {{hoverTextColor}} !important; }"}},"hoverButtonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ background-color: {{hoverButtonBackgroundColor}} !important; }"}},"hoverButtonBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ border-color: {{hoverButtonBorderColor}} !important; }"}},"buttonsColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span){ color: {{buttonsColor}} !important; }"}},"buttonsBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare){ background-color: {{buttonsBGColor}} !important; }"}},"buttonsBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon"}},"buttonsBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ border-radius: {{buttonsBorderRadius}} !important; }"}},"buttonsPadding":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ padding: {{buttonsPadding}} !important; }"}},"buttonsMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ margin: {{buttonsMargin}} !important; }"}},"buttonsFontSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-cart-icon.wishlist a svg,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 form.cart .wl-cart-icon.wishlist .wishsuite-button svg,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li a svg{ width: {{buttonsFontSize}}px !important; } {{WOOLENTOR_WRAPPER}} .wl-cart-icon.compare a,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li :is(a,span){font-size:{{buttonsFontSize}}px; }"}},"buttonsWidth":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ width: {{buttonsWidth}}px !important; }"}},"buttonsHeight":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ height: {{buttonsHeight}}px !important; }"}},"buttonsSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["3","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is( span.wishsuite-btn-text,.htcompare-btn.woolentor-compare ){ margin-left: {{buttonsSpaceBetween}}px !important; }"}},"buttonsHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span):hover{ color: {{buttonsHoverColor}} !important; }"}},"buttonsHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare):hover{ background-color: {{buttonsHoverBGColor}} !important; }"}},"buttonsHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover"}},"buttonsHoverBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon:hover,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover{ border-radius: {{buttonsHoverBorderRadius}} !important; }"}},"qntTextSize":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .label{ font-size: {{qntTextSize}}; }"}},"qntPlusMinusColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus){ color: {{qntPlusMinusColor}}; }"}},"qntNumberColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .quantity input[type=number]{ color: {{qntNumberColor}}; }"}},"qntBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"4"}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal{ background-color: {{qntBGColor}}; }"}},"qntLabelColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap span.label{ color: {{qntLabelColor}}; }"}},"qntPlusMinusHoverColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus):hover{ color: {{qntPlusMinusHoverColor}}; }"}},"qntBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]"}},"qntBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ border-radius: {{buttonsHoverBorderRadius}} }"}},"qntPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ padding: {{qntPadding}} }"}},"qntSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"2"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal{ margin-left: {{qntSpaceBetween}}px !important; }"}},"qntFontSize":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal :is(.quantity input,.wl-quantity){ font-size: {{qntFontSize}}px; }"}}}}'),_f=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.13em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 576 512"},React.createElement("path",{d:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994c-29.823-.429-54.35-24.631-55.155-54.447c-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938c-28.54-1.325-51.751-24.385-53.251-52.917c-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z",fill:"currentColor"}));var wf=Rf.name,hf=Rf.category,Ef=Rf.title,vf=Rf.description,Of=Rf.keywords,Pf=Rf.attributes,Cf={title:(0,ue.__)(Ef,"woolentor"),description:(0,ue.__)(vf,"woolentor"),icon:React.createElement(de.Icon,{icon:_f}),keywords:Of,example:{attributes:{textColor:"#fff"}},attributes:Pf,edit:function(e){var t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d,m=Be(o,t,i),p=Gt()((c={},u=r,d=function(e,t){if("object"!=yf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(s=r),(s="symbol"==yf(d)?d:String(d))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","product","woolentorblock-".concat(i));return React.createElement(De.Fragment,null,n&&React.createElement(bf,e),React.createElement("div",{className:p},React.createElement(In(),{block:t,attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,quantityText:o.quantityText,quantityPlusIcon:o.quantityPlusIcon,quantityMinusIcon:o.quantityMinusIcon,hideWishlistButton:o.hideWishlistButton,hideCompareButton:o.hideCompareButton,buttonsPosition:o.buttonsPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}),m))},save:function(){return null}};const Bf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Af(e){return Af="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Af(e)}function Wf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Sf(r.key),r)}}function Sf(e){var t=function(e,t){if("object"!=Af(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Af(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Af(t)?t:String(t)}function kf(e,t,o){return t=xf(t),function(e,t){if(t&&("object"===Af(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Tf()?Reflect.construct(t,o||[],xf(e).constructor):t.apply(e,o))}function Tf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Tf=function(){return!!e})()}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xf(e)}function Lf(e,t){return Lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lf(e,t)}var Nf=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lf(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Sf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Gt()("woolentor-product-short-description","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Bf,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.short_description}}))),p)}}],r&&Wf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const zf=Nf,jf=JSON.parse('{"name":"woolentor/product-short-description","category":"woolentor-single-product","title":"WL : Short Description","description":"Display product short description.","keywords":["woolentor","product description","short description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ margin: {{textMargin}}; }"}}}}'),If=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var Mf=jf.name,Ff=jf.category,Hf=jf.title,Df=jf.description,qf=jf.keywords,Gf=jf.attributes,Kf={title:(0,ue.__)(Hf,"woolentor"),description:(0,ue.__)(Df,"woolentor"),icon:React.createElement(de.Icon,{icon:If}),keywords:qf,example:{attributes:{textColor:"#000"}},attributes:Gf,edit:zf,save:function(){return null}};const Uf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Qf(e){return Qf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qf(e)}function Vf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Yf(r.key),r)}}function Yf(e){var t=function(e,t){if("object"!=Qf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qf(t)?t:String(t)}function Zf(e,t,o){return t=Xf(t),function(e,t){if(t&&("object"===Qf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Jf()?Reflect.construct(t,o||[],Xf(e).constructor):t.apply(e,o))}function Jf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Jf=function(){return!!e})()}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xf(e)}function $f(e,t){return $f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$f(e,t)}var eb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Zf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$f(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Yf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Gt()("woolentor-product-description","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Uf,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{className:"woocommerce_product_description",dangerouslySetInnerHTML:{__html:"<p>"+woolentorData.sampledata.description+"</p>"}}))),p)}}],r&&Vf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const tb=eb,ob=JSON.parse('{"name":"woolentor/product-description","category":"woolentor-single-product","title":"WL : Description","description":"Display product description.","keywords":["woolentor","description","product description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}{ margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ margin: {{textMargin}}; }"}}}}'),rb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var nb=ob.name,ab=ob.category,lb=ob.title,ib=ob.description,cb=ob.keywords,sb=ob.attributes,ub={title:(0,ue.__)(lb,"woolentor"),description:(0,ue.__)(ib,"woolentor"),icon:React.createElement(de.Icon,{icon:rb}),keywords:cb,example:{attributes:{textColor:"#000"}},attributes:sb,edit:tb,save:function(){return null}};const db=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement("h3",null,(0,ue.__)("Link font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.linkSize,fallbackFontSize:t.linkSize,onChange:function(e){return o({linkSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function mb(e){return mb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mb(e)}function pb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gb(r.key),r)}}function gb(e){var t=function(e,t){if("object"!=mb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mb(t)?t:String(t)}function fb(e,t,o){return t=yb(t),function(e,t){if(t&&("object"===mb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bb()?Reflect.construct(t,o||[],yb(e).constructor):t.apply(e,o))}function bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bb=function(){return!!e})()}function yb(e){return yb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yb(e)}function Rb(e,t){return Rb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rb(e,t)}var _b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),fb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rb(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=gb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-rating","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(db,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.rating}}))),p)}}],r&&pb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const wb=_b,hb=JSON.parse('{"name":"woolentor/product-rating","category":"woolentor-single-product","title":"WL : Rating","description":"Display product rating.","keywords":["woolentor","rating","product review","product rating"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .star-rating,{{WOOLENTOR_WRAPPER}} .star-rating::before, {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating,{{WOOLENTOR_WRAPPER}} .woocommerce-product-rating::before{ color: {{ratingColor}} !important; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ color: {{linkColor}} !important; }"}},"linkSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ font-size: {{linkSize}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating { text-align: {{contentAlignment}} !important;line-height:1; } .woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating .star-rating{ display:inline-block;float:none;margin-top:0;text-align:left }"}}}}'),Eb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.97em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 496 512"},React.createElement("path",{d:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3c-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9c-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.3.9 9 8.5 4.4 13.1z",fill:"currentColor"}));var vb=hb.name,Ob=hb.category,Pb=hb.title,Cb=hb.description,Bb=hb.keywords,Ab=hb.attributes,Wb={title:(0,ue.__)(Pb,"woolentor"),description:(0,ue.__)(Cb,"woolentor"),icon:React.createElement(de.Icon,{icon:Eb}),keywords:Bb,example:{attributes:{ratingColor:"inherit"}},attributes:Ab,edit:wb,save:function(){return null}};const Sb=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Image","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Thumbnails","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.thumbBorderType,options:wi,onChange:function(e){return o({thumbBorderType:e})}}),t.thumbBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.thumbBorderWidth,attributesKey:"thumbBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbBorderColor,onChange:function(e){return o({thumbBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.thumbBorderRadius,attributesKey:"thumbBorderRadius",setAttributes:o}),React.createElement(de.RangeControl,{label:(0,ue.__)("Spacing","woolentor"),value:t.thumbSpacing,onChange:function(e){return o({thumbSpacing:e})},min:1,step:1,max:1e3,allowReset:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kb(e){return kb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kb(e)}function Tb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xb(r.key),r)}}function xb(e){var t=function(e,t){if("object"!=kb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kb(t)?t:String(t)}function Lb(e,t,o){return t=zb(t),function(e,t){if(t&&("object"===kb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Nb()?Reflect.construct(t,o||[],zb(e).constructor):t.apply(e,o))}function Nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Nb=function(){return!!e})()}function zb(e){return zb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zb(e)}function jb(e,t){return jb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jb(e,t)}var Ib=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Lb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jb(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=xb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce woocommerce-page single-product woocommerce-js","woolentorblock-".concat(i)),m=Gt()("woolentor-product-image"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Sb,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},React.createElement(de.Disabled,null,(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.image}})))),p)}}],r&&Tb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Mb=Ib,Fb=JSON.parse('{"name":"woolentor/product-image","category":"woolentor-single-product","title":"WL : Product Image","description":"Display product image.","keywords":["woolentor","image","product image"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"imageBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport{border-style:{{imageBorderType}};overflow:hidden; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport:not(:last-child) { margin: {{imageMargin}}; }"}},"thumbBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-style: {{thumbBorderType}}; }"}},"thumbBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-width: {{thumbBorderWidth}}; }"}},"thumbBorderColor":{"type":"string","style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-color: {{thumbBorderColor}}; }"}},"thumbBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-radius: {{thumbBorderRadius}}; }"}},"thumbSpacing":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs li { padding-right: calc({{thumbSpacing}}px / 2);padding-left: calc({{thumbSpacing}}px / 2);}.woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs { margin-right: calc(-{{thumbSpacing}}px / 2)!important;margin-left: calc(-{{thumbSpacing}}px / 2)!important; }"}}}}'),Hb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var Db=Fb.name,qb=Fb.category,Gb=Fb.title,Kb=Fb.description,Ub=Fb.keywords,Qb=Fb.attributes,Vb={title:(0,ue.__)(Gb,"woolentor"),description:(0,ue.__)(Kb,"woolentor"),icon:React.createElement(de.Icon,{icon:Hb}),keywords:Ub,attributes:Qb,edit:Mb,save:function(){return null}};const Yb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,ue.__)("Tab","woolentor"),value:"tab"},{label:(0,ue.__)("Tab With Slider","woolentor"),value:"tabslider"},{label:(0,ue.__)("Gallery","woolentor"),value:"gallery"},{label:(0,ue.__)("Slider","woolentor"),value:"slider"},{label:(0,ue.__)("Single Thumbnails","woolentor"),value:"single"}],onChange:function(e){return o({layoutStyle:e})}}),("tabslider"===t.layoutStyle||"tab"===t.layoutStyle)&&React.createElement(_r.InspectorControls,{label:(0,ue.__)("Thumbnails Position","woolentor"),attribute:"thumbnailsPosition",isSmall:!0,options:[{value:"left",title:(0,ue.__)("Left","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:Ne}))},{value:"right",title:(0,ue.__)("Right","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:ze}))},{value:"top",title:(0,ue.__)("Top","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:xe}))},{value:"bottom",title:(0,ue.__)("bottom","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:Le}))}]}),React.createElement(io,{label:(0,ue.__)("Sale Badge Hide","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleBadgeHide,onChange:function(){return o({saleBadgeHide:!t.saleBadgeHide})}})),React.createElement(io,{label:(0,ue.__)("Custom Badge Hide","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.customSaleBadgeHide,onChange:function(){return o({customSaleBadgeHide:!t.customSaleBadgeHide})}}))),"tabslider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(go,{label:(0,ue.__)("Main Image Slider","woolentor")}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainArrows,onChange:function(){return o({mainArrows:!t.mainArrows})}})),React.createElement(io,{label:(0,ue.__)("Slider Pagination","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainDots,onChange:function(){return o({mainDots:!t.mainDots})}})),React.createElement(go,{label:(0,ue.__)("Thumbnails Slider","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.thumbSliderItems,onChange:function(e){return o({thumbSliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.thumbnaiArrows,onChange:function(){return o({thumbnaiArrows:!t.thumbnaiArrows})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Arrow Style","woolentor"),value:t.thumbArrowStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"one"},{label:(0,ue.__)("Style Two","woolentor"),value:"two"}],onChange:function(e){return o({thumbArrowStyle:e})}})),"slider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(go,{label:(0,ue.__)("Tablet Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(go,{label:(0,ue.__)("Mobile Phone Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,"gallery"!=t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Main Image","woolentor")},React.createElement(zr,{value:t.imageBorder,onChange:function(e){return o({imageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Thumbnails Image","woolentor")},React.createElement(zr,{value:t.thumbImageBorder,onChange:function(e){return o({thumbImageBorder:e})}}),"tabslider"===t.layoutStyle&&React.createElement(zr,{label:(0,ue.__)("Current Thumbnails Border","woolentor"),value:t.thumbCurrentImageBorder,onChange:function(e){return o({thumbCurrentImageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.thumbImageBorderRadius,attributesKey:"thumbImageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.thumbImageMargin,attributesKey:"thumbImageMargin",setAttributes:o,responsive:!0})),"tabslider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Main Slider Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationColor,onChange:function(e){return o({mainNavigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationBGColor,onChange:function(e){return o({mainNavigationBGColor:e})}})),React.createElement(zr,{value:t.mainNavigationBorder,onChange:function(e){return o({mainNavigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationHoverColor,onChange:function(e){return o({mainNavigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationHoverBGColor,onChange:function(e){return o({mainNavigationHoverBGColor:e})}})),React.createElement(zr,{value:t.mainNavigationHoverBorder,onChange:function(e){return o({mainNavigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Main Slider Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:t.mainPaginationPosition,onChange:function(e){return o({mainPaginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainPaginationColor,onChange:function(e){return o({mainPaginationColor:e})}})),React.createElement(zr,{value:t.mainPaginationBorder,onChange:function(e){return o({mainPaginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainPaginationActiveColor,onChange:function(e){return o({mainPaginationActiveColor:e})}})),React.createElement(zr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Thumbnails Slider Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationColor,onChange:function(e){return o({thumbNavigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationBGColor,onChange:function(e){return o({thumbNavigationBGColor:e})}})),React.createElement(zr,{value:t.thumbNavigationBorder,onChange:function(e){return o({thumbNavigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationHoverColor,onChange:function(e){return o({thumbNavigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationHoverBGColor,onChange:function(e){return o({thumbNavigationHoverBGColor:e})}})),React.createElement(zr,{value:t.thumbNavigationHoverBorder,onChange:function(e){return o({thumbNavigationHoverBorder:e})}})))),"slider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(zr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(zr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(zr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(zr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}})))),React.createElement(Vt,{title:(0,ue.__)("Product Badge","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(zr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.badgeBorderPadding,attributesKey:"badgeBorderPadding",setAttributes:o,responsive:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Zb(e){return Zb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zb(e)}function Jb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xb(r.key),r)}}function Xb(e){var t=function(e,t){if("object"!=Zb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Zb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zb(t)?t:String(t)}function $b(e,t,o){return t=ty(t),function(e,t){if(t&&("object"===Zb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ey()?Reflect.construct(t,o||[],ty(e).constructor):t.apply(e,o))}function ey(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ey=function(){return!!e})()}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ty(e)}function oy(e,t){return oy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oy(e,t)}var ry=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=$b(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeNavForSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o.customEventSlider=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oy(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),document.dispatchEvent(t.customEventSlider),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=o.blockUniqId;""==i&&n({blockUniqId:a});var c=Gt()(t,"wlpro-product-thumbnails","woolentorblock-".concat(i)),s=Be(o,l,i);return"tabslider"===o.layoutStyle&&document.dispatchEvent(this.customEvent),"slider"===o.layoutStyle&&document.dispatchEvent(this.customEventSlider),React.createElement(De.Fragment,null,r&&React.createElement(Yb,this.props),React.createElement("div",{className:c},React.createElement(In(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,thumbnailsPosition:o.thumbnailsPosition,saleBadgeHide:o.saleBadgeHide,customSaleBadgeHide:o.customSaleBadgeHide,mainArrows:o.mainArrows,mainDots:o.mainDots,thumbSliderItems:o.thumbSliderItems,thumbnaiArrows:o.thumbnaiArrows,thumbArrowStyle:o.thumbArrowStyle,sliderItems:o.sliderItems,arrows:o.arrows,dots:o.dots,pauseOnHover:o.pauseOnHover,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,animationSpeed:o.animationSpeed,scrollColumns:o.scrollColumns,tabletDisplayColumns:o.tabletDisplayColumns,tabletScrollColumns:o.tabletScrollColumns,tabletWidth:o.tabletWidth,mobileDisplayColumns:o.mobileDisplayColumns,mobileScrollColumns:o.mobileScrollColumns,mobileWidth:o.mobileWidth},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),s)}}],r&&Jb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ny=ry,ay=JSON.parse('{"name":"woolentor/product-advance-image","category":"woolentor-single-product","title":"WL: Advance Product Image","description":"Display Product Grid.","keywords":["woolentor","shoplentor","product","single product","woocommerce","advance product image"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"tab"},"thumbnailsPosition":{"type":"string","default":"bottom"},"saleBadgeHide":{"type":"boolean","default":false},"customSaleBadgeHide":{"type":"boolean","default":false},"mainArrows":{"type":"boolean","default":true},"mainDots":{"type":"boolean","default":true},"thumbSliderItems":{"type":"number","default":4},"thumbnaiArrows":{"type":"boolean","default":true},"thumbArrowStyle":{"type":"string","default":"one"},"sliderItems":{"type":"number","default":1},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":1},"tabletDisplayColumns":{"type":"number","default":1},"tabletScrollColumns":{"type":"number","default":1},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image img{ border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image{ margin: {{imageMargin}}; }"}},"thumbImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img"}},"thumbCurrentImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single.slick-current img"}},"thumbImageBorderRadius":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img{ border-radius: {{thumbImageBorderRadius}}; }"}},"thumbImageMargin":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery,.woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img{ margin: {{thumbImageMargin}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}},"mainNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ color: {{mainNavigationColor}}!important; }"}},"mainNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ background-color: {{mainNavigationBGColor}}!important; }"}},"mainNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow"}},"mainNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ color: {{mainNavigationHoverColor}}!important; }"}},"mainNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ background-color: {{mainNavigationHoverBGColor}}!important; }"}},"mainNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow:hover"}},"mainPaginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots{ bottom: {{mainPaginationPosition}}px; }"}},"mainPaginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button{ background-color: {{mainPaginationColor}}; }"}},"mainPaginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button"}},"mainPaginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button{ background-color: {{mainPaginationActiveColor}}; }"}},"mainPaginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button"}},"thumbNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ color: {{thumbNavigationColor}}; }"}},"thumbNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ background-color: {{thumbNavigationBGColor}}; }"}},"thumbNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow"}},"thumbNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ color: {{thumbNavigationHoverColor}}; }"}},"thumbNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ background-color: {{thumbNavigationHoverBGColor}}; }"}},"thumbNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover"}},"badgeColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ color: {{badgeColor}}; }"}},"badgeBGColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label"}},"badgeBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ border-radius: {{badgeBorderRadius}}; }"}},"badgeBorderPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ padding: {{badgeBorderPadding}}; }"}}}}'),ly=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var iy=ay.name,cy=ay.title,sy=ay.description,uy=ay.category,dy=ay.attributes,my=ay.keywords,py=ay.supports,gy={title:(0,ue.__)(cy,"woolentor"),description:(0,ue.__)(sy,"woolentor"),icon:React.createElement(de.Icon,{icon:ly}),keywords:my,supports:py,attributes:dy,edit:ny,save:function(){return null}};const fy=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Product Meta","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function by(e){return by="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},by(e)}function yy(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ry(r.key),r)}}function Ry(e){var t=function(e,t){if("object"!=by(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=by(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==by(t)?t:String(t)}function _y(e,t,o){return t=hy(t),function(e,t){if(t&&("object"===by(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wy()?Reflect.construct(t,o||[],hy(e).constructor):t.apply(e,o))}function wy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wy=function(){return!!e})()}function hy(e){return hy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hy(e)}function Ey(e,t){return Ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ey(e,t)}var vy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_y(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ey(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Ry(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-meta"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(fy,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.meta_info}}))),p)}}],r&&yy(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Oy=vy,Py=JSON.parse('{"name":"woolentor/product-meta","category":"woolentor-single-product","title":"WL : Product Meta","description":"Display product meta info.","keywords":["woolentor","product meta","meta info","product info"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ color: {{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a{ color: {{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a:hover{ color: {{linkHoverColor}}; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ font-size: {{textSize}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ margin: {{textMargin}}; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ text-align: {{contentAlignment}}; }"}}}}'),Cy=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 512 512"},React.createElement("path",{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42s-42-18.804-42-42s18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z",fill:"currentColor"}));var By=Py.name,Ay=Py.category,Wy=Py.title,Sy=Py.description,ky=Py.keywords,Ty=Py.attributes,xy={title:(0,ue.__)(Wy,"woolentor"),description:(0,ue.__)(Sy,"woolentor"),icon:React.createElement(de.Icon,{icon:Cy}),keywords:ky,example:{attributes:{textColor:"#000"}},attributes:Ty,edit:Oy,save:function(){return null}};const Ly=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Show Heading","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showHeading,onChange:function(){return o({showHeading:!t.showHeading})}})))),React.createElement(Tt,null,!0===t.showHeading&&React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Content Table","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(go,{label:(0,ue.__)("Content","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ny(e){return Ny="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ny(e)}function zy(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jy(r.key),r)}}function jy(e){var t=function(e,t){if("object"!=Ny(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ny(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ny(t)?t:String(t)}function Iy(e,t,o){return t=Fy(t),function(e,t){if(t&&("object"===Ny(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,My()?Reflect.construct(t,o||[],Fy(e).constructor):t.apply(e,o))}function My(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(My=function(){return!!e})()}function Fy(e){return Fy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fy(e)}function Hy(e,t){return Hy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hy(e,t)}var Dy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Iy(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hy(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=jy(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Gt()("woolentor-product-additional-info"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Ly,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.additional_info}}))),p)}}],r&&zy(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const qy=Dy,Gy=JSON.parse('{"name":"woolentor/product-additional-info","category":"woolentor-single-product","title":"WL : Product Additional Info","description":"Display product additional information.","keywords":["woolentor","additional info","information","product information"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showHeading":{"type":"boolean","default":true},"headingColor":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { margin: {{headingMargin}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { font-size: {{tableHeadingSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { color: {{tableContentColor}}; }"}},"tableContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { font-size: {{tableContentSize}}; }"}}}}'),Ky=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.75em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 384 512"},React.createElement("path",{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z",fill:"currentColor"}));var Uy=Gy.name,Qy=Gy.category,Vy=Gy.title,Yy=Gy.description,Zy=Gy.keywords,Jy=Gy.attributes,Xy={title:(0,ue.__)(Vy,"woolentor"),description:(0,ue.__)(Yy,"woolentor"),icon:React.createElement(de.Icon,{icon:Ky}),keywords:Zy,example:{attributes:{showHeading:!0}},attributes:Jy,edit:qy,save:function(){return null}};const $y=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Tab Menu","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"menu",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBorderColor,onChange:function(e){return o({tabMenuBorderColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabMenuSize,fallbackFontSize:t.tabMenuSize,onChange:function(e){return o({tabMenuSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.tabMenuBorderRadius,attributesKey:"tabMenuBorderRadius",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tabMenuAlignment",justified:!0})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBGActiveColor,onChange:function(e){return o({tabMenuBGActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveBorderColor,onChange:function(e){return o({tabMenuActiveBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabContentHeadingColor,onChange:function(e){return o({tabContentHeadingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentHeadingSize,fallbackFontSize:t.tabContentHeadingSize,onChange:function(e){return o({tabContentHeadingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.tabContentHeadingMargin,attributesKey:"tabContentHeadingMargin",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Description","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabContentColor,onChange:function(e){return o({tabContentColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentSize,fallbackFontSize:t.tabContentSize,onChange:function(e){return o({tabContentSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function eR(e){return eR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eR(e)}function tR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,oR(r.key),r)}}function oR(e){var t=function(e,t){if("object"!=eR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=eR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eR(t)?t:String(t)}function rR(e,t,o){return t=aR(t),function(e,t){if(t&&("object"===eR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,nR()?Reflect.construct(t,o||[],aR(e).constructor):t.apply(e,o))}function nR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(nR=function(){return!!e})()}function aR(e){return aR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},aR(e)}function lR(e,t){return lR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lR(e,t)}var iR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),rR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=oR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-tabs","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement($y,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_tabs}}))),p)}}],r&&tR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const cR=iR,sR=JSON.parse('{"name":"woolentor/product-tabs","category":"woolentor-single-product","title":"WL : Product Tabs","description":"Display product tabs.","keywords":["woolentor","tabs","product","product tabs"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tabMenuColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ color: {{tabMenuColor}} !important; }"}},"tabMenuBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ background-color: {{tabMenuBGColor}} !important; }"}},"tabMenuBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-color: {{tabMenuBorderColor}} !important; }"}},"tabMenuSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ font-size: {{tabMenuSize}} !important; }"}},"tabMenuBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-radius: {{tabMenuBorderRadius}} !important; }"}},"tabMenuAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs{ text-align: {{tabMenuAlignment}} !important; }"}},"tabMenuActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active a{ color: {{tabMenuActiveColor}} !important; }"}},"tabMenuBGActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ background-color: {{tabMenuBGActiveColor}} !important; }"}},"tabMenuActiveBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ border-color: {{tabMenuActiveBorderColor}} !important; }.woocommerce .{{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li:not(.active){ border-bottom-color:{{tabMenuActiveBorderColor}}; }"}},"tabContentHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ color: {{tabContentHeadingColor}} !important; }"}},"tabContentHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ font-size: {{tabContentHeadingSize}} !important; }"}},"tabContentHeadingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ margin: {{tabContentHeadingMargin}} !important; }"}},"tabContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel p{ color: {{tabContentColor}} !important; }"}},"tabContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel{ font-size: {{tabContentSize}} !important; }"}}}}'),uR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{d:"M32 96h192l.008-40a8 8 0 0 0-8-8h-176a8 8 0 0 0-8 8z",opacity:".2",fill:"currentColor"}),React.createElement("path",{d:"M216.008 40h-176a16.018 16.018 0 0 0-16 16v39.845c-.001.052-.008.103-.008.155s.007.103.008.155V200a16.018 16.018 0 0 0 16 16h176a16.018 16.018 0 0 0 16-16V56a16.018 16.018 0 0 0-16-16zm0 16l.002 32H40.008V56zm0 144h-176v-96H216.01l.007 96z",fill:"currentColor"}));var dR=sR.name,mR=sR.category,pR=sR.title,gR=sR.description,fR=sR.keywords,bR=sR.attributes,yR={title:(0,ue.__)(pR,"woolentor"),description:(0,ue.__)(gR,"woolentor"),icon:React.createElement(de.Icon,{icon:uR}),keywords:fR,example:{attributes:{tabMenuColor:"#000"}},attributes:bR,edit:cR,save:function(){return null}};const RR=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(go,{label:(0,ue.__)("Comment Box","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.commentBoxColor,onChange:function(e){return o({commentBoxColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.commentBoxSize,fallbackFontSize:t.commentBoxSize,onChange:function(e){return o({commentBoxSize:e})}}),React.createElement(zr,{value:t.commentBoxBorder,onChange:function(e){return o({commentBoxBorder:e})}}),React.createElement(go,{label:(0,ue.__)("Button","woolentor")}),React.createElement(Dt,{name:"button",tabs:["normal","hover"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGHoverColor,onChange:function(e){return o({submitBtnBGHoverColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function _R(e){return _R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_R(e)}function wR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,hR(r.key),r)}}function hR(e){var t=function(e,t){if("object"!=_R(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=_R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_R(t)?t:String(t)}function ER(e,t,o){return t=OR(t),function(e,t){if(t&&("object"===_R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vR()?Reflect.construct(t,o||[],OR(e).constructor):t.apply(e,o))}function vR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vR=function(){return!!e})()}function OR(e){return OR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},OR(e)}function PR(e,t){return PR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PR(e,t)}var CR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ER(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=hR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-product-review","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(RR,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&wR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const BR=CR,AR=JSON.parse('{"name":"woolentor/product-reviews","category":"woolentor-single-product","title":"WL: Product Reviews","description":"Display Product Reviews.","keywords":["woolentor","Product","Review","Product Review","Single product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"commentBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ color: {{commentBoxColor}} !important; }"}},"commentBoxSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ font-size: {{commentBoxSize}} !important; }"}},"commentBoxBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment"}},"submitBtnColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ color: {{submitBtnColor}} !important; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ background-color: {{submitBtnBGColor}} !important; }"}},"submitBtnSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ font-size: {{submitBtnSize}} !important; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ color: {{submitBtnHoverColor}} !important; }"}},"submitBtnBGHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ background-color: {{submitBtnBGHoverColor}} !important; }"}}}}'),WR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"m12 15l1.55-3.45L17 10l-3.45-1.55L12 5l-1.55 3.45L7 10l3.45 1.55ZM2 22V4q0-.825.588-1.413Q3.175 2 4 2h16q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18H6Zm2-4.825L5.175 16H20V4H4ZM4 4v13.175Z"}));var SR=AR.name,kR=AR.title,TR=AR.description,xR=AR.category,LR=AR.attributes,NR=AR.keywords,zR=AR.supports,jR={title:(0,ue.__)(kR,"woolentor"),description:(0,ue.__)(TR,"woolentor"),icon:React.createElement(de.Icon,{icon:WR}),keywords:NR,supports:zR,attributes:LR,edit:BR,save:function(){return null}};const IR=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Text","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function MR(e){return MR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},MR(e)}function FR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,HR(r.key),r)}}function HR(e){var t=function(e,t){if("object"!=MR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=MR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==MR(t)?t:String(t)}function DR(e,t,o){return t=GR(t),function(e,t){if(t&&("object"===MR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qR()?Reflect.construct(t,o||[],GR(e).constructor):t.apply(e,o))}function qR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qR=function(){return!!e})()}function GR(e){return GR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},GR(e)}function KR(e,t){return KR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},KR(e,t)}var UR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),DR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&KR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=HR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-stock-status","product_stock_status"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(IR,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_stock}}))),p)}}],r&&FR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const QR=UR,VR=JSON.parse('{"name":"woolentor/product-stock","category":"woolentor-single-product","title":"Product Stock","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ color: {{textColor}}!important; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ font-size: {{textSize}}!important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status { text-align: {{contentAlignment}}; } .woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status > p{display:inline-block;}"}}}}'),YR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{className:"icon-tabler",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},React.createElement("path",{d:"M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3"}),React.createElement("path",{d:"M12 12l8-4.5"}),React.createElement("path",{d:"M12 12v9"}),React.createElement("path",{d:"M12 12L4 7.5"})));var ZR=VR.name,JR=VR.category,XR=VR.attributes,$R={title:(0,ue.__)("WL: Product Stock","woolentor"),description:(0,ue.__)("Display product stock.","woolentor"),icon:React.createElement(de.Icon,{icon:YR}),keywords:["woolentor",(0,ue.__)("product","woolentor"),(0,ue.__)("status","woolentor"),(0,ue.__)("stock status","woolentor")],example:{attributes:{}},attributes:XR,edit:QR,save:function(){return null}};const e_=function(e){var t=e.attributes,o=e.setAttributes,r=t.addCartUrl,n=t.quantity,a=t.size;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("QR Code","woolentor"),initialOpen:!0},React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:a,onChange:function(e){return o({size:e})},min:1,step:1,max:1e3}),React.createElement(io,{label:(0,ue.__)("Enable Add to Cart URL","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:r,onChange:function(){return o({addCartUrl:!r})}})),r&&React.createElement(de.RangeControl,{label:(0,ue.__)("Quantity","woolentor"),value:n,onChange:function(e){return o({quantity:e})},min:1,step:1,max:1e3}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"codeAlign",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function t_(e){return t_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t_(e)}function o_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r_(r.key),r)}}function r_(e){var t=function(e,t){if("object"!=t_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=t_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t_(t)?t:String(t)}function n_(e,t,o){return t=l_(t),function(e,t){if(t&&("object"===t_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a_()?Reflect.construct(t,o||[],l_(e).constructor):t.apply(e,o))}function a_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a_=function(){return!!e})()}function l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l_(e)}function i_(e,t){return i_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i_(e,t)}var c_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=r_(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(e_,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:t,attributes:{size:o.size}})),m)}}],r&&o_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const s_=c_,u_=JSON.parse('{"name":"woolentor/product-qrcode","category":"woolentor-single-product","title":"WL: QR Code","description":"Display product QR Code.","keywords":["woolentor","code","qrcode","qrcode generate","product qr code","qr code for product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"size":{"type":"number","default":150},"addCartUrl":{"type":"boolean","default":false},"quantity":{"type":"number","default":1},"codeAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align: {{codeAlign}} !important; }"}}}}'),d_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M0 .5A.5.5 0 0 1 .5 0h3a.5.5 0 0 1 0 1H1v2.5a.5.5 0 0 1-1 0v-3zm12 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V1h-2.5a.5.5 0 0 1-.5-.5zM.5 12a.5.5 0 0 1 .5.5V15h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H15v-2.5a.5.5 0 0 1 .5-.5zM4 4h1v1H4V4z"}),React.createElement("path",{d:"M7 2H2v5h5V2zM3 3h3v3H3V3zm2 8H4v1h1v-1z"}),React.createElement("path",{d:"M7 9H2v5h5V9zm-4 1h3v3H3v-3zm8-6h1v1h-1V4z"}),React.createElement("path",{d:"M9 2h5v5H9V2zm1 1v3h3V3h-3zM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8H8zm2 2H9V9h1v1zm4 2h-1v1h-2v1h3v-2zm-4 2v-1H8v1h2z"}),React.createElement("path",{d:"M12 9h2V8h-2v1z"})));var m_=u_.name,p_=u_.category,g_=u_.title,f_=u_.description,b_=u_.keywords,y_=u_.attributes,R_={title:(0,ue.__)(g_,"woolentor"),description:(0,ue.__)(f_,"woolentor"),icon:React.createElement(de.Icon,{icon:d_}),keywords:b_,example:{attributes:{}},attributes:y_,edit:s_,save:function(){return null}};function w_(e){return w_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w_(e)}function h_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,E_(r.key),r)}}function E_(e){var t=function(e,t){if("object"!=w_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=w_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==w_(t)?t:String(t)}function v_(e,t,o){return t=P_(t),function(e,t){if(t&&("object"===w_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,O_()?Reflect.construct(t,o||[],P_(e).constructor):t.apply(e,o))}function O_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(O_=function(){return!!e})()}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P_(e)}function C_(e,t){return C_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C_(e,t)}var B_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Related Product","woolentor"),initialOpen:!0},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(io,{label:(0,ue.__)("Heading","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:n,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:a,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,ue.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&h_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const A_=B_;function W_(e){return W_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W_(e)}function S_(e,t,o){return(t=T_(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function k_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,T_(r.key),r)}}function T_(e){var t=function(e,t){if("object"!=W_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=W_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==W_(t)?t:String(t)}function x_(e,t,o){return t=N_(t),function(e,t){if(t&&("object"===W_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,L_()?Reflect.construct(t,o||[],N_(e).constructor):t.apply(e,o))}function L_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(L_=function(){return!!e})()}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},N_(e)}function z_(e,t){return z_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z_(e,t)}var j_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),x_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c=Gt()(S_({},r,r),"woocommerce","product","woolentorblock-".concat(i)),s=Gt()("woolentor-product-related",S_({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),S_({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),S_({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),S_({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),u=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(A_,this.props),React.createElement("div",{className:c},React.createElement(de.Disabled,null,React.createElement("div",{className:s},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_related}})))),u)}}],r&&k_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const I_=j_,M_=JSON.parse('{"name":"woolentor/product-related","category":"woolentor-single-product","title":"WL: Related Product","description":"Display related product.","keywords":["woolentor","product","related","product related"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),F_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var H_=M_.name,D_=M_.category,q_=M_.title,G_=M_.description,K_=M_.keywords,U_=M_.attributes,Q_={title:(0,ue.__)(q_,"woolentor"),description:(0,ue.__)(G_,"woolentor"),icon:React.createElement(de.Icon,{icon:F_}),keywords:K_,attributes:U_,edit:I_,save:function(){return null}};function V_(e){return V_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V_(e)}function Y_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Z_(r.key),r)}}function Z_(e){var t=function(e,t){if("object"!=V_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=V_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==V_(t)?t:String(t)}function J_(e,t,o){return t=$_(t),function(e,t){if(t&&("object"===V_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,X_()?Reflect.construct(t,o||[],$_(e).constructor):t.apply(e,o))}function X_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(X_=function(){return!!e})()}function $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$_(e)}function ew(e,t){return ew=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ew(e,t)}var tw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),J_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ew(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Upsell Product","woolentor"),initialOpen:!0},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(io,{label:(0,ue.__)("Heading","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:n,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:a,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,ue.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Y_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ow=tw;function rw(e){return rw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rw(e)}var nw;function aw(e,t,o){return(t=iw(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function lw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iw(r.key),r)}}function iw(e){var t=function(e,t){if("object"!=rw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rw(t)?t:String(t)}function cw(e,t,o){return t=uw(t),function(e,t){if(t&&("object"===rw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,sw()?Reflect.construct(t,o||[],uw(e).constructor):t.apply(e,o))}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(sw=function(){return!!e})()}function uw(e){return uw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uw(e)}function dw(e,t){return dw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dw(e,t)}var mw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=(e.name,e.className),r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},d=Gt()(aw({},o,o),"woocommerce","product"),m=Gt()("woolentor-product-upsell",aw({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),aw({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),aw({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),aw({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=bu.div(nw||(c=["\n\t\t\t& .up-sells > h2{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"],s||(s=c.slice(0)),nw=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(s)}}))),t.hideTitle&&"display:none!important;",t.headingColor&&"color:"+t.headingColor+"!important;",t.headingSize&&"font-size:"+t.headingSize+"!important;",t.headingAlignment&&"text-align:"+t.headingAlignment+"!important;",t.headingMargin&&"margin:"+u("headingMargin")+";",t.areaPadding&&"padding:"+u("areaPadding")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";");return React.createElement(De.Fragment,null,r&&React.createElement(ow,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(p,{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_upsell}})))))}}],r&&lw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const pw=mw,gw=JSON.parse('{"name":"woolentor/product-upsell","category":"woolentor-single-product","title":"Product Upsell","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),fw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var bw=gw.name,yw=gw.category,Rw=gw.attributes,_w={title:(0,ue.__)("WL: Product Upsell","woolentor"),description:(0,ue.__)("Display upsell product.","woolentor"),icon:React.createElement(de.Icon,{icon:fw}),keywords:["woolentor",(0,ue.__)("product","woolentor"),(0,ue.__)("upsell","woolentor"),(0,ue.__)("product upsell","woolentor")],attributes:Rw,edit:pw,save:function(){return null}};function ww(e){return ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ww(e)}function hw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ew(r.key),r)}}function Ew(e){var t=function(e,t){if("object"!=ww(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ww(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ww(t)?t:String(t)}function vw(e,t,o){return t=Pw(t),function(e,t){if(t&&("object"===ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ow()?Reflect.construct(t,o||[],Pw(e).constructor):t.apply(e,o))}function Ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ow=function(){return!!e})()}function Pw(e){return Pw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pw(e)}function Cw(e,t){return Cw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cw(e,t)}var Bw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),vw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.rows,n=t.paginate,a=t.allowOrder,l=t.showResultCount,i=t.order,c=t.orderBy,s=t.itemBorderType,u=t.itemBorderWidth,d=t.itemBorderColor,m=t.itemBorderRadius,p=t.itemPadding,g=t.saleTagShow;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Archive Product","woolentor"),initialOpen:!0},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.RangeControl,{label:(0,ue.__)("Rows","woolentor"),value:r,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(io,{label:(0,ue.__)("Pagination","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({paginate:!n})}})),1==n?React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Allow Order","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({allowOrder:!a})}})),React.createElement(io,{label:(0,ue.__)("Show Result Count","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({showResultCount:!l})}}))):React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:i,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:c,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:s,options:wi,onChange:function(e){return o({itemBorderType:e})}}),s&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:u,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:d,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:m,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:p,attributesKey:"itemPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Sale Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(go,{label:(0,ue.__)("Regular Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Empty Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Start size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Add To Cart Button","woolentor")},React.createElement(Dt,{name:"addtocartbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:wi,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Pagination","woolentor")},React.createElement(go,{label:(0,ue.__)("Normal","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationBGColor,onChange:function(e){return o({paginationBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationBorderColor,onChange:function(e){return o({paginationBorderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.PaginationPadding,attributesKey:"PaginationPadding",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Active","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationHoverColor,onChange:function(e){return o({paginationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationHoverBGColor,onChange:function(e){return o({paginationHoverBGColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Sale Tag","woolentor")},React.createElement(io,{label:(0,ue.__)("Sale Flash","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({saleTagShow:!g})}})),g&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&hw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Aw=Bw;function Ww(e){return Ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ww(e)}function Sw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kw(r.key),r)}}function kw(e){var t=function(e,t){if("object"!=Ww(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ww(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ww(t)?t:String(t)}function Tw(e,t,o){return t=Lw(t),function(e,t){if(t&&("object"===Ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xw()?Reflect.construct(t,o||[],Lw(e).constructor):t.apply(e,o))}function xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xw=function(){return!!e})()}function Lw(e){return Lw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lw(e)}function Nw(e,t){return Nw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nw(e,t)}var zw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Tw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=kw(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Aw,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:o,attributes:{columns:t.columns,rows:t.rows,paginate:t.paginate,allowOrder:t.allowOrder,showResultCount:t.showResultCount,order:t.order,orderBy:t.orderBy,saleTagPosition:t.saleTagPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m))}}],r&&Sw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const jw=zw,Iw=JSON.parse('{"name":"woolentor/shop-archive-default","category":"woolentor-shop","title":"WL: Product Archive Layout (Default)","description":"Display product grid on shop / archive page.","keywords":["woolentor","shop","archive","product shop","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":4},"paginate":{"type":"boolean","default":true},"allowOrder":{"type":"boolean","default":true},"showResultCount":{"type":"boolean","default":true},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"paginationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ color: {{paginationColor}}; }"}},"paginationBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ background-color: {{paginationBGColor}}; }"}},"paginationBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul{ border-color: {{paginationBorderColor}}; }{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li{ border-right-color: {{paginationBorderColor}}; }"}},"PaginationPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span{ padding: {{PaginationPadding}}; }"}},"paginationHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ color: {{paginationHoverColor}}; }"}},"paginationHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ background-color: {{paginationHoverBGColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Mw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var Fw=Iw.name,Hw=Iw.title,Dw=Iw.description,qw=Iw.category,Gw=Iw.attributes,Kw=Iw.keywords,Uw=Iw.supports,Qw={title:(0,ue.__)(Hw,"woolentor"),description:(0,ue.__)(Dw,"woolentor"),icon:React.createElement(de.Icon,{icon:Mw}),keywords:Kw,supports:Uw,attributes:Gw,edit:jw,save:function(){return null}};function Vw(e){return function(e){if(Array.isArray(e))return Zw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Yw(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yw(e,t){if(e){if("string"==typeof e)return Zw(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Zw(e,t):void 0}}function Zw(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Jw=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||Yw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=Vw(t.tableItemList);a[n][r]=e,o({tableItemList:a})};return t.tableItemList.length>0&&(r=t.tableItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.tableItemList[r].heading),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=Vw(t.tableItemList);r.splice(e,1),o({tableItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:t.tableItemList[r].fieldkey,options:[{label:(0,ue.__)("Remove","woolentor"),value:"remove"},{label:(0,ue.__)("Image","woolentor"),value:"thumbnail"},{label:(0,ue.__)("Product Title","woolentor"),value:"name"},{label:(0,ue.__)("Price","woolentor"),value:"price"},{label:(0,ue.__)("Quantity","woolentor"),value:"quantity"},{label:(0,ue.__)("Total","woolentor"),value:"subtotal"},{label:(0,ue.__)("Custom","woolentor"),value:"customadd"}],onChange:function(e){return i(e,"fieldkey",r)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Heading Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Remove","woolentor"),value:t.tableItemList[r].heading,onChange:function(e){return i(e,"heading",r)}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Width (PX)","woolentor"),value:t.tableItemList[r].width,allowReset:!0,onChange:function(e){return i(e,"width",r)},min:0,step:1,max:500}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Table Row","woolentor"),initialOpen:!0},r,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Vw(t.tableItemList);e.push({fieldkey:"remove",heading:(0,ue.__)("Cart Item #"+(t.tableItemList.length+1),"woolentor"),width:""}),o({tableItemList:e}),l(t.tableItemList.length)}.bind(void 0)},(0,ue.__)("Add Item","woolentor"))),React.createElement(Vt,{title:(0,ue.__)("Table Action","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Update Cart Button","woolentor"),checked:t.show_update_button,onChange:function(){return o({show_update_button:!t.show_update_button})}}),t.show_update_button&&React.createElement(de.TextControl,{label:(0,ue.__)("Update cart button text","woolentor"),value:t.update_cart_button_txt,placeholder:(0,ue.__)("Update Cart","woolentor"),onChange:function(e){return o({update_cart_button_txt:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Continue Shopping Button","woolentor"),checked:t.show_continue_button,onChange:function(){return o({show_continue_button:!t.show_continue_button})}}),t.show_continue_button&&React.createElement(de.TextControl,{label:(0,ue.__)("Continue Shopping","woolentor"),value:t.continue_button_txt,placeholder:(0,ue.__)("Continue Shopping","woolentor"),onChange:function(e){return o({continue_button_txt:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Coupon Form","woolentor"),checked:t.show_coupon_form,onChange:function(){return o({show_coupon_form:!t.show_coupon_form})}}),t.show_coupon_form&&React.createElement(React.Fragment,null,React.createElement(de.TextControl,{label:(0,ue.__)("Coupon form button text","woolentor"),value:t.coupon_form_button_txt,placeholder:(0,ue.__)("Apply Coupon","woolentor"),onChange:function(e){return o({coupon_form_button_txt:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Placeholder text","woolentor"),value:t.coupon_form_pl_txt,placeholder:(0,ue.__)("Coupon code","woolentor"),onChange:function(e){return o({coupon_form_pl_txt:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Extra Options","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Disable users adjusting quantity","woolentor"),checked:t.disable_user_adj_qtn,onChange:function(){return o({disable_user_adj_qtn:!t.disable_user_adj_qtn})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Remove Product link","woolentor"),checked:t.remove_product_link,onChange:function(){return o({remove_product_link:!t.remove_product_link})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Product Categories","woolentor"),checked:t.show_product_category,onChange:function(){return o({show_product_category:!t.show_product_category})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Product Stock","woolentor"),checked:t.show_product_stock,onChange:function(){return o({show_product_stock:!t.show_product_stock})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Table","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableBorderType,options:wi,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tablePadding,attributesKey:"tablePadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Table Cell","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Remove Icon","woolentor")},React.createElement(Dt,{name:"removeicon"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconColor,onChange:function(e){return o({removeIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconBackgroundColor,onChange:function(e){return o({removeIconBackgroundColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.removeIconBorderType,options:wi,onChange:function(e){return o({removeIconBorderType:e})}}),t.removeIconBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.removeIconBorderWidth,attributesKey:"removeIconBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconBorderColor,onChange:function(e){return o({removeIconBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.removeIconBorderRadius,attributesKey:"removeIconBorderRadius",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeHoverIconColor,onChange:function(e){return o({removeHoverIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconHoverBackgroundColor,onChange:function(e){return o({removeIconHoverBackgroundColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.removeIconHoverBorderType,options:wi,onChange:function(e){return o({removeIconHoverBorderType:e})}}),t.removeIconHoverBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.removeIconHoverBorderWidth,attributesKey:"removeIconHoverBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconHoverBorderColor,onChange:function(e){return o({removeIconHoverBorderColor:e})}})))))),React.createElement(Vt,{title:(0,ue.__)("Product Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.imagePadding,attributesKey:"imagePadding",setAttributes:o}),React.createElement(de.RangeControl,{label:(0,ue.__)("Width (PX)","woolentor"),value:t.imageWidth,onChange:function(e){return o({imageWidth:e})},min:0,step:1,max:500})),React.createElement(Vt,{title:(0,ue.__)("Product Title","woolentor")},React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Unit Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(go,{label:(0,ue.__)("Total Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.totalPriceColor,onChange:function(e){return o({totalPriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.totalPriceSize,fallbackFontSize:t.totalPriceSize,onChange:function(e){return o({totalPriceSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Quantity Field","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.quantityColor,onChange:function(e){return o({quantityColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.quantityBorderType,options:wi,onChange:function(e){return o({quantityBorderType:e})}}),t.quantityBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.quantityBorderWidth,attributesKey:"quantityBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.quantityBorderColor,onChange:function(e){return o({quantityBorderColor:e})}})))),React.createElement(Vt,{title:(0,ue.__)("Buttons","woolentor")},React.createElement(Dt,{name:"buttons"},React.createElement(Ut,{name:"normal"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Update Cart Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnColor,onChange:function(e){return o({updateCartBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnBGColor,onChange:function(e){return o({updateCartBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.updateCartBtnSize,fallbackFontSize:t.updateCartBtnSize,onChange:function(e){return o({updateCartBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.updateCartBtnBorderType,options:wi,onChange:function(e){return o({updateCartBtnBorderType:e})}}),t.updateCartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.updateCartBtnBorderWidth,attributesKey:"updateCartBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnBorderColor,onChange:function(e){return o({updateCartBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.updateCartBtnBorderRadius,attributesKey:"updateCartBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.updateCartBtnPadding,attributesKey:"updateCartBtnPadding",setAttributes:o})),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Continue Shop Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnColor,onChange:function(e){return o({continueShopBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnBGColor,onChange:function(e){return o({continueShopBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.continueShopBtnSize,fallbackFontSize:t.continueShopBtnSize,onChange:function(e){return o({continueShopBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.continueShopBtnBorderType,options:wi,onChange:function(e){return o({continueShopBtnBorderType:e})}}),t.continueShopBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.continueShopBtnBorderWidth,attributesKey:"continueShopBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnBorderColor,onChange:function(e){return o({continueShopBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.continueShopBtnBorderRadius,attributesKey:"continueShopBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.continueShopBtnPadding,attributesKey:"continueShopBtnPadding",setAttributes:o}))),React.createElement(Ut,{name:"hover"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Update Cart Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnHoverColor,onChange:function(e){return o({updateCartBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnHoverBGColor,onChange:function(e){return o({updateCartBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnHoverBorderColor,onChange:function(e){return o({updateCartBtnHoverBorderColor:e})}}))),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Continue Shop Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnHoverColor,onChange:function(e){return o({continueShopBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnHoverBGColor,onChange:function(e){return o({continueShopBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnHoverBorderColor,onChange:function(e){return o({continueShopBtnHoverBorderColor:e})}})))))),React.createElement(Vt,{title:(0,ue.__)("Apply coupon","woolentor")},React.createElement(go,{label:(0,ue.__)("Apply Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnColor,onChange:function(e){return o({couponBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnBGColor,onChange:function(e){return o({couponBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponBtnSize,fallbackFontSize:t.couponBtnSize,onChange:function(e){return o({couponBtnSize:e})}}),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnHoverColor,onChange:function(e){return o({couponBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnHoverBGColor,onChange:function(e){return o({couponBtnHoverBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.couponBorderRadius,attributesKey:"couponBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.couponBtnPadding,attributesKey:"couponBtnPadding",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Input Box","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponFormColor,onChange:function(e){return o({couponFormColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponFormFontSize,fallbackFontSize:t.couponFormFontSize,onChange:function(e){return o({couponFormFontSize:e})}}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponFormBorderColor,onChange:function(e){return o({couponFormBorderColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Xw(e){return Xw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xw(e)}function $w(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,eh(r.key),r)}}function eh(e){var t=function(e,t){if("object"!=Xw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Xw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xw(t)?t:String(t)}function th(e,t,o){return t=rh(t),function(e,t){if(t&&("object"===Xw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oh()?Reflect.construct(t,o||[],rh(e).constructor):t.apply(e,o))}function oh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oh=function(){return!!e})()}function rh(e){return rh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rh(e)}function nh(e,t){return nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nh(e,t)}var ah=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),th(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=eh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Jw,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i,tableItemList:t.tableItemList,show_update_button:t.show_update_button,update_cart_button_txt:t.update_cart_button_txt,show_continue_button:t.show_continue_button,continue_button_txt:t.continue_button_txt,show_coupon_form:t.show_coupon_form,coupon_form_button_txt:t.coupon_form_button_txt,coupon_form_pl_txt:t.coupon_form_pl_txt,disable_user_adj_qtn:t.disable_user_adj_qtn,remove_product_link:t.remove_product_link,show_product_category:t.show_product_category,show_product_stock:t.show_product_stock},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&$w(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const lh=ah,ih=JSON.parse('{"name":"woolentor/cart-table","category":"woolentor-cart","title":"WL : Cart Table","description":"Display cart table.","keywords":["woolentor","shop table","cart table","table","woocommerce table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tableItemList":{"type":"array","default":[{"fieldkey":"remove","heading":"Remove","width":""},{"fieldkey":"thumbnail","heading":"Image","width":""},{"fieldkey":"name","heading":"Product Title","width":""},{"fieldkey":"price","heading":"Price","width":""},{"fieldkey":"quantity","heading":"Quantity","width":""},{"fieldkey":"subtotal","heading":"Total","width":""}]},"show_update_button":{"type":"boolean","default":true},"update_cart_button_txt":{"type":"string","default":"Update Cart"},"show_continue_button":{"type":"boolean","default":false},"continue_button_txt":{"type":"string","default":"Continue Shopping"},"show_coupon_form":{"type":"boolean","default":true},"coupon_form_button_txt":{"type":"string","default":"Apply coupon"},"coupon_form_pl_txt":{"type":"string","default":"Coupon code"},"disable_user_adj_qtn":{"type":"boolean","default":false},"remove_product_link":{"type":"boolean","default":false},"show_product_category":{"type":"boolean","default":false},"show_product_stock":{"type":"boolean","default":false},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { font-size: {{headingSize}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-color: {{headingBorderColor}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { padding: {{headingPadding}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart thead th { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { background-color: {{headingBackgroundColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-style: {{tableBorderType}}; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-width: {{tableBorderWidth}}; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-color: {{tableBorderColor}}; }"}},"tablePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { padding: {{tablePadding}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { background-color: {{tableCellBackgroundColor}}; }"}},"removeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { color: {{removeIconColor}} !important; }"}},"removeIconBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { background-color: {{removeIconBackgroundColor}} !important; }"}},"removeIconBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-style: {{removeIconBorderType}}; }"}},"removeIconBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-width: {{removeIconBorderWidth}}; }"}},"removeIconBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-color: {{removeIconBorderColor}}; }"}},"removeIconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-radius: {{removeIconBorderRadius}} !important; }"}},"removeHoverIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { color: {{removeHoverIconColor}} !important; }"}},"removeIconHoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { background-color: {{removeIconHoverBackgroundColor}} !important; }"}},"removeIconHoverBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-style: {{removeIconHoverBorderType}}; }"}},"removeIconHoverBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-width: {{removeIconHoverBorderWidth}}; }"}},"removeIconHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-color: {{removeIconHoverBorderColor}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-radius: {{imageBorderRadius}}; }"}},"imagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { padding: {{imagePadding}}; }"}},"imageWidth":{"type":"number","default":70,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { width: {{imageWidth}}px; max-width: {{imageWidth}}px; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name { font-size: {{titleSize}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name:hover,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a:hover { color: {{titleHoverColor}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { font-size: {{priceSize}}; }"}},"totalPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { color: {{totalPriceColor}}; }"}},"totalPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { font-size: {{totalPriceSize}}; }"}},"quantityColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { color: {{quantityColor}}; }"}},"quantityBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-style: {{quantityBorderType}}; }"}},"quantityBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-width: {{quantityBorderWidth}}; }"}},"quantityBorderColor":{"type":"string","style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-color: {{quantityBorderColor}}; }"}},"updateCartBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { color: {{updateCartBtnColor}}; }"}},"updateCartBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { background-color: {{updateCartBtnBGColor}}; }"}},"updateCartBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { font-size: {{updateCartBtnSize}}; }"}},"updateCartBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-style: {{updateCartBtnBorderType}} !important; }"}},"updateCartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-width: {{updateCartBtnBorderWidth}} !important; }"}},"updateCartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-color: {{updateCartBtnBorderColor}} !important; }"}},"updateCartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-radius: {{updateCartBtnBorderRadius}} !important; }"}},"updateCartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { padding: {{updateCartBtnPadding}}; }"}},"updateCartBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { color: {{updateCartBtnHoverColor}}; }"}},"updateCartBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { background-color: {{updateCartBtnHoverBGColor}}; }"}},"updateCartBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { border-color: {{updateCartBtnHoverBorderColor}} !important; }"}},"continueShopBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { color: {{continueShopBtnColor}}; }"}},"continueShopBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { background-color: {{continueShopBtnBGColor}}; }"}},"continueShopBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { font-size: {{continueShopBtnSize}}; }"}},"continueShopBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-style: {{continueShopBtnBorderType}}; }"}},"continueShopBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-width: {{continueShopBtnBorderWidth}}; }"}},"continueShopBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-color: {{continueShopBtnBorderColor}}; }"}},"continueShopBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-radius: {{continueShopBtnBorderRadius}}; }"}},"continueShopBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { padding: {{continueShopBtnPadding}}; }"}},"continueShopBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { color: {{continueShopBtnHoverColor}}; }"}},"continueShopBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { background-color: {{continueShopBtnHoverBGColor}}; }"}},"continueShopBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { border-color: {{continueShopBtnHoverBorderColor}}; }"}},"couponBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ color: {{couponBtnColor}}; }"}},"couponBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ background-color: {{couponBtnBGColor}}; transition:0.4s; }"}},"couponBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ font-size: {{couponBtnSize}}; }"}},"couponBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ color: {{couponBtnHoverColor}}; }"}},"couponBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ background-color: {{couponBtnHoverBGColor}}; }"}},"couponBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { border-radius: {{couponBorderRadius}} !important; }"}},"couponBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { padding: {{couponBtnPadding}}; }"}},"couponFormColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ color: {{couponFormColor}}; }"}},"couponFormFontSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ font-size: {{couponFormFontSize}}; }"}},"couponFormBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ border-color: {{couponFormBorderColor}}; }"}}}}'),ch=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var sh=ih.name,uh=ih.category,dh=ih.title,mh=ih.description,ph=ih.keywords,gh=ih.supports,fh=ih.attributes,bh={title:(0,ue.__)(dh,"woolentor"),description:(0,ue.__)(mh,"woolentor"),icon:React.createElement(de.Icon,{icon:ch}),keywords:ph,supports:gh,attributes:fh,edit:lh,save:function(){return null}};const yh=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Table Cell","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Table Content","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(go,{label:(0,ue.__)("Subtotal Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableSubtotalColor,onChange:function(e){return o({tableSubtotalColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableSubtotalSize,fallbackFontSize:t.tableSubtotalSize,onChange:function(e){return o({tableSubtotalSize:e})}}),React.createElement(go,{label:(0,ue.__)("Total Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableTotalColor,onChange:function(e){return o({tableTotalColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableTotalSize,fallbackFontSize:t.tableTotalSize,onChange:function(e){return o({tableTotalSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Checkout Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnColor,onChange:function(e){return o({checkoutBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnBGColor,onChange:function(e){return o({checkoutBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.checkoutBtnSize,fallbackFontSize:t.checkoutBtnSize,onChange:function(e){return o({checkoutBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.checkoutBtnBorderType,options:wi,onChange:function(e){return o({checkoutBtnBorderType:e})}}),t.checkoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.checkoutBtnBorderWidth,attributesKey:"checkoutBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnBorderColor,onChange:function(e){return o({checkoutBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.checkoutBtnBorderRadius,attributesKey:"checkoutBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.checkoutBtnPadding,attributesKey:"checkoutBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnHoverColor,onChange:function(e){return o({checkoutBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnHoverBGColor,onChange:function(e){return o({checkoutBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnHoverBorderColor,onChange:function(e){return o({checkoutBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBGColor,onChange:function(e){return o({areaBGColor:e})}})))))};function Rh(e){return Rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rh(e)}function _h(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wh(r.key),r)}}function wh(e){var t=function(e,t){if("object"!=Rh(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Rh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rh(t)?t:String(t)}function hh(e,t,o){return t=vh(t),function(e,t){if(t&&("object"===Rh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Eh()?Reflect.construct(t,o||[],vh(e).constructor):t.apply(e,o))}function Eh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Eh=function(){return!!e})()}function vh(e){return vh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vh(e)}function Oh(e,t){return Oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oh(e,t)}var Ph=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),hh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=wh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart-total","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(yh,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&_h(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ch=Ph,Bh=JSON.parse('{"name":"woolentor/cart-total","category":"woolentor-cart","title":"WL : Cart Total","description":"Display cart total.","keywords":["woolentor","shop total","cart total table","table","total table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { background-color: {{areaBGColor}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { text-align: {{headingAlignment}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table { background-color: {{tableCellBackgroundColor}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { font-size: {{tableHeadingSize}}; }"}},"tableSubtotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { color: {{tableSubtotalColor}}; }"}},"tableSubtotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { font-size: {{tableSubtotalSize}}; }"}},"tableTotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { color: {{tableTotalColor}}; }"}},"tableTotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { font-size: {{tableTotalSize}}; }"}},"checkoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { color: {{checkoutBtnColor}}; }"}},"checkoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { background-color: {{checkoutBtnBGColor}}; }"}},"checkoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { font-size: {{checkoutBtnSize}}; }"}},"checkoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-style: {{checkoutBtnBorderType}}; }"}},"checkoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-width: {{checkoutBtnBorderWidth}}; }"}},"checkoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-color: {{checkoutBtnBorderColor}}; }"}},"checkoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-radius: {{checkoutBtnBorderRadius}}; }"}},"checkoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { padding: {{checkoutBtnPadding}}; }"}},"checkoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { color: {{checkoutBtnHoverColor}}; }"}},"checkoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { background-color: {{checkoutBtnHoverBGColor}}; }"}},"checkoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { border-color: {{checkoutBtnHoverBorderColor}}; }"}}}}'),Ah=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var Wh=Bh.name,Sh=Bh.category,kh=Bh.title,Th=Bh.description,xh=Bh.keywords,Lh=Bh.supports,Nh=Bh.attributes,zh={title:(0,ue.__)(kh,"woolentor"),description:(0,ue.__)(Th,"woolentor"),icon:React.createElement(de.Icon,{icon:Ah}),keywords:xh,supports:Lh,attributes:Nh,edit:Ch,save:function(){return null}};const jh=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Cross Sell","woolentor"),initialOpen:!0},React.createElement(de.RangeControl,{label:(0,ue.__)("Limit","woolentor"),value:t.limit,onChange:function(e){return o({limit:e})},min:0,step:1,max:20}),React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:t.order,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,ue.__)("Random","woolentor"),value:"rand"},{label:(0,ue.__)("Publish Date","woolentor"),value:"date"},{label:(0,ue.__)("Modified Date","woolentor"),value:"modified"},{label:(0,ue.__)("Alphabetic","woolentor"),value:"title"},{label:(0,ue.__)("Popularity","woolentor"),value:"popularity"},{label:(0,ue.__)("Rating","woolentor"),value:"rating"},{label:(0,ue.__)("Price","woolentor"),value:"price"}],onChange:function(e){return o({orderBy:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Item","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.itemBorderType,options:wi,onChange:function(e){return o({itemBorderType:e})}}),t.itemBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.itemBorderWidth,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.itemBorderColor,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Sale Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(go,{label:(0,ue.__)("Regular Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Empty Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Start size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Add To Cart Button","woolentor")},React.createElement(Dt,{name:"addToCartButton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:wi,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Sale Tag","woolentor")},React.createElement(io,{label:(0,ue.__)("Sale Flash","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleTagShow,onChange:function(){return o({saleTagShow:!t.saleTagShow})}})),t.saleTagShow&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ih(e){return Ih="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ih(e)}function Mh(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fh(r.key),r)}}function Fh(e){var t=function(e,t){if("object"!=Ih(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ih(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ih(t)?t:String(t)}function Hh(e,t,o){return t=qh(t),function(e,t){if(t&&("object"===Ih(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Dh()?Reflect.construct(t,o||[],qh(e).constructor):t.apply(e,o))}function Dh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Dh=function(){return!!e})()}function qh(e){return qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qh(e)}function Gh(e,t){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gh(e,t)}var Kh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Hh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Fh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cross-sell","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(jh,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i,columns:t.columns,limit:t.limit,orderBy:t.orderBy,order:t.order},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Mh(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Uh=Kh,Qh=JSON.parse('{"name":"woolentor/cross-sell","category":"woolentor-cart","title":"WL : Cross Sell","description":"Display cross sell Product.","keywords":["woolentor","cross sell","cross sell product","cart","cart table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"limit":{"type":"number","default":2},"orderBy":{"type":"string","default":"rand"},"order":{"type":"string","default":"DESC"},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { text-align: {{headingAlignment}}; }"}},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Vh=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M17 24h4v4h-4zm7 0h4v4h-4zm-7-7h4v4h-4zm7 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M28 11h-6V7c0-1.7-1.3-3-3-3h-6c-1.7 0-3 1.3-3 3v4H4c-.6 0-1 .4-1 1v.2l1.9 12.1c.1 1 1 1.7 2 1.7H15v-2H6.9L5.2 13H28v-2zM12 7c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v4h-8V7z"}));var Yh=Qh.name,Zh=Qh.category,Jh=Qh.title,Xh=Qh.description,$h=Qh.supports,eE=Qh.keywords,tE=Qh.attributes,oE={title:(0,ue.__)(Jh,"woolentor"),description:(0,ue.__)(Xh,"woolentor"),icon:React.createElement(de.Icon,{icon:Vh}),keywords:eE,supports:$h,attributes:tE,edit:Uh,save:function(){return null}};const rE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Return To Shop","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,ue.__)("Button Text","woolentor"),onChange:function(e){return o({buttonText:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Button Custom URL","woolentor"),value:t.buttonLink,placeholder:(0,ue.__)("Button Custom URL","woolentor"),onChange:function(e){return o({buttonLink:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnColor,onChange:function(e){return o({returnBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnBGColor,onChange:function(e){return o({returnBtnBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.returnBtnBorderType,options:wi,onChange:function(e){return o({returnBtnBorderType:e})}}),t.returnBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.returnBtnBorderWidth,attributesKey:"returnBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnBorderColor,onChange:function(e){return o({returnBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.returnBtnBorderRadius,attributesKey:"returnBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.returnBtnSize,fallbackFontSize:t.returnBtnSize,onChange:function(e){return o({returnBtnSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.returnBtnPadding,attributesKey:"returnBtnPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.returnBtnMargin,attributesKey:"returnBtnMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnHoverColor,onChange:function(e){return o({returnBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnHoverBGColor,onChange:function(e){return o({returnBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnHoverBorderColor,onChange:function(e){return o({returnBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function nE(e){return nE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nE(e)}function aE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lE(r.key),r)}}function lE(e){var t=function(e,t){if("object"!=nE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nE(t)?t:String(t)}function iE(e,t,o){return t=sE(t),function(e,t){if(t&&("object"===nE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cE()?Reflect.construct(t,o||[],sE(e).constructor):t.apply(e,o))}function cE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cE=function(){return!!e})()}function sE(e){return sE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sE(e)}function uE(e,t){return uE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uE(e,t)}var dE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),iE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=lE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-return-to-shop","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(rE,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{buttonText:t.buttonText,buttonLink:t.buttonLink},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&aE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const mE=dE,pE=JSON.parse('{"name":"woolentor/return-to-shop","category":"woolentor-cart","title":"WL : Return To Shop","description":"Display return to shop page button.","keywords":["woolentor","return to shop","back shop","redirect to shop","redirect button","cart"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":""},"buttonLink":{"type":"string","default":""},"returnBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ color: {{returnBtnColor}}; }"}},"returnBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ background-color: {{returnBtnBGColor}}; }"}},"returnBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-style: {{returnBtnBorderType}}; }"}},"returnBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-width: {{returnBtnBorderWidth}}; }"}},"returnBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-color: {{returnBtnBorderColor}}; }"}},"returnBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-radius: {{returnBtnBorderRadius}}; }"}},"returnBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ font-size: {{returnBtnSize}}; }"}},"returnBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ padding: {{returnBtnPadding}}; }"}},"returnBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ margin: {{returnBtnMargin}}; }"}},"returnBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ color: {{returnBtnHoverColor}}; }"}},"returnBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ background-color: {{returnBtnHoverBGColor}}; }"}},"returnBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ border-color: {{returnBtnHoverBorderColor}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .return-to-shop { text-align: {{buttonAlignment}}; }"}}}}'),gE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("circle",{cx:"7",cy:"7",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"15",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"23",r:"1",fill:"currentColor"}),React.createElement("path",{fill:"currentColor",d:"M12 26H4v-6h8v-2H4v-6h18V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h8ZM4 4h16v6H4Z"}),React.createElement("path",{fill:"currentColor",d:"M28 17v2.413A6.996 6.996 0 1 0 22 30v-2a5 5 0 1 1 4.576-7H24v2h6v-6Z"}));var fE=pE.name,bE=pE.category,yE=pE.title,RE=pE.description,_E=pE.keywords,wE=pE.supports,hE=pE.attributes,EE={title:(0,ue.__)(yE,"woolentor"),description:(0,ue.__)(RE,"woolentor"),icon:React.createElement(de.Icon,{icon:gE}),keywords:_E,supports:wE,attributes:hE,edit:mE,save:function(){return null}};const vE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor"),initialOpen:!0},React.createElement(de.TextareaControl,{label:(0,ue.__)("Custom Message","woolentor"),help:(0,ue.__)("Enter your custom message","woolentor"),value:t.customMessage,onChange:function(e){return o({customMessage:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Message","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.borderColor,onChange:function(e){return o({borderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.messagePadding,attributesKey:"messagePadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.messageMargin,attributesKey:"messageMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function OE(e){return OE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OE(e)}function PE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,CE(r.key),r)}}function CE(e){var t=function(e,t){if("object"!=OE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=OE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==OE(t)?t:String(t)}function BE(e,t,o){return t=WE(t),function(e,t){if(t&&("object"===OE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,AE()?Reflect.construct(t,o||[],WE(e).constructor):t.apply(e,o))}function AE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(AE=function(){return!!e})()}function WE(e){return WE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WE(e)}function SE(e,t){return SE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},SE(e,t)}var kE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),BE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&SE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=CE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-cart-empty-message","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(vE,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{customMessage:t.customMessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&PE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const TE=kE,xE=JSON.parse('{"name":"woolentor/cart-empty-message","category":"woolentor-cart","title":"WL : Empty Cart Message","description":"Display empty cart message.","keywords":["woolentor","shop table","cart table","table","woocommerce table","empty message","message"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"customMessage":{"type":"string","default":""},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { color: {{textColor}}; }"}},"borderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { border-color: {{borderColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-info::before { color: {{borderColor}}; }"}},"messagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { padding: {{messagePadding}}; }"}},"messageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { margin: {{messageMargin}}; }"}}}}'),LE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4l-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}));var NE=xE.name,zE=xE.category,jE=xE.title,IE=xE.description,ME=xE.keywords,FE=xE.supports,HE=xE.attributes,DE={title:(0,ue.__)(jE,"woolentor"),description:(0,ue.__)(IE,"woolentor"),icon:React.createElement(de.Icon,{icon:LE}),keywords:ME,supports:FE,attributes:HE,edit:TE,save:function(){return null}};const qE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Billing Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),placeholder:(0,ue.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Create an account label","woolentor"),placeholder:(0,ue.__)("Create an account?","woolentor"),value:t.createfieldLabel,onChange:function(e){return o({createfieldLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function GE(e){return GE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GE(e)}function KE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,UE(r.key),r)}}function UE(e){var t=function(e,t){if("object"!=GE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=GE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==GE(t)?t:String(t)}function QE(e,t,o){return t=YE(t),function(e,t){if(t&&("object"===GE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,VE()?Reflect.construct(t,o||[],YE(e).constructor):t.apply(e,o))}function VE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VE=function(){return!!e})()}function YE(e){return YE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YE(e)}function ZE(e,t){return ZE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZE(e,t)}var JE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),QE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=UE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-billing-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(qE,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&KE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const XE=JE,$E=JSON.parse('{"name":"woolentor/checkout-billing-form","category":"woolentor-checkout","title":"WL : Checkout Billing Form","description":"Display Checkout Billing Form.","keywords":["woolentor","checkout form","billing form","billing field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Billing details"},"createfieldLabel":{"type":"string","default":"Create an account?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),ev=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var tv=$E.name,ov=$E.category,rv=$E.title,nv=$E.description,av=$E.keywords,lv=$E.supports,iv=$E.attributes,cv={title:(0,ue.__)(rv,"woolentor"),description:(0,ue.__)(nv,"woolentor"),icon:React.createElement(de.Icon,{icon:ev}),keywords:av,supports:lv,attributes:iv,edit:XE,save:function(){return null}};const sv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Shipping Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),placeholder:(0,ue.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function uv(e){return uv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uv(e)}function dv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mv(r.key),r)}}function mv(e){var t=function(e,t){if("object"!=uv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=uv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uv(t)?t:String(t)}function pv(e,t,o){return t=fv(t),function(e,t){if(t&&("object"===uv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gv()?Reflect.construct(t,o||[],fv(e).constructor):t.apply(e,o))}function gv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gv=function(){return!!e})()}function fv(e){return fv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fv(e)}function bv(e,t){return bv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bv(e,t)}var yv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=mv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-shipping-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(sv,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&dv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Rv=yv,_v=JSON.parse('{"name":"woolentor/checkout-shipping-form","category":"woolentor-checkout","title":"WL : Checkout Shipping Form","description":"Display Checkout Shipping Form.","keywords":["woolentor","checkout form","Shipping form","Shipping field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Ship to a different address?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),wv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var hv=_v.name,Ev=_v.category,vv=_v.title,Ov=_v.description,Pv=_v.keywords,Cv=_v.supports,Bv=_v.attributes,Av={title:(0,ue.__)(vv,"woolentor"),description:(0,ue.__)(Ov,"woolentor"),icon:React.createElement(de.Icon,{icon:wv}),keywords:Pv,supports:Cv,attributes:Bv,edit:Rv,save:function(){return null}};const Wv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Additional Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),placeholder:(0,ue.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Sv(e){return Sv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sv(e)}function kv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tv(r.key),r)}}function Tv(e){var t=function(e,t){if("object"!=Sv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Sv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sv(t)?t:String(t)}function xv(e,t,o){return t=Nv(t),function(e,t){if(t&&("object"===Sv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Lv()?Reflect.construct(t,o||[],Nv(e).constructor):t.apply(e,o))}function Lv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Lv=function(){return!!e})()}function Nv(e){return Nv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nv(e)}function zv(e,t){return zv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zv(e,t)}var jv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Tv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-additional-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Wv,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&kv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Iv=jv,Mv=JSON.parse('{"name":"woolentor/checkout-additional-form","category":"woolentor-checkout","title":"WL : Checkout Additional Form","description":"Display Checkout Additional Form.","keywords":["woolentor","checkout form","Additional form","Additional field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Additional information"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),Fv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Hv=Mv.name,Dv=Mv.category,qv=Mv.title,Gv=Mv.description,Kv=Mv.keywords,Uv=Mv.supports,Qv=Mv.attributes,Vv={title:(0,ue.__)(qv,"woolentor"),description:(0,ue.__)(Gv,"woolentor"),icon:React.createElement(de.Icon,{icon:Fv}),keywords:Kv,supports:Uv,attributes:Qv,edit:Iv,save:function(){return null}};const Yv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Coupon Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Apply Button Text","woolentor"),placeholder:(0,ue.__)("Apply coupon","woolentor"),value:t.formApplyButton,onChange:function(e){return o({formApplyButton:e})}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Description","woolentor"),placeholder:(0,ue.__)("If you have a coupon code, please apply it below.","woolentor"),value:t.formDescription,onChange:function(e){return o({formDescription:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Left Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Top Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.togglerBorderType,options:wi,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formBorderType,options:wi,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Submit Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Zv(e){return Zv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zv(e)}function Jv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xv(r.key),r)}}function Xv(e){var t=function(e,t){if("object"!=Zv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Zv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zv(t)?t:String(t)}function $v(e,t,o){return t=tO(t),function(e,t){if(t&&("object"===Zv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,eO()?Reflect.construct(t,o||[],tO(e).constructor):t.apply(e,o))}function eO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(eO=function(){return!!e})()}function tO(e){return tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tO(e)}function oO(e,t){return oO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oO(e,t)}var rO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$v(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Xv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-coupon-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Yv,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formDescription:t.formDescription},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Jv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const nO=rO,aO=JSON.parse('{"name":"woolentor/checkout-coupon-form","category":"woolentor-checkout","title":"WL : Checkout Coupon Form","description":"Display Checkout Coupon Form.","keywords":["woolentor","checkout form","Coupon form","Coupon field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formApplyButton":{"type":"string","default":"Apply coupon"},"formDescription":{"type":"string","default":"If you have a coupon code, please apply it below."},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { margin: {{formMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text,{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),lO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var iO=aO.name,cO=aO.title,sO=aO.description,uO=aO.category,dO=aO.attributes,mO=aO.keywords,pO=aO.supports,gO={title:(0,ue.__)(cO,"woolentor"),description:(0,ue.__)(sO,"woolentor"),icon:React.createElement(de.Icon,{icon:lO}),keywords:mO,supports:pO,attributes:dO,edit:nO,save:function(){return null}};const fO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.areaContentSize,fallbackFontSize:t.areaContentSize,onChange:function(e){return o({areaContentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentColor,onChange:function(e){return o({areaContentColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentLinkColor,onChange:function(e){return o({areaContentLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentBGColor,onChange:function(e){return o({areaContentBGColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"areaContentAlignment",justified:!0}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.areaContentBorderType,options:wi,onChange:function(e){return o({areaContentBorderType:e})}}),t.areaContentBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.areaContentBorderWidth,attributesKey:"areaContentBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentBorderColor,onChange:function(e){return o({areaContentBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.areaContentBorderRadius,attributesKey:"areaContentBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaContentPadding,attributesKey:"areaContentPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentBGColor,onChange:function(e){return o({contentBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.contentBorderType,options:wi,onChange:function(e){return o({contentBorderType:e})}}),t.contentBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.contentBorderWidth,attributesKey:"contentBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentBorderColor,onChange:function(e){return o({contentBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Place Order Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnColor,onChange:function(e){return o({placeOrderBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnBGColor,onChange:function(e){return o({placeOrderBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.placeOrderBtnSize,fallbackFontSize:t.placeOrderBtnSize,onChange:function(e){return o({placeOrderBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.placeOrderBtnBorderType,options:wi,onChange:function(e){return o({placeOrderBtnBorderType:e})}}),t.placeOrderBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.placeOrderBtnBorderWidth,attributesKey:"placeOrderBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnBorderColor,onChange:function(e){return o({placeOrderBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.placeOrderBtnBorderRadius,attributesKey:"placeOrderBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.placeOrderBtnPadding,attributesKey:"placeOrderBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnHoverColor,onChange:function(e){return o({placeOrderBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnHoverBGColor,onChange:function(e){return o({placeOrderBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnHoverBorderColor,onChange:function(e){return o({placeOrderBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function bO(e){return bO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bO(e)}function yO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,RO(r.key),r)}}function RO(e){var t=function(e,t){if("object"!=bO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bO(t)?t:String(t)}function _O(e,t,o){return t=hO(t),function(e,t){if(t&&("object"===bO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wO()?Reflect.construct(t,o||[],hO(e).constructor):t.apply(e,o))}function wO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wO=function(){return!!e})()}function hO(e){return hO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hO(e)}function EO(e,t){return EO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},EO(e,t)}var vO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_O(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&EO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=RO(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-payment","woolentor_block_checkout_payment","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(fO,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&yO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const OO=vO,PO=JSON.parse('{"name":"woolentor/checkout-payment","category":"woolentor-checkout","title":"WL : Checkout Payment Method","description":"Display checkout payment method.","keywords":["woolentor","checkout","checkout payment","payment"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { font-size: {{areaContentSize}}; }"}},"areaContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { color: {{areaContentColor}}; }"}},"areaContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment a{ color: {{areaContentLinkColor}}; }"}},"areaContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { background-color: {{areaContentBGColor}}; }"}},"areaContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { text-align: {{areaContentAlignment}}; }"}},"areaContentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-style: {{areaContentBorderType}}; }"}},"areaContentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment{ border-width: {{areaContentBorderWidth}}; }"}},"areaContentBorderColor":{"type":"string","style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-color: {{areaContentBorderColor}}; }"}},"areaContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-radius: {{areaContentBorderRadius}}; }"}},"areaContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { padding: {{areaContentPadding}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { padding: {{headingPadding}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { background-color: {{headingBackgroundColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { font-size: {{contentSize}}; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { color: {{contentColor}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { text-align: {{contentAlignment}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { background-color: {{contentBGColor}}; } {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before, {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before{ border-color:transparent transparent {{contentBGColor}} }"}},"contentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-style: {{contentBorderType}}; }"}},"contentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-width: {{contentBorderWidth}}; }"}},"contentBorderColor":{"type":"string","style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-color: {{contentBorderColor}}; }"}},"contentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-radius: {{contentBorderRadius}}; }"}},"placeOrderBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { color: {{placeOrderBtnColor}}; }"}},"placeOrderBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { background-color: {{placeOrderBtnBGColor}}; }"}},"placeOrderBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { font-size: {{placeOrderBtnSize}}; }"}},"placeOrderBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-style: {{placeOrderBtnBorderType}} !important; }"}},"placeOrderBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-width: {{placeOrderBtnBorderWidth}} !important; }"}},"placeOrderBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-color: {{placeOrderBtnBorderColor}} !important; }"}},"placeOrderBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-radius: {{placeOrderBtnBorderRadius}} !important; }"}},"placeOrderBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { padding: {{placeOrderBtnPadding}}; }"}},"placeOrderBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { color: {{placeOrderBtnHoverColor}}; }"}},"placeOrderBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { background-color: {{placeOrderBtnHoverBGColor}}; }"}},"placeOrderBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { border-color: {{placeOrderBtnHoverBorderColor}} !important; }"}}}}'),CO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.25em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 640 512"},React.createElement("path",{fill:"currentColor",d:"M608 32H32C14.33 32 0 46.33 0 64v384c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM176 327.88V344c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35c-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73c3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19c0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39c0-24.52 19.05-44.44 42.67-45.07V152c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35c3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73c-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19c0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39c0 24.53-19.05 44.44-42.67 45.07zM416 312c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm160 0c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h272c4.42 0 8 3.58 8 8v16z"}));var BO=PO.name,AO=PO.title,WO=PO.description,SO=PO.category,kO=PO.attributes,TO=PO.keywords,xO=PO.supports,LO={title:(0,ue.__)(AO,"woolentor"),description:(0,ue.__)(WO,"woolentor"),icon:React.createElement(de.Icon,{icon:CO}),keywords:TO,supports:xO,attributes:kO,edit:OO,save:function(){return null}};const NO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Order Review","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Table Heading","woolentor"),placeholder:(0,ue.__)("Your order","woolentor"),value:t.heading,onChange:function(e){return o({heading:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Table Heading","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableHeadingType,options:wi,onChange:function(e){return o({tableHeadingType:e})}}),t.tableHeadingType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableHeadingBorderWidth,attributesKey:"tableHeadingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingBorderColor,onChange:function(e){return o({tableHeadingBorderColor:e})}})))),React.createElement(Vt,{title:(0,ue.__)("Table Content","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Table Border Type","woolentor"),value:t.tableBorderType,options:wi,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Table Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Table Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function zO(e){return zO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zO(e)}function jO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,IO(r.key),r)}}function IO(e){var t=function(e,t){if("object"!=zO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zO(t)?t:String(t)}function MO(e,t,o){return t=HO(t),function(e,t){if(t&&("object"===zO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,FO()?Reflect.construct(t,o||[],HO(e).constructor):t.apply(e,o))}function FO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(FO=function(){return!!e})()}function HO(e){return HO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},HO(e)}function DO(e,t){return DO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DO(e,t)}var qO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),MO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=IO(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-order-review","woolentor_block_checkout_order_review","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(NO,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{heading:t.heading,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&jO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const GO=qO,KO=JSON.parse('{"name":"woolentor/checkout-order-review","category":"woolentor-checkout","title":"WL : Checkout Order Review","description":"Display Checkout Order Review.","keywords":["woolentor","checkout","order review","checkout order review","order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Your order"},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { padding: {{headingPadding}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { margin: {{headingMargin}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { background-color: {{headingBackgroundColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { font-size: {{tableHeadingSize}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { color: {{tableHeadingColor}}; }"}},"tableHeadingType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-style: {{tableHeadingType}}; }"}},"tableHeadingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-width: {{tableHeadingBorderWidth}}; }"}},"tableHeadingBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-color: {{tableHeadingBorderColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-style: {{tableBorderType}}!important; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-width: {{tableBorderWidth}}!important; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-color: {{tableBorderColor}}!important; }"}},"tableContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { font-size: {{tableContentSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { color: {{tableContentColor}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td,{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-color: {{tableCellBorderColor}}!important; }"}}}}'),UO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var QO=KO.name,VO=KO.title,YO=KO.description,ZO=KO.category,JO=KO.attributes,XO=KO.keywords,$O=KO.supports,eP={title:(0,ue.__)(VO,"woolentor"),description:(0,ue.__)(YO,"woolentor"),icon:React.createElement(de.Icon,{icon:UO}),keywords:XO,supports:$O,attributes:JO,edit:GO,save:function(){return null}};const tP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Left Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Top Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.togglerBorderType,options:wi,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formBorderType,options:wi,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Login Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnColor,onChange:function(e){return o({loginBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnBGColor,onChange:function(e){return o({loginBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.loginBtnSize,fallbackFontSize:t.loginBtnSize,onChange:function(e){return o({loginBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.loginBtnBorderType,options:wi,onChange:function(e){return o({loginBtnBorderType:e})}}),t.loginBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.loginBtnBorderWidth,attributesKey:"loginBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnBorderColor,onChange:function(e){return o({loginBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.loginBtnBorderRadius,attributesKey:"loginBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.loginBtnPadding,attributesKey:"loginBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnHoverColor,onChange:function(e){return o({loginBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnHoverBGColor,onChange:function(e){return o({loginBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnHoverBorderColor,onChange:function(e){return o({loginBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function oP(e){return oP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oP(e)}function rP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nP(r.key),r)}}function nP(e){var t=function(e,t){if("object"!=oP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=oP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oP(t)?t:String(t)}function aP(e,t,o){return t=iP(t),function(e,t){if(t&&("object"===oP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lP()?Reflect.construct(t,o||[],iP(e).constructor):t.apply(e,o))}function lP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lP=function(){return!!e})()}function iP(e){return iP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},iP(e)}function cP(e,t){return cP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cP(e,t)}var sP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),aP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=nP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor_block_checkout_login_form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(tP,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i,formToggolerText:t.formToggolerText},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&rP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const uP=sP,dP=JSON.parse('{"name":"woolentor/checkout-login-form","category":"woolentor-checkout","title":"WL : Checkout Login Form","description":"Display Checkout Login Form.","keywords":["woolentor","checkout form","login form","login field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { margin: {{formMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text,{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"loginBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { color: {{loginBtnColor}}; }"}},"loginBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { background-color: {{loginBtnBGColor}}; }"}},"loginBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { font-size: {{loginBtnSize}}; }"}},"loginBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-style: {{loginBtnBorderType}} !important; }"}},"loginBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-width: {{loginBtnBorderWidth}} !important; }"}},"loginBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-color: {{loginBtnBorderColor}} !important; }"}},"loginBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-radius: {{loginBtnBorderRadius}} !important; }"}},"loginBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { padding: {{loginBtnPadding}}; }"}},"loginBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { color: {{loginBtnHoverColor}}; }"}},"loginBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { background-color: {{loginBtnHoverBGColor}}; }"}},"loginBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { border-color: {{loginBtnHoverBorderColor}} !important; }"}}}}'),mP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var pP=dP.name,gP=dP.title,fP=dP.description,bP=dP.category,yP=dP.attributes,RP=dP.keywords,_P=dP.supports,wP={title:(0,ue.__)(gP,"woolentor"),description:(0,ue.__)(fP,"woolentor"),icon:React.createElement(de.Icon,{icon:mP}),keywords:RP,supports:_P,attributes:yP,edit:uP,save:function(){return null}};function hP(e){return function(e){if(Array.isArray(e))return vP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||EP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function EP(e,t){if(e){if("string"==typeof e)return vP(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?vP(e,t):void 0}}function vP(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const OP=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||EP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=hP(t.navigationItemList);a[n][r]=e,o({navigationItemList:a})},c=[];if(!Object.keys(woolentorData.myaccountmenu).length>0)c=[{label:(0,ue.__)("Dashboard","woolentor"),value:"dashboard"},{label:(0,ue.__)("Orders","woolentor"),value:"orders"},{label:(0,ue.__)("Downloads","woolentor"),value:"downloads"},{label:(0,ue.__)("Addresses","woolentor"),value:"edit-address"},{label:(0,ue.__)("Account details","woolentor"),value:"edit-account"},{label:(0,ue.__)("Logout","woolentor"),value:"customer-logout"},{label:(0,ue.__)("Custom","woolentor"),value:"customadd"}];else{var s=function(e,t){return e.map((function(e){return!0===e.hasOwnProperty(t)?e[t]:""})).filter((function(e){return""!==e}))}(t.navigationItemList,"menuCusKey");for(var u in woolentorData.myaccountmenu)s.includes(u)||c.push({label:(0,ue.__)(woolentorData.myaccountmenu[u],"woolentor"),value:u})}return t.navigationItemList.length>0&&(r=t.navigationItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.navigationItemList[r].menuTitle),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=hP(t.navigationItemList);r.splice(e,1),o({navigationItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.SelectControl,{label:(0,ue.__)("Menu Items","woolentor"),value:t.navigationItemList[r].menuKey,options:c,onChange:function(e){return i(e,"menuKey",r)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Menu Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Dashboard","woolentor"),value:t.navigationItemList[r].menuTitle,onChange:function(e){return i(e,"menuTitle",r)}}),"customadd"===t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,React.createElement(de.TextControl,{label:(0,ue.__)("Menu Key","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuCusKey,onChange:function(e){return i(e,"menuCusKey",r)}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("External URL ?","woolentor"),checked:t.navigationItemList[r].externalUrl,onChange:function(e){return i(e,"externalUrl",r)}}),t.navigationItemList[r].externalUrl&&React.createElement(de.TextControl,{label:(0,ue.__)("Menu URL","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuUrl,onChange:function(e){return i(e,"menuUrl",r)}})),!0!==t.navigationItemList[r].externalUrl&&React.createElement(de.SelectControl,{label:(0,ue.__)("Select Content Source","woolentor"),value:t.navigationItemList[r].contentSource,options:[{label:(0,ue.__)("Default","woolentor"),value:"default"},{label:(0,ue.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return i(e,"contentSource",r)}}),"custom"===t.navigationItemList[r].contentSource&&!0!==t.navigationItemList[r].externalUrl&&React.createElement(React.Fragment,null,React.createElement(de.TextareaControl,{label:(0,ue.__)("Content","woolentor"),value:t.navigationItemList[r].customContent,onChange:function(e){return i(e,"customContent",r)}})),"customadd"!==t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,"default"!==t.navigationItemList[r].contentSource&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Remove Default Content","woolentor"),checked:t.navigationItemList[r].contentRemove,onChange:function(e){return i(e,"contentRemove",r)}})))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.ToggleControl,{label:(0,ue.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,ue.__)("Show User Info.","woolentor"):(0,ue.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Jo,{title:(0,ue.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"})),r,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=hP(t.navigationItemList);e.push({menuKey:"customadd",menuTitle:(0,ue.__)("Menu Item #"+(t.navigationItemList.length+1),"woolentor"),menuCusKey:(0,ue.__)("menu-item-"+(t.navigationItemList.length+1),"woolentor"),contentSource:"default"}),o({navigationItemList:e}),l(t.navigationItemList.length)}.bind(void 0)},(0,ue.__)("Add Item","woolentor")))),React.createElement(Tt,null,t.userInfo&&React.createElement(Vt,{title:(0,ue.__)("User Info","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Text Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,ue.__)("Link Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(go,{label:(0,ue.__)("Image","woolentor")}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.userImageBorderType,options:wi,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Navigation","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,ue.__)("Horizontal Left","woolentor"),value:"hleft"},{label:(0,ue.__)("Horizontal Right","woolentor"),value:"hright"},{label:(0,ue.__)("Vertical Top","woolentor"),value:"vtop"},{label:(0,ue.__)("Vertical Bottom","woolentor"),value:"vbottom"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Menu Area Margin","woolentor"),dimensions:t.menuAreaMargin,attributesKey:"menuAreaMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(Dt,{name:"navigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.menuBorderType,options:wi,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Content Area Width (PX)","woolentor"),value:t.contentAreaWidth,allowReset:!0,onChange:function(e){return o({contentAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function PP(e){return PP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PP(e)}function CP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BP(r.key),r)}}function BP(e){var t=function(e,t){if("object"!=PP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=PP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==PP(t)?t:String(t)}function AP(e,t,o){return t=SP(t),function(e,t){if(t&&("object"===PP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,WP()?Reflect.construct(t,o||[],SP(e).constructor):t.apply(e,o))}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(WP=function(){return!!e})()}function SP(e){return SP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},SP(e)}function kP(e,t){return kP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kP(e,t)}var TP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),AP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=BP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account","woolentor_block_my_account","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(OP,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,navigationItemList:t.navigationItemList,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&CP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const xP=TP,LP=JSON.parse('{"name":"woolentor/my-account","category":"woolentor-myaccount","title":"WL : My Account","description":"Display My Account.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":true},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"navigationItemList":{"type":"array","default":[{"menuKey":"dashboard","menuTitle":"Dashboard","contentSource":"default"},{"menuKey":"orders","menuTitle":"Orders","contentSource":"default"},{"menuKey":"downloads","menuTitle":"Downloads","contentSource":"default"},{"menuKey":"edit-address","menuTitle":"Addresses","contentSource":"default"},{"menuKey":"edit-account","menuTitle":"Account details","contentSource":"default"},{"menuKey":"customer-logout","menuTitle":"Logout","contentSource":"default"}]},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { margin: {{menuAreaMargin}}; }"}},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { width: {{menuAreaWidth}}px; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}},"contentAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { width: {{contentAreaWidth}}px; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content a { color: {{contentLinkColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { font-size: {{contentSize}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { margin: {{contentMargin}}; }"}},"contentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { padding: {{contentPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { text-align: {{contentAlignment}}; }"}}}}'),NP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M3 8h19V5q0-.825-.587-1.413Q20.825 3 20 3H5q-.825 0-1.413.587Q3 4.175 3 5Zm5 2H3v9q0 .825.587 1.413Q4.175 21 5 21h3Zm9 0v11h3q.825 0 1.413-.587Q22 19.825 22 19v-9Zm-2 0h-5v11h5Z"})));var zP=LP.name,jP=LP.title,IP=LP.description,MP=LP.category,FP=LP.attributes,HP=LP.keywords,DP=LP.supports,qP={title:(0,ue.__)(jP,"woolentor"),description:(0,ue.__)(IP,"woolentor"),icon:React.createElement(de.Icon,{icon:NP}),keywords:HP,supports:DP,attributes:FP,edit:xP,save:function(){return null}};const GP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.ToggleControl,{label:(0,ue.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,ue.__)("Show User Info.","woolentor"):(0,ue.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Jo,{title:(0,ue.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"})))),React.createElement(Tt,null,t.userInfo&&React.createElement(Vt,{title:(0,ue.__)("User Info","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Text Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,ue.__)("Link Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(go,{label:(0,ue.__)("Image","woolentor")}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.userImageBorderType,options:wi,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Navigation","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,ue.__)("Horizontal","woolentor"),value:"horizontal"},{label:(0,ue.__)("Vertical","woolentor"),value:"vertical"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(Dt,{name:"navigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.menuBorderType,options:wi,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function KP(e){return KP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KP(e)}function UP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,QP(r.key),r)}}function QP(e){var t=function(e,t){if("object"!=KP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=KP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KP(t)?t:String(t)}function VP(e,t,o){return t=ZP(t),function(e,t){if(t&&("object"===KP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,YP()?Reflect.construct(t,o||[],ZP(e).constructor):t.apply(e,o))}function YP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(YP=function(){return!!e})()}function ZP(e){return ZP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ZP(e)}function JP(e,t){return JP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},JP(e,t)}var XP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),VP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&JP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=QP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-navigation","woolentor_block_my_account_navigation","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(GP,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&UP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const $P=XP,eC=JSON.parse('{"name":"woolentor/my-account-navigation","category":"woolentor-myaccount","title":"WL: My Account Navigation","description":"Display My Account Menu.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu","My Account Navigation"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":false},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}}}}'),tC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M3 18v-2h18v2Zm0-5v-2h18v2Zm0-5V6h18v2Z"}));var oC=eC.name,rC=eC.title,nC=eC.description,aC=eC.category,lC=eC.attributes,iC=eC.keywords,cC=eC.supports,sC={title:(0,ue.__)(rC,"woolentor"),description:(0,ue.__)(nC,"woolentor"),icon:React.createElement(de.Icon,{icon:tC}),keywords:iC,supports:cC,attributes:lC,edit:$P,save:function(){return null}};const uC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentLinkHoverColor,onChange:function(e){return o({contentLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Text Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function dC(e){return dC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dC(e)}function mC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pC(r.key),r)}}function pC(e){var t=function(e,t){if("object"!=dC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dC(t)?t:String(t)}function gC(e,t,o){return t=bC(t),function(e,t){if(t&&("object"===dC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fC()?Reflect.construct(t,o||[],bC(e).constructor):t.apply(e,o))}function fC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fC=function(){return!!e})()}function bC(e){return bC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bC(e)}function yC(e,t){return yC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yC(e,t)}var RC=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=pC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-dashboard","woolentor_block_my_account_dashboard","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(uC,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&mC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const _C=RC,wC=JSON.parse('{"name":"woolentor/my-account-dashboard","category":"woolentor-myaccount","title":"WL: My Account Dashboard","description":"Display My Account dashboard.","keywords":["woolentor","My Account","Account","Account dashboard","Dashboard content","Dashboard"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a { color: {{contentLinkColor}}; }"}},"contentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a:hover { color: {{contentLinkHoverColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { font-size: {{contentSize}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { text-align: {{contentAlignment}}; }"}}}}'),hC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Zm5-2v-6H5v6Zm2 0h7v-6h-7Zm-7-8h14V5H5Z"}));var EC=wC.name,vC=wC.title,OC=wC.description,PC=wC.category,CC=wC.attributes,BC=wC.keywords,AC=wC.supports,WC={title:(0,ue.__)(vC,"woolentor"),description:(0,ue.__)(OC,"woolentor"),icon:React.createElement(de.Icon,{icon:hC}),keywords:BC,supports:AC,attributes:CC,edit:_C,save:function(){return null}};const SC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","advanced"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("My Account Download","woolentor")},React.createElement("p",null,(0,ue.__)("My Account Download","woolentor")))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kC(e){return kC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kC(e)}function TC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xC(r.key),r)}}function xC(e){var t=function(e,t){if("object"!=kC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kC(t)?t:String(t)}function LC(e,t,o){return t=zC(t),function(e,t){if(t&&("object"===kC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,NC()?Reflect.construct(t,o||[],zC(e).constructor):t.apply(e,o))}function NC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(NC=function(){return!!e})()}function zC(e){return zC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zC(e)}function jC(e,t){return jC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jC(e,t)}var IC=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),LC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=xC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-download","woolentorblock-my-account-download-"+i,"woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(SC,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&TC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const MC=IC,FC=JSON.parse('{"name":"woolentor/my-account-download","category":"woolentor-myaccount","title":"WL: My Account Download","description":"Display My Account Download.","keywords":["woolentor","My Account","Account","Account download","Dashboard download","download"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}}}}'),HC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6.5 20q-2.275 0-3.887-1.575Q1 16.85 1 14.575q0-1.95 1.175-3.475Q3.35 9.575 5.25 9.15q.425-1.8 2.125-3.425Q9.075 4.1 11 4.1q.825 0 1.413.587Q13 5.275 13 6.1v6.05l1.6-1.55L16 12l-4 4l-4-4l1.4-1.4l1.6 1.55V6.1q-1.9.35-2.95 1.837Q7 9.425 7 11h-.5q-1.45 0-2.475 1.025Q3 13.05 3 14.5q0 1.45 1.025 2.475Q5.05 18 6.5 18h12q1.05 0 1.775-.725Q21 16.55 21 15.5q0-1.05-.725-1.775Q19.55 13 18.5 13H17v-2q0-1.2-.55-2.238Q15.9 7.725 15 7V4.675q1.85.875 2.925 2.588Q19 8.975 19 11q1.725.2 2.863 1.487Q23 13.775 23 15.5q0 1.875-1.312 3.188Q20.375 20 18.5 20Zm5.5-8.95Z"}));var DC=FC.name,qC=FC.title,GC=FC.description,KC=FC.category,UC=FC.attributes,QC=FC.keywords,VC=FC.supports,YC={title:(0,ue.__)(qC,"woolentor"),description:(0,ue.__)(GC,"woolentor"),icon:React.createElement(de.Icon,{icon:HC}),keywords:QC,supports:VC,attributes:UC,edit:MC,save:function(){return null}};const ZC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Fieldset","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.fieldsetColor,onChange:function(e){return o({fieldsetColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.fieldsetBorderColor,onChange:function(e){return o({fieldsetBorderColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function JC(e){return JC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},JC(e)}function XC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$C(r.key),r)}}function $C(e){var t=function(e,t){if("object"!=JC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=JC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==JC(t)?t:String(t)}function eB(e,t,o){return t=oB(t),function(e,t){if(t&&("object"===JC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tB()?Reflect.construct(t,o||[],oB(e).constructor):t.apply(e,o))}function tB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tB=function(){return!!e})()}function oB(e){return oB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oB(e)}function rB(e,t){return rB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rB(e,t)}var nB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),eB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=$C(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-edit","woolentorblock-my-account-edit-"+i,"woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(ZC,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&XC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const aB=nB,lB=JSON.parse('{"name":"woolentor/my-account-edit","category":"woolentor-myaccount","title":"WL: My Account Edit","description":"Display My Account Edit.","keywords":["woolentor","My Account","Account","Account edit","Edit Account","edit"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { margin: {{labelMargin}}; }"}},"fieldsetColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { color: {{fieldsetColor}}; }"}},"fieldsetBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { border-color: {{fieldsetBorderColor}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),iB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v6h-2v-2H5v10h7v2Zm17.125-5L20 14.875l.725-.725q.275-.275.7-.275q.425 0 .7.275l.725.725q.275.275.275.7q0 .425-.275.7ZM14 23v-2.125l5.3-5.3l2.125 2.125l-5.3 5.3ZM5 8h14V6H5Zm0 0V6v2Z"}));var cB=lB.name,sB=lB.title,uB=lB.description,dB=lB.category,mB=lB.attributes,pB=lB.keywords,gB=lB.supports,fB={title:(0,ue.__)(sB,"woolentor"),description:(0,ue.__)(uB,"woolentor"),icon:React.createElement(de.Icon,{icon:iB}),keywords:pB,supports:gB,attributes:mB,edit:aB,save:function(){return null}};const bB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Top Content","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.topContentColor,onChange:function(e){return o({topContentColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.topContentSize,fallbackFontSize:t.topContentSize,onChange:function(e){return o({topContentSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.topContentMargin,attributesKey:"topContentMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingLinkColor,onChange:function(e){return o({headingLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingLinkHoverColor,onChange:function(e){return o({headingLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Address","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function yB(e){return yB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yB(e)}function RB(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_B(r.key),r)}}function _B(e){var t=function(e,t){if("object"!=yB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yB(t)?t:String(t)}function wB(e,t,o){return t=EB(t),function(e,t){if(t&&("object"===yB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,hB()?Reflect.construct(t,o||[],EB(e).constructor):t.apply(e,o))}function hB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hB=function(){return!!e})()}function EB(e){return EB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},EB(e)}function vB(e,t){return vB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vB(e,t)}var OB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=_B(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-address","woolentorblock-my-account-address-"+i,"woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(bB,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&RB(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const PB=OB,CB=JSON.parse('{"name":"woolentor/my-account-address","category":"woolentor-myaccount","title":"WL: My Account Address","description":"Display My Account Address.","keywords":["woolentor","My Account","Account","Account address","Address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"topContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { color: {{topContentColor}}; }"}},"topContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { font-size: {{topContentSize}}; }"}},"topContentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { margin: {{topContentMargin}}; }"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { color: {{headingColor}}; }"}},"headingLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a { color: {{headingLinkColor}}; }"}},"headingLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a:hover { color: {{headingLinkHoverColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { background-color: {{headingBGColor}} !important; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}; }"}}}}'),BB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 11h2.1l6.2-6.2l-2.1-2.1L11 8.9Zm9-6.9l.7-.7q.3-.3.3-.7q0-.4-.3-.7l-.7-.7q-.3-.3-.7-.3q-.4 0-.7.3l-.7.7ZM12 22q-4.025-3.425-6.012-6.363Q4 12.7 4 10.2q0-3.75 2.413-5.975Q8.825 2 12 2q.675 0 1.338.112q.662.113 1.287.313L13 4.075q-.25-.05-.488-.063Q12.275 4 12 4Q9.475 4 7.737 5.737Q6 7.475 6 10.2q0 1.775 1.475 4.062Q8.95 16.55 12 19.35q3.05-2.8 4.525-5.088Q18 11.975 18 10.2q0-.3-.025-.588q-.025-.287-.075-.562l1.65-1.65q.225.65.338 1.35q.112.7.112 1.45q0 2.5-1.987 5.437Q16.025 18.575 12 22Zm.775-11.125Z"}));var AB=CB.name,WB=CB.title,SB=CB.description,kB=CB.category,TB=CB.attributes,xB=CB.keywords,LB=CB.supports,NB={title:(0,ue.__)(WB,"woolentor"),description:(0,ue.__)(SB,"woolentor"),icon:React.createElement(de.Icon,{icon:BB}),keywords:xB,supports:LB,attributes:TB,edit:PB,save:function(){return null}};const zB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Table Cell","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellColor,onChange:function(e){return o({tableCellColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellLinkColor,onChange:function(e){return o({tableCellLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellLinkHoverColor,onChange:function(e){return o({tableCellLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBGColor,onChange:function(e){return o({tableCellBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableCellSize,fallbackFontSize:t.tableCellSize,onChange:function(e){return o({tableCellSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Action Button","woolentor"),initialOpen:!1},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor"),initialOpen:!1},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor"),initialOpen:!1},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function jB(e){return jB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jB(e)}function IB(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,MB(r.key),r)}}function MB(e){var t=function(e,t){if("object"!=jB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jB(t)?t:String(t)}function FB(e,t,o){return t=DB(t),function(e,t){if(t&&("object"===jB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,HB()?Reflect.construct(t,o||[],DB(e).constructor):t.apply(e,o))}function HB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(HB=function(){return!!e})()}function DB(e){return DB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},DB(e)}function qB(e,t){return qB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qB(e,t)}var GB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),FB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=MB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-order","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(zB,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&IB(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const KB=GB,UB=JSON.parse('{"name":"woolentor/my-account-order","category":"woolentor-myaccount","title":"WL: My Account Order","description":"Display My Account Order.","keywords":["woolentor","My Account","Account","Account order","Order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { color: {{headingColor}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { background-color: {{headingBGColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { font-size: {{headingSize}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { padding: {{headingPadding}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-style: {{headingBorderType}}!important; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-width: {{headingBorderWidth}}!important; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-color: {{headingBorderColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { text-align: {{headingAlignment}}; }"}},"tableCellColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { color: {{tableCellColor}}; }"}},"tableCellLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a { color: {{tableCellLinkColor}}; }"}},"tableCellLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a:hover { color: {{tableCellLinkHoverColor}}; }"}},"tableCellBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { background-color: {{tableCellBGColor}}; }"}},"tableCellSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { font-size: {{tableCellSize}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-color: {{tableCellBorderColor}}!important; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { text-align: {{tableCellAlignment}}; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),QB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var VB=UB.name,YB=UB.title,ZB=UB.description,JB=UB.category,XB=UB.attributes,$B=UB.keywords,eA=UB.supports,tA={title:(0,ue.__)(YB,"woolentor"),description:(0,ue.__)(ZB,"woolentor"),icon:React.createElement(de.Icon,{icon:QB}),keywords:$B,supports:eA,attributes:XB,edit:KB,save:function(){return null}};const oA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Label","woolentor"),value:t.buttonLabel,placeholder:(0,ue.__)("Logout","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnColor,onChange:function(e){return o({logoutBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnBGColor,onChange:function(e){return o({logoutBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.logoutBtnSize,fallbackFontSize:t.logoutBtnSize,onChange:function(e){return o({logoutBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.logoutBtnBorderType,options:wi,onChange:function(e){return o({logoutBtnBorderType:e})}}),t.logoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.logoutBtnBorderWidth,attributesKey:"logoutBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnBorderColor,onChange:function(e){return o({logoutBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.logoutBtnBorderRadius,attributesKey:"logoutBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.logoutBtnPadding,attributesKey:"logoutBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"logoutAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnHoverColor,onChange:function(e){return o({logoutBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnHoverBGColor,onChange:function(e){return o({logoutBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnHoverBorderColor,onChange:function(e){return o({logoutBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function rA(e){return rA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rA(e)}function nA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aA(r.key),r)}}function aA(e){var t=function(e,t){if("object"!=rA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rA(t)?t:String(t)}function lA(e,t,o){return t=cA(t),function(e,t){if(t&&("object"===rA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,iA()?Reflect.construct(t,o||[],cA(e).constructor):t.apply(e,o))}function iA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(iA=function(){return!!e})()}function cA(e){return cA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cA(e)}function sA(e,t){return sA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sA(e,t)}var uA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),lA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=aA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-logout","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(oA,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&nA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const dA=uA,mA=JSON.parse('{"name":"woolentor/my-account-logout","category":"woolentor-myaccount","title":"WL: My Account Logout","description":"Display My Account logout.","keywords":["woolentor","My Account","Account","Account logout","logout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonLabel":{"type":"string"},"logoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { color: {{logoutBtnColor}}; }"}},"logoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { background-color: {{logoutBtnBGColor}}; }"}},"logoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { font-size: {{logoutBtnSize}}; }"}},"logoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-style: {{logoutBtnBorderType}} !important; }"}},"logoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-width: {{logoutBtnBorderWidth}} !important; }"}},"logoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-color: {{logoutBtnBorderColor}} !important; }"}},"logoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-radius: {{logoutBtnBorderRadius}} !important; }"}},"logoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { padding: {{logoutBtnPadding}}; }"}},"logoutAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout{ text-align: {{logoutAlignment}}; }"}},"logoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover{ color: {{logoutBtnHoverColor}}; }"}},"logoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { background-color: {{logoutBtnHoverBGColor}}; }"}},"logoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { border-color: {{logoutBtnHoverBorderColor}} !important; }"}}}}'),pA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M15.325 16.275q-.275-.325-.275-.738q0-.412.275-.687l1.85-1.85H10q-.425 0-.712-.288Q9 12.425 9 12t.288-.713Q9.575 11 10 11h7.175l-1.85-1.85q-.3-.3-.3-.712q0-.413.3-.713q.275-.3.688-.3q.412 0 .687.275l3.6 3.6q.15.15.213.325q.062.175.062.375t-.062.375q-.063.175-.213.325l-3.6 3.6q-.325.325-.712.287q-.388-.037-.663-.312ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h6q.425 0 .713.287Q12 3.575 12 4t-.287.712Q11.425 5 11 5H5v14h6q.425 0 .713.288q.287.287.287.712t-.287.712Q11.425 21 11 21Z"}));var gA=mA.name,fA=mA.title,bA=mA.description,yA=mA.category,RA=mA.attributes,_A=mA.keywords,wA=mA.supports,hA={title:(0,ue.__)(fA,"woolentor"),description:(0,ue.__)(bA,"woolentor"),icon:React.createElement(de.Icon,{icon:pA}),keywords:_A,supports:wA,attributes:RA,edit:dA,save:function(){return null}};const EA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Heading","woolentor"),value:t.heading,placeholder:(0,ue.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(Tt,null,t.heading&&React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Lost Password","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.lostPassColor,onChange:function(e){return o({lostPassColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.lostPassHoverColor,onChange:function(e){return o({lostPassHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.lostPassSize,fallbackFontSize:t.lostPassSize,onChange:function(e){return o({lostPassSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.lostPassMargin,attributesKey:"lostPassMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function vA(e){return vA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vA(e)}function OA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,PA(r.key),r)}}function PA(e){var t=function(e,t){if("object"!=vA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=vA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vA(t)?t:String(t)}function CA(e,t,o){return t=AA(t),function(e,t){if(t&&("object"===vA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,BA()?Reflect.construct(t,o||[],AA(e).constructor):t.apply(e,o))}function BA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(BA=function(){return!!e})()}function AA(e){return AA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},AA(e)}function WA(e,t){return WA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},WA(e,t)}var SA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),CA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&WA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=PA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-login-form","woolentor_block_my_account_login_form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(EA,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&OA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const kA=SA,TA=JSON.parse('{"name":"woolentor/my-account-login-form","category":"woolentor-myaccount","title":"WL: My Account Login Form","description":"Display My Account Login Form.","keywords":["woolentor","My Account","Account","Account login","Login Form","login"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Login"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row { margin: {{inputBoxMargin}}!important; }"}},"lostPassColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { color: {{lostPassColor}}; }"}},"lostPassHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a:hover { color: {{lostPassHoverColor}}; }"}},"lostPassSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { font-size: {{lostPassSize}}; }"}},"lostPassMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { margin: {{lostPassMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),xA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var LA=TA.name,NA=TA.title,zA=TA.description,jA=TA.category,IA=TA.attributes,MA=TA.keywords,FA=TA.supports,HA={title:(0,ue.__)(NA,"woolentor"),description:(0,ue.__)(zA,"woolentor"),icon:React.createElement(de.Icon,{icon:xA}),keywords:MA,supports:FA,attributes:IA,edit:kA,save:function(){return null}};const DA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Heading","woolentor"),value:t.heading,placeholder:(0,ue.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(Tt,null,t.heading&&React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function qA(e){return qA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qA(e)}function GA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,KA(r.key),r)}}function KA(e){var t=function(e,t){if("object"!=qA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=qA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qA(t)?t:String(t)}function UA(e,t,o){return t=VA(t),function(e,t){if(t&&("object"===qA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,QA()?Reflect.construct(t,o||[],VA(e).constructor):t.apply(e,o))}function QA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(QA=function(){return!!e})()}function VA(e){return VA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},VA(e)}function YA(e,t){return YA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},YA(e,t)}var ZA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),UA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&YA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=KA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-register-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(DA,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&GA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const JA=ZA,XA=JSON.parse('{"name":"woolentor/my-account-register-form","category":"woolentor-myaccount","title":"WL: My Account Register Form","description":"Display My Account Register Form.","keywords":["woolentor","My Account","Account","Account register","Register Form","register"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Register"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .woocommerce-FormRow { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),$A=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 15h6v2h-6v-2M9 7H7v2h2V7m2 6h6v-2h-6v2m0-4h6V7h-6v2m-2 2H7v2h2v-2m12-6v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-2 0H5v14h14V5M9 15H7v2h2v-2Z"}));var eW=XA.name,tW=XA.title,oW=XA.description,rW=XA.category,nW=XA.attributes,aW=XA.keywords,lW=XA.supports,iW={title:(0,ue.__)(tW,"woolentor"),description:(0,ue.__)(oW,"woolentor"),icon:React.createElement(de.Icon,{icon:$A}),keywords:aW,supports:lW,attributes:nW,edit:JA,save:function(){return null}};const cW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Email Box Label","woolentor"),value:t.emailBoxLabel,placeholder:(0,ue.__)("Username or email","woolentor"),onChange:function(e){return o({emailBoxLabel:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Reset Button Label","woolentor"),value:t.resetButtonLabel,placeholder:(0,ue.__)("Reset password","woolentor"),onChange:function(e){return o({resetButtonLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sW(e){return sW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sW(e)}function uW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dW(r.key),r)}}function dW(e){var t=function(e,t){if("object"!=sW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sW(t)?t:String(t)}function mW(e,t,o){return t=gW(t),function(e,t){if(t&&("object"===sW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pW()?Reflect.construct(t,o||[],gW(e).constructor):t.apply(e,o))}function pW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pW=function(){return!!e})()}function gW(e){return gW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gW(e)}function fW(e,t){return fW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fW(e,t)}var bW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),mW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=dW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-lost-password","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(cW,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{emailBoxLabel:t.emailBoxLabel,resetButtonLabel:t.resetButtonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&uW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const yW=bW,RW=JSON.parse('{"name":"woolentor/my-account-lost-password","category":"woolentor-myaccount","title":"WL: My Account Lost Password Form","description":"Display My Account Lost Password Form.","keywords":["woolentor","My Account Lost","Lost Password","Account Lost","Password Lost","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"emailBoxLabel":{"type":"string"},"resetButtonLabel":{"type":"string"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),_W=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h16q.825 0 1.413.588Q22 5.175 22 6v4h-2V8l-8 5l-8-5v10h12v2Zm8-9l8-5H4Zm-8 7V6v12Zm15 2q-.425 0-.712-.288Q18 19.425 18 19v-3q0-.425.288-.713Q18.575 15 19 15v-1q0-.825.587-1.413Q20.175 12 21 12q.825 0 1.413.587Q23 13.175 23 14v1q.425 0 .712.287q.288.288.288.713v3q0 .425-.288.712Q23.425 20 23 20Zm1-5h2v-1q0-.425-.288-.713Q21.425 13 21 13t-.712.287Q20 13.575 20 14Z"}));var wW=RW.name,hW=RW.title,EW=RW.description,vW=RW.category,OW=RW.attributes,PW=RW.keywords,CW=RW.supports,BW={title:(0,ue.__)(hW,"woolentor"),description:(0,ue.__)(EW,"woolentor"),icon:React.createElement(de.Icon,{icon:_W}),keywords:PW,supports:CW,attributes:OW,edit:yW,save:function(){return null}};const AW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("New Password Box Label","woolentor"),value:t.newPasswordBoxLabel,placeholder:(0,ue.__)("New Password","woolentor"),onChange:function(e){return o({newPasswordBoxLabel:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Re-Enter New Password Box Label","woolentor"),value:t.confirmPasswordBoxLabel,placeholder:(0,ue.__)("Re-enter new password","woolentor"),onChange:function(e){return o({confirmPasswordBoxLabel:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Button Label","woolentor"),value:t.buttonLabel,placeholder:(0,ue.__)("Save","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.inputBoxLayout,options:[{label:(0,ue.__)("Inline","woolentor"),value:"inline"},{label:(0,ue.__)("Block","woolentor"),value:"block"}],onChange:function(e){return o({inputBoxLayout:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function WW(e){return WW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WW(e)}function SW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kW(r.key),r)}}function kW(e){var t=function(e,t){if("object"!=WW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=WW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WW(t)?t:String(t)}function TW(e,t,o){return t=LW(t),function(e,t){if(t&&("object"===WW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xW()?Reflect.construct(t,o||[],LW(e).constructor):t.apply(e,o))}function xW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xW=function(){return!!e})()}function LW(e){return LW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},LW(e)}function NW(e,t){return NW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NW(e,t)}var zW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),TW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=kW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-reset-password","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(AW,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{newPasswordBoxLabel:t.newPasswordBoxLabel,confirmPasswordBoxLabel:t.confirmPasswordBoxLabel,inputBoxLayout:t.inputBoxLayout,buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&SW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const jW=zW,IW=JSON.parse('{"name":"woolentor/my-account-reset-password","category":"woolentor-myaccount","title":"WL: My Account Reset Password Form","description":"Display My Account Reset Password Form.","keywords":["woolentor","My Account Lost","Reset Password","Account Reset","Password Reset","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"newPasswordBoxLabel":{"type":"string","default":"New Password"},"confirmPasswordBoxLabel":{"type":"string","default":"Re-enter new password"},"buttonLabel":{"type":"string","default":"Save"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxLayout":{"type":"string","default":"inline"},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),MW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M13 21q-1.85 0-3.462-.688q-1.613-.687-2.838-1.887L8.125 17q.95.925 2.2 1.462Q11.575 19 13 19q2.9 0 4.95-2.05Q20 14.9 20 12q0-2.9-2.05-4.95Q15.9 5 13 5q-2.9 0-4.95 2.05Q6 9.1 6 12v.175l1.825-1.825l1.425 1.4L5 16L.75 11.75l1.425-1.4L4 12.2V12q0-1.875.713-3.513q.712-1.637 1.925-2.85q1.212-1.212 2.85-1.925Q11.125 3 13 3t3.513.712q1.637.713 2.85 1.925q1.212 1.213 1.925 2.85Q22 10.125 22 12q0 3.75-2.625 6.375T13 21Zm-2-5q-.425 0-.712-.288Q10 15.425 10 15v-3q0-.425.288-.713Q10.575 11 11 11v-1q0-.825.588-1.413Q12.175 8 13 8t1.413.587Q15 9.175 15 10v1q.425 0 .713.287q.287.288.287.713v3q0 .425-.287.712Q15.425 16 15 16Zm1-5h2v-1q0-.425-.287-.713Q13.425 9 13 9t-.712.287Q12 9.575 12 10Z"}));var FW=IW.name,HW=IW.title,DW=IW.description,qW=IW.category,GW=IW.attributes,KW=IW.keywords,UW=IW.supports,QW={title:(0,ue.__)(HW,"woolentor"),description:(0,ue.__)(DW,"woolentor"),icon:React.createElement(de.Icon,{icon:MW}),keywords:KW,supports:UW,attributes:GW,edit:jW,save:function(){return null}};const VW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextareaControl,{label:(0,ue.__)("Thank you message","woolentor"),value:t.thankyoumessage,onChange:function(e){return o({thankyoumessage:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Message","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thankMessageColor,onChange:function(e){return o({thankMessageColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.thankMessageSize,fallbackFontSize:t.thankMessageSize,onChange:function(e){return o({thankMessageSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.thankMessageMargin,attributesKey:"thankMessageMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Bottom Message Margin","woolentor"),dimensions:t.thankBottomMessageMargin,attributesKey:"thankBottomMessageMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"thankMessageAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Order Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Order Details","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.orderInfoColor,onChange:function(e){return o({orderInfoColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.orderInfoSize,fallbackFontSize:t.orderInfoSize,onChange:function(e){return o({orderInfoSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"orderInfoAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.orderInfoMargin,attributesKey:"orderInfoMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function YW(e){return YW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YW(e)}function ZW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,JW(r.key),r)}}function JW(e){var t=function(e,t){if("object"!=YW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=YW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==YW(t)?t:String(t)}function XW(e,t,o){return t=eS(t),function(e,t){if(t&&("object"===YW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,$W()?Reflect.construct(t,o||[],eS(e).constructor):t.apply(e,o))}function $W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return($W=function(){return!!e})()}function eS(e){return eS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},eS(e)}function tS(e,t){return tS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tS(e,t)}var oS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),XW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=JW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(VW,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{thankyoumessage:t.thankyoumessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&ZW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const rS=oS,nS=JSON.parse('{"name":"woolentor/thankyou-order","category":"woolentor-checkout","title":"WL: Thank You Order","description":"Display order information.","keywords":["woolentor","Thank you order","Order information","Thank you order","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"thankyoumessage":{"type":"string","default":"Thank you. Your order has been received."},"thankMessageColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ color: {{thankMessageColor}}; }"}},"thankMessageSize":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ font-size: {{thankMessageSize}}; }"}},"thankMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received { margin: {{thankMessageMargin}}; }"}},"thankBottomMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p { margin: {{thankBottomMessageMargin}}; }"}},"thankMessageAlignment":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ text-align: {{thankMessageAlignment}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { margin: {{labelMargin}}; }"}},"orderInfoColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { color: {{orderInfoColor}}; }"}},"orderInfoSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { font-size: {{orderInfoSize}}; }"}},"orderInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { text-align: {{orderInfoAlignment}}; }"}},"orderInfoMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { margin: {{orderInfoMargin}}; }"}}}}'),aS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 21H5q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h15q.825 0 1.413.587Q22 4.175 22 5v14q0 .825-.587 1.413Q20.825 21 20 21ZM5 8h15V5H5Zm3 2H5v9h3Zm9 0v9h3v-9Zm-2 0h-5v9h5Z"}));var lS=nS.name,iS=nS.title,cS=nS.description,sS=nS.category,uS=nS.attributes,dS=nS.keywords,mS=nS.supports,pS={title:(0,ue.__)(iS,"woolentor"),description:(0,ue.__)(cS,"woolentor"),icon:React.createElement(de.Icon,{icon:aS}),keywords:dS,supports:mS,attributes:uS,edit:rS,save:function(){return null}};const gS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Table","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingBGColor,onChange:function(e){return o({tableHeadingBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingFontSize,fallbackFontSize:t.tableHeadingFontSize,onChange:function(e){return o({tableHeadingFontSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableHeadingPadding,attributesKey:"tableHeadingPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableHeadingAlignment",justified:!0}),React.createElement(go,{label:(0,ue.__)("Content","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentFontSize,fallbackFontSize:t.tableContentFontSize,onChange:function(e){return o({tableContentFontSize:e})}}),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentLinkColor,onChange:function(e){return o({tableContentLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentLinkHoverColor,onChange:function(e){return o({tableContentLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentBorderColor,onChange:function(e){return o({tableContentBorderColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableContentAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function fS(e){return fS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fS(e)}function bS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yS(r.key),r)}}function yS(e){var t=function(e,t){if("object"!=fS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=fS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fS(t)?t:String(t)}function RS(e,t,o){return t=wS(t),function(e,t){if(t&&("object"===fS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_S()?Reflect.construct(t,o||[],wS(e).constructor):t.apply(e,o))}function _S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_S=function(){return!!e})()}function wS(e){return wS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wS(e)}function hS(e,t){return hS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hS(e,t)}var ES=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),RS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=yS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order-details","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(gS,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&bS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const vS=ES,OS=JSON.parse('{"name":"woolentor/thankyou-order-details","category":"woolentor-checkout","title":"WL: Order Details","description":"Display Customer Order Details.","keywords":["woolentor","Thank you","order","Customer order","Order details"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { background-color: {{headingBGColor}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { text-align: {{headingAlignment}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { color: {{tableHeadingColor}}; }"}},"tableHeadingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td{ background-color: {{tableHeadingBGColor}}; }"}},"tableHeadingFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { font-size: {{tableHeadingFontSize}}; }"}},"tableHeadingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { padding: {{tableHeadingPadding}}; }"}},"tableHeadingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { text-align: {{tableHeadingAlignment}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { color: {{tableContentColor}}; }"}},"tableContentFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { font-size: {{tableContentFontSize}}; }"}},"tableContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td strong { color: {{tableContentLinkColor}}; }"}},"tableContentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a:hover { color: {{tableContentLinkHoverColor}}; }"}},"tableContentBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { border-color: {{tableContentBorderColor}}!important; }"}},"tableContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { text-align: {{tableContentAlignment}}; }"}}}}'),PS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var CS=OS.name,BS=OS.title,AS=OS.description,WS=OS.category,SS=OS.attributes,kS=OS.keywords,TS=OS.supports,xS={title:(0,ue.__)(BS,"woolentor"),description:(0,ue.__)(AS,"woolentor"),icon:React.createElement(de.Icon,{icon:PS}),keywords:kS,supports:TS,attributes:SS,edit:vS,save:function(){return null}};const LS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Address","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function NS(e){return NS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NS(e)}function zS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jS(r.key),r)}}function jS(e){var t=function(e,t){if("object"!=NS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=NS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==NS(t)?t:String(t)}function IS(e,t,o){return t=FS(t),function(e,t){if(t&&("object"===NS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,MS()?Reflect.construct(t,o||[],FS(e).constructor):t.apply(e,o))}function MS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(MS=function(){return!!e})()}function FS(e){return FS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},FS(e)}function HS(e,t){return HS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},HS(e,t)}var DS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),IS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&HS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=jS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-address-details","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(LS,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&zS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const qS=DS,GS=JSON.parse('{"name":"woolentor/thankyou-address-details","category":"woolentor-checkout","title":"WL: Address Details","description":"Display Customer Address Details.","keywords":["woolentor","Thank you","Address","Customer Address","Order address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { background-color: {{headingBGColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { text-align: {{headingAlignment}}; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}!important; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}!important; }"}}}}'),KS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 1v3h3v2h-3v3h-2V6h-3V4h3V1h2zm-8 12c-1.1 0-2-.9-2-2s.9-2 2-2s2 .9 2 2s-.9 2-2 2zm1-9.94v2.02A6.53 6.53 0 0 0 12 5c-3.35 0-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14c4.05-3.7 6-6.79 6-9.14V11h2v.2c0 3.32-2.67 7.25-8 11.8c-5.33-4.55-8-8.48-8-11.8C4 6.22 7.8 3 12 3c.34 0 .67.02 1 .06z"}));var US=GS.name,QS=GS.title,VS=GS.description,YS=GS.category,ZS=GS.attributes,JS=GS.keywords,XS=GS.supports,$S={title:(0,ue.__)(QS,"woolentor"),description:(0,ue.__)(VS,"woolentor"),icon:React.createElement(de.Icon,{icon:KS}),keywords:JS,supports:XS,attributes:ZS,edit:qS,save:function(){return null}};const ek=function(e){var t=e.attributes,o=e.setAttributes;return t.titleTag,React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Button Text","woolentor"),placeholder:(0,ue.__)("Close","woolentor"),value:t.buttonText,onChange:function(e){return o({buttonText:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Action","woolentor"),value:t.action,options:[{label:(0,ue.__)("Close Popup","woolentor"),value:"close_popup"},{label:(0,ue.__)("Close and Back To Previous Page","woolentor"),value:"go_back_to_previous_page"}],onChange:function(e){return o({action:e})}}),"close_popup"===t.action&&React.createElement(de.TextControl,{label:(0,ue.__)("Redirect URL","woolentor"),placeholder:(0,ue.__)("https://yourdomain.com/sample-page/","woolentor"),value:t.redirectUrl,onChange:function(e){return o({redirectUrl:e})},help:(0,ue.__)("Enter the URL where you want to redirect after closing the popup.","woolentor")}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"alignment",justified:!1}),React.createElement(Wr,{label:(0,ue.__)("Button Icon","woolentor"),onReset:function(){return o({buttonIcon:""})},value:t.buttonIcon,onChange:function(e){return o({buttonIcon:e})}}),t.buttonIcon&&React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Icon Position","woolentor"),value:t.iconPosition,options:[{label:(0,ue.__)("Before","woolentor"),value:"left"},{label:(0,ue.__)("After","woolentor"),value:"right"}],onChange:function(e){return o({iconPosition:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Button","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.backgroundColor,onChange:function(e){return o({backgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.fontSize,fallbackFontSize:t.fontSize,onChange:function(e){return o({fontSize:e})}}),React.createElement(zr,{value:t.buttonBorder,onChange:function(e){return o({buttonBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.borderRadius,attributesKey:"borderRadius",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverBackgroundColor,onChange:function(e){return o({hoverBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverTextBorderColor,onChange:function(e){return o({hoverTextBorderColor:e})}}))))),t.buttonIcon&&React.createElement(Vt,{title:(0,ue.__)("Icon","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.iconBackgroundColor,onChange:function(e){return o({iconBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.iconColor,onChange:function(e){return o({iconColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.iconFontSize,fallbackFontSize:t.iconFontSize,onChange:function(e){return o({iconFontSize:e})}}),React.createElement(zr,{value:t.iconBorder,onChange:function(e){return o({iconBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.iconBorderRadius,attributesKey:"iconBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.iconPadding,attributesKey:"iconPadding",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function tk(e){return tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tk(e)}function ok(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rk(r.key),r)}}function rk(e){var t=function(e,t){if("object"!=tk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=tk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tk(t)?t:String(t)}function nk(e,t,o){return t=lk(t),function(e,t){if(t&&("object"===tk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ak()?Reflect.construct(t,o||[],lk(e).constructor):t.apply(e,o))}function ak(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ak=function(){return!!e})()}function lk(e){return lk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lk(e)}function ik(e,t){return ik=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ik(e,t)}var ck=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),nk(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ik(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=rk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-popup-close-button-area","woolentorblock-".concat(i)),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(ek,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:t,attributes:{buttonText:o.buttonText,buttonIcon:o.buttonIcon,iconPosition:o.iconPosition,alignment:o.alignment},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},".wlpb-trigger-button-wrapper {display: block;margin: 0;padding: 0;width: 100%;}.wlpb-trigger-button {background-color: #0073e6;color: #fff;border: none;border-radius: 5px;padding: 7px 20px;cursor: pointer;transition: background-color 0.3s ease;display: inline-flex;justify-content: center;align-items: center;}.wlpb-trigger-button-align-left {text-align: left;}.wlpb-trigger-button-align-center {text-align: center;}.wlpb-trigger-button-align-right{text-align: right;}.wlpb-trigger-button:hover {background-color: #0059b3;}.wlpb-trigger-button-icon {margin-right: 5px;}.wlpb-trigger-button-button-left {text-align: left;}.wlpb-trigger-button-button-center {text-align: center;}.wlpb-trigger-button-button-right {text-align: right;}"),m)}}],r&&ok(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const sk=ck,uk=JSON.parse('{"name":"woolentor/popup-close-trigger-button","category":"woolentor-blocks","title":"WL: Popup Close Trigger Button","description":"Display close button for popup builder template","keywords":["woolentor","popup","close","button"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":"Close"},"action":{"type":"string","default":"close_popup"},"redirectUrl":{"type":"string"},"buttonIcon":{"type":"string"},"alignment":{"type":"string","default":"center"},"iconPosition":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button { gap: {{iconSpecing}}px; }"}},"backgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ background-color:{{backgroundColor}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ color:{{textColor}}; }"}},"fontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ font-size:{{fontSize}}; }"}},"borderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ border-radius:{{borderRadius}}; }"}},"buttonBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button"}},"hoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover{ background-color:{{hoverBackgroundColor}}; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ color:{{hoverTextColor}}; }"}},"hoverTextBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ border-color:{{hoverTextBorderColor}}; }"}},"iconBackgroundColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ background-color:{{iconBackgroundColor}}; }"}},"iconColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ color:{{iconColor}}; }"}},"iconFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ font-size:{{iconFontSize}}; }"}},"iconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ border-radius:{{iconBorderRadius}}; }"}},"iconBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i"}},"iconPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ padding:{{iconPadding}}; }"}}}}'),dk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11.7 18q-2.4-.125-4.05-1.85T6 12q0-2.5 1.75-4.25T12 6q2.425 0 4.15 1.65T18 11.7l-2.1-.625q-.325-1.35-1.4-2.212T12 8q-1.65 0-2.825 1.175T8 12q0 1.425.863 2.5t2.212 1.4L11.7 18Zm8.825 4.5l-4.275-4.275L15 22l-3-10l10 3l-3.775 1.25l4.275 4.275l-1.975 1.975Z"}));var mk=uk.name,pk=uk.category,gk=uk.title,fk=uk.description,bk=uk.keywords,yk=uk.attributes,Rk={title:(0,ue.__)(gk,"woolentor"),description:(0,ue.__)(fk,"woolentor"),icon:React.createElement(de.Icon,{icon:dk}),keywords:bk,example:{attributes:{buttonText:(0,ue.__)("Close Popup","woolentor")}},attributes:yk,edit:sk,save:function(){return null}};const _k=JSON.parse('{"name":"woolentor/currency-switcher","category":"woolentor-blocks","title":"WL : Currency Switcher","description":"Display currency list added from Module.","keywords":["woolentor","currency","multi currency","WooCommerce currency"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"currencyStyle":{"type":"string","default":"dropdown"},"showFlags":{"type":"boolean","default":true},"flagStyle":{"type":"string","default":"circle"},"currencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ color:{{currencyColor}}; }"}},"currencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ font-size:{{currencySize}}; }"}},"currencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li + li"}},"currencyPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li{ padding:{{currencyPadding}}; }"}},"currencyHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ color:{{currencyHoverColor}}; }"}},"currencyHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ background-color:{{currencyHoverBgColor}}; }"}},"currenctCurrencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ color:{{currenctCurrencyColor}}; }"}},"currenctCurrencyBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ background-color:{{currenctCurrencyBGColor}}; }","dependency":[[{"key":"currencyStyle","condition":"==","value":"list"}]]}},"currenctCurrencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ font-size:{{currenctCurrencySize}}; }"}},"currenctCurrencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency"}},"dropdownArrowColor":{"type":"string","style":{"dependency":[[{"key":"currencyStyle","condition":"==","value":"dropdown"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown-arrow::after{ color:{{dropdownArrowColor}}; }"}}}}'),wk=function(e){var t=e.attributes,o=e.setAttributes,r=t.currencyStyle,n=t.showFlags,a=t.flagStyle;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:r,options:[{label:(0,ue.__)("Dropdown","woolentor"),value:"dropdown"},{label:(0,ue.__)("List","woolentor"),value:"list"}],onChange:function(e){return o({currencyStyle:e})}}),1==woolentorData.prostatus&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(io,{label:(0,ue.__)("Show Currency flags ?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({showFlags:!n})}})),n&&React.createElement(de.SelectControl,{label:(0,ue.__)("Flag Style","woolentor"),value:a,options:[{label:(0,ue.__)("Circle","woolentor"),value:"circle"},{label:(0,ue.__)("Square","woolentor"),value:"square"}],onChange:function(e){return o({flagStyle:e})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Currency","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currencyColor,onChange:function(e){return o({currencyColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currencySize,fallbackFontSize:t.currencySize,onChange:function(e){return o({currencySize:e})}}),React.createElement(zr,{value:t.currencyBorder,onChange:function(e){return o({currencyBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.currencyPadding,attributesKey:"currencyPadding",setAttributes:o,responsive:!0}),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currencyHoverColor,onChange:function(e){return o({currencyHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currencyHoverBgColor,onChange:function(e){return o({currencyHoverBgColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Current Currency","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currenctCurrencyColor,onChange:function(e){return o({currenctCurrencyColor:e})}})),"list"===r&&React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currenctCurrencyBGColor,onChange:function(e){return o({currenctCurrencyBGColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currenctCurrencySize,fallbackFontSize:t.currenctCurrencySize,onChange:function(e){return o({currenctCurrencySize:e})}}),React.createElement(zr,{value:t.currenctCurrencyBorder,onChange:function(e){return o({currenctCurrencyBorder:e})}}),"dropdown"===r&&React.createElement(io,{label:(0,ue.__)("Arrow Color","woolentor")},React.createElement(de.ColorPalette,{value:t.dropdownArrowColor,onChange:function(e){return o({dropdownArrowColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function hk(e){return hk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hk(e)}function Ek(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vk(r.key),r)}}function vk(e){var t=function(e,t){if("object"!=hk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hk(t)?t:String(t)}function Ok(e,t,o){return t=Ck(t),function(e,t){if(t&&("object"===hk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pk()?Reflect.construct(t,o||[],Ck(e).constructor):t.apply(e,o))}function Pk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Pk=function(){return!!e})()}function Ck(e){return Ck=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ck(e)}function Bk(e,t){return Bk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bk(e,t)}var Ak=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ok(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bk(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;o.areaBGProperty,""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=vk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-currency-switcher-area"),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(wk,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:t,attributes:{blockUniqId:i,currencyStyle:o.currencyStyle,showFlags:o.showFlags,flagStyle:o.flagStyle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Ek(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Wk=Ak,Sk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23q-2.8 0-5.15-1.275T3 18.325V21H1v-6h6v2H4.525q1.2 1.8 3.163 2.9T12 21q1.875 0 3.513-.712t2.85-1.925q1.212-1.213 1.925-2.85T21 12h2q0 2.275-.862 4.275t-2.363 3.5q-1.5 1.5-3.5 2.363T12 23m-.9-4v-1.3q-1.175-.275-1.912-1.012T8.1 14.75l1.65-.65q.3 1.025.938 1.538t1.462.512q.825 0 1.413-.387t.587-1.213q0-.725-.612-1.175T11.35 12.35q-1.475-.525-2.162-1.25T8.5 9.2q0-1.025.713-1.862T11.15 6.25V5h1.75v1.25q.9.075 1.638.725T15.55 8.5l-1.6.65q-.2-.575-.65-.962T12.05 7.8q-.875 0-1.338.375T10.25 9.2q0 .65.575 1.025t2.075.875q1.8.65 2.4 1.525t.6 1.925q0 .725-.25 1.275t-.663.938q-.412.387-.962.624t-1.175.363V19zM1 12q0-2.275.863-4.275t2.362-3.5q1.5-1.5 3.5-2.362T12 1q2.8 0 5.15 1.275t3.85 3.4V3h2v6h-6V7h2.475q-1.2-1.8-3.162-2.9T12 3q-1.875 0-3.512.713t-2.85 1.924Q4.425 6.85 3.713 8.488T3 12z"}));var kk=_k.name,Tk=_k.category,xk=_k.title,Lk=_k.description,Nk=_k.keywords,zk=_k.attributes,jk={title:(0,ue.__)(xk,"woolentor"),description:(0,ue.__)(Lk,"woolentor"),icon:React.createElement(de.Icon,{icon:Sk}),keywords:Nk,example:{attributes:{title_tag:"h2"}},attributes:zk,edit:Wk,save:function(){return null}};function Ik(e){return Ik="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ik(e)}function Mk(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}[e,t,r,n,a,l,i,c,s,u,d,p,m,g,f,b,y,R,_,w,h,E,v,O,P,C,B,A,W,S,k,T,x,L,N,z,j,I,M,F,H,G,D,q,K,U,Q,V,Y,Z,J,X,$,ee,te,oe,ae,ne,re,le,ie].forEach((function(e){if(e){var t=e.name;if(t=t.replace("woolentor/",""),-1!=woolentorData.options.indexOf(t)){var o=e.name,r=e.category,n=e.settings;(0,ce.registerBlockType)(o,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mk(Object(o),!0).forEach((function(t){var r,n,a,l;r=e,n=t,a=o[t],l=function(e,t){if("object"!=Ik(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ik(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==Ik(l)?l:String(l))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mk(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({category:r},n))}}})),function(e){var t=jQuery;""==e?ke():t("body").on("click",e,(function(e){ke()}))}(".components-button.editor-post-publish-button.editor-post-publish-button__button.is-primary,.block-editor-post-preview__dropdown button,.edit-site-save-button__button"),function(e){var t=jQuery;"cart"===e||"emptycart"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-cart woocommerce-page woocommerce-js"):"checkout"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-checkout woocommerce-page"):"myaccount"===e||"lostpassword"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-account woolentor_myaccount_page"):"thankyou"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-checkout woocommerce-js"):"single"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page single-product woocommerce-js"):"shop"!==e&&"archive"!==e||t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-shop woocommerce-js")}(woolentorData.templateType)})()})();1 (()=>{var e={40:(e,t,o)=>{var r=o(404),n=o(524).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;n(t,(function(o,r){if(o.equals(e))return o.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){n(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";n(this.handlers,(function(t){t[e]()}))}},e.exports=a},98:(e,t,o)=>{var r=o(40),n=o(524),a=n.each,l=n.isFunction,i=n.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,o){var n=this.queries,c=o&&this.browserIsIncapable;return n[e]||(n[e]=new r(e,c)),l(t)&&(t={match:t}),i(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),n[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=c},404:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},524:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var o=0,r=e.length;o<r&&!1!==t(e[o],o);o++);}}},386:(e,t,o)=>{var r=o(98);e.exports=new r},441:(e,t,o)=>{var r=o(28),n=function(e){var t="",o=Object.keys(e);return o.forEach((function(n,a){var l=e[n];(function(e){return/[height|width]$/.test(e)})(n=r(n))&&"number"==typeof l&&(l+="px"),t+=!0===l?n:!1===l?"not "+n:"("+n+": "+l+")",a<o.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(o,r){t+=n(o),r<e.length-1&&(t+=", ")})),t):n(e)}},181:(e,t,o)=>{var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,i=parseInt,c="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=c||s||Function("return this")(),d=Object.prototype.toString,m=Math.max,p=Math.min,g=function(){return u.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var o=a.test(e);return o||l.test(e)?i(e.slice(2),o?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,o){var r,n,a,l,i,c,s=0,u=!1,d=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function R(t){var o=r,a=n;return r=n=void 0,s=t,l=e.apply(a,o)}function _(e){var o=e-c;return void 0===c||o>=t||o<0||d&&e-s>=a}function w(){var e=g();if(_(e))return h(e);i=setTimeout(w,function(e){var o=t-(e-c);return d?p(o,a-(e-s)):o}(e))}function h(e){return i=void 0,y&&r?R(e):(r=n=void 0,l)}function E(){var e=g(),o=_(e);if(r=arguments,n=this,c=e,o){if(void 0===i)return function(e){return s=e,i=setTimeout(w,t),u?R(e):l}(c);if(d)return i=setTimeout(w,t),R(c)}return void 0===i&&(i=setTimeout(w,t)),l}return t=b(t)||0,f(o)&&(u=!!o.leading,a=(d="maxWait"in o)?m(b(o.maxWait)||0,t):a,y="trailing"in o?!!o.trailing:y),E.cancel=function(){void 0!==i&&clearTimeout(i),s=0,r=c=n=i=void 0},E.flush=function(){return void 0===i?l:h(g())},E}},223:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,o){return t&&p(e.prototype,t),o&&p(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=R(e);if(t){var a=R(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,o)}}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var _=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var o={key:"0","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,u(u({},o),r)):n.default.createElement("button",c({key:"0",type:"button"},o)," ","Previous")}}]),o}(n.default.PureComponent);t.PrevArrow=_;var w=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,l.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var o={key:"1","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,u(u({},o),r)):n.default.createElement("button",c({key:"1",type:"button"},o)," ","Next")}}]),o}(n.default.PureComponent);t.NextArrow=w},327:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r},a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return n.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return n.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},773:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function u(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(f,e);var t,o,i,p,g=(i=f,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),g.apply(this,arguments)}return t=f,o=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,o=t.onMouseEnter,r=t.onMouseOver,i=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,m=t.slidesToShow,p=t.slideCount,g=t.currentSlide,f=(e={slideCount:p,slidesToScroll:d,slidesToShow:m,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:o,onMouseOver:r,onMouseLeave:i},y=[],R=0;R<f;R++){var _=(R+1)*d-1,w=u?_:(0,l.clamp)(_,0,p-1),h=w-(d-1),E=u?h:(0,l.clamp)(h,0,p-1),v=(0,a.default)({"slick-active":u?g>=E&&g<=w:g===E}),O={message:"dots",index:R,slidesToScroll:d,currentSlide:g},P=this.clickHandler.bind(this,O);y=y.concat(n.default.createElement("li",{key:R,className:v},n.default.cloneElement(this.props.customPaging(R),{onClick:P})))}return n.default.cloneElement(this.props.appendDots(y),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({className:this.props.dotsClass},b))}}],o&&u(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),f}(n.default.PureComponent);t.Dots=p},589:(e,t,o)=>{"use strict";var r;t.A=void 0;var n=((r=o(120))&&r.__esModule?r:{default:r}).default;t.A=n},841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=m(o(609)),n=m(o(841)),a=m(o(181)),l=m(o(942)),i=o(445),c=o(561),s=o(773),u=o(223),d=m(o(591));function m(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function y(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function h(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(v,e);var t,o,m,f,E=(m=v,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(m);if(f){var o=w(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}(this,e)});function v(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),h(_(t=E.call(this,e)),"listRefHandler",(function(e){return t.list=e})),h(_(t),"trackRefHandler",(function(e){return t.track=e})),h(_(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),h(_(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var o=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(o,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),h(_(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),h(_(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var o=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));o.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(o)}})),t.props.onLazyLoad&&t.props.onLazyLoad(o))}t.adaptHeight();var n=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(n,a,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),h(_(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,a.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),h(_(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var o=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(o,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),h(_(t),"updateState",(function(e,o,n){var a=(0,i.initializedState)(e);e=b(b(b({},e),a),{},{slideIndex:a.currentSlide});var l=(0,i.getTrackLeft)(e);e=b(b({},e),{},{left:l});var c=(0,i.getTrackCSS)(e);(o||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(a.trackStyle=c),t.setState(a,n)})),h(_(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,o=0,n=[],a=(0,i.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c<a;c++)o+=n[n.length-1-c],e+=n[n.length-1-c];for(var s=0;s<l;s++)e+=n[s];for(var u=0;u<t.state.currentSlide;u++)o+=n[u];var d={width:e+"px",left:-o+"px"};if(t.props.centerMode){var m="".concat(n[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(m,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),g=b(b(b({},t.props),t.state),{},{slideCount:p}),f=(0,i.getPreClones)(g)+(0,i.getPostClones)(g)+p,y=100/t.props.slidesToShow*f,R=100/f,_=-R*((0,i.getPreClones)(g)+t.state.currentSlide)*y/100;return t.props.centerMode&&(_+=(100-R*y/100)/2),{slideWidth:R+"%",trackStyle:{width:y+"%",left:_+"%"}}})),h(_(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],o=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var n=function(){return++r&&r>=o&&t.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=n,e.onerror=function(){n(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),h(_(t),"progressiveLazyLoad",(function(){for(var e=[],o=b(b({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,i.getPostClones)(o);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var n=t.state.currentSlide-1;n>=-(0,i.getPreClones)(o);n--)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),h(_(t),"slideHandler",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,n=r.asNavFor,a=r.beforeChange,l=r.onLazyLoad,c=r.speed,s=r.afterChange,u=t.state.currentSlide,d=(0,i.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!o})),m=d.state,p=d.nextState;if(m){a&&a(u,m.currentSlide);var g=m.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&g.length>0&&l(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),delete t.animationEndCallback),t.setState(m,(function(){n&&t.asNavForIndex!==e&&(t.asNavForIndex=e,n.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(p,["animating"]);t.setState(o,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(m.currentSlide),delete t.animationEndCallback}))}),c))}))}})),h(_(t),"changeSlide",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=b(b({},t.props),t.state),n=(0,i.changeSlide)(r,e);if((0===n||n)&&(!0===o?t.slideHandler(n,o):t.slideHandler(n),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var a=t.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}})),h(_(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),h(_(t),"keyHandler",(function(e){var o=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==o&&t.changeSlide({message:o})})),h(_(t),"selectHandler",(function(e){t.changeSlide(e)})),h(_(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),h(_(t),"enableBodyScroll",(function(){window.ontouchmove=null})),h(_(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var o=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==o&&t.setState(o)})),h(_(t),"swipeMove",(function(e){var o=(0,i.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));o&&(o.swiping&&(t.clickable=!1),t.setState(o))})),h(_(t),"swipeEnd",(function(e){var o=(0,i.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(o){var r=o.triggerSlideHandler;delete o.triggerSlideHandler,t.setState(o),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),h(_(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),h(_(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),h(_(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),h(_(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},o)}),0))})),h(_(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),h(_(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var o=t.state.autoplaying;if("update"===e){if("hovered"===o||"focused"===o||"paused"===o)return}else if("leave"===e){if("paused"===o||"focused"===o)return}else if("blur"===e&&("paused"===o||"hovered"===o))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),h(_(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var o=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==o&&"playing"!==o||t.setState({autoplaying:"focused"}):"playing"===o&&t.setState({autoplaying:"hovered"})})),h(_(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),h(_(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),h(_(t),"render",(function(){var e,o,n,a=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=b(b({},t.props),t.state),m=(0,i.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(m=b(b({},m),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var f=(0,i.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;f=b(b({},f),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=r.default.createElement(s.Dots,f)}var R=(0,i.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);R.clickHandler=t.changeSlide,t.props.arrows&&(o=r.default.createElement(u.PrevArrow,R),n=r.default.createElement(u.NextArrow,R));var _=null;t.props.vertical&&(_={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var h=b(b({},_),w),E=t.props.touchMove,v={className:"slick-list",style:h,onClick:t.clickHandler,onMouseDown:E?t.swipeStart:null,onMouseMove:t.state.dragging&&E?t.swipeMove:null,onMouseUp:E?t.swipeEnd:null,onMouseLeave:t.state.dragging&&E?t.swipeEnd:null,onTouchStart:E?t.swipeStart:null,onTouchMove:t.state.dragging&&E?t.swipeMove:null,onTouchEnd:E?t.touchEnd:null,onTouchCancel:t.state.dragging&&E?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},O={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(v={className:"slick-list"},O={className:a}),r.default.createElement("div",O,t.props.unslick?"":o,r.default.createElement("div",g({ref:t.listRefHandler},v),r.default.createElement(c.Track,g({ref:t.trackRefHandler},m),t.props.children)),t.props.unslick?"":n,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},n.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var o=t.ssrInit();return t.state=b(b({},t.state),o),t}return t=v,(o=[{key:"didPropsChange",value:function(e){for(var t=!1,o=0,n=Object.keys(this.props);o<n.length;o++){var a=n[o];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==p(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),v}(r.default.Component);t.InnerSlider=E},120:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(609)),a=o(999),l=s(o(441)),i=s(o(327)),c=o(445);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},u.apply(this,arguments)}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){y(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function y(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var R=(0,c.canUseDOM)()&&o(386),_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(w,e);var t,o,s,d,_=(s=w,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(s);if(d){var o=b(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),y(f(t=_.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(f(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(f(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(f(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,o)})),y(f(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(f(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=w,(o=[{key:"media",value:function(e,t){R.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(o,r){var n;n=0===r?(0,l.default)({minWidth:0,maxWidth:o}):(0,l.default)({minWidth:t[r-1]+1,maxWidth:o}),(0,c.canUseDOM)()&&e.media(n,(function(){e.setState({breakpoint:o})}))}));var o=(0,l.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){R.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,o=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===o.state.breakpoint})))[0].settings?"unslick":m(m(m({},i.default),this.props),t[0].settings):m(m({},i.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,s=0;s<r.length;s+=e.rows*e.slidesPerRow){for(var d=[],p=s;p<s+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var g=[],f=p;f<p+e.slidesPerRow&&(e.variableWidth&&r[f].props.style&&(c=r[f].props.style.width),!(f>=r.length));f+=1)g.push(n.default.cloneElement(r[f],{key:100*s+10*p+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(n.default.createElement("div",{key:10*s+p},g))}e.variableWidth?l.push(n.default.createElement("div",{key:s,style:{width:c}},d)):l.push(n.default.createElement("div",{key:s},d))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:b},r)}return l.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(a.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}])&&p(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),w}(n.default.Component);t.default=_},561:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var b=function(e){var t,o,r,n,a;return r=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(n=Math.floor(e.slidesToShow/2),o=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-n-1&&a<=e.currentSlide+n&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":o,"slick-cloned":r,"slick-current":a===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(_,e);var t,o,i,p,R=(i=_,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function _(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_);for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return f(d(e=R.call.apply(R,[this].concat(o))),"node",null),f(d(e),"handleRef",(function(t){e.node=t})),e}return t=_,(o=[{key:"render",value:function(){var e=function(e){var t,o=[],r=[],i=[],c=n.default.Children.count(e.children),s=(0,l.lazyStartIndex)(e),u=(0,l.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(d,m){var p,f={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?d:n.default.createElement("div",null);var R=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:m})),_=p.props.className||"",w=b(g(g({},e),{},{index:m}));if(o.push(n.default.cloneElement(p,{key:"original"+y(p,m),"data-index":m,className:(0,a.default)(w,_),tabIndex:"-1","aria-hidden":!w["slick-active"],style:g(g({outline:"none"},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade){var h=c-m;h<=(0,l.getPreClones)(e)&&c!==e.slidesToShow&&((t=-h)>=s&&(p=d),w=b(g(g({},e),{},{index:t})),r.push(n.default.cloneElement(p,{key:"precloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),c!==e.slidesToShow&&((t=c+m)<u&&(p=d),w=b(g(g({},e),{},{index:t})),i.push(n.default.cloneElement(p,{key:"postcloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))}})),e.rtl?r.concat(o,i).reverse():r.concat(o,i)}(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",c({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},o),e)}}])&&s(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),_}(n.default.PureComponent);t.Track=R},445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r};function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){i(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function c(e,t,o){return Math.max(t,Math.min(e,o))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)e.lazyLoadedList.indexOf(n)<0&&t.push(n);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)t.push(n);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var m=function(e){return e.currentSlide+g(e)};t.lazyEndIndex=m;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var g=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=g;var f=function(e){return e&&e.offsetWidth||0};t.getWidth=f;var b=function(e){return e&&e.offsetHeight||0};t.getHeight=b;var y=function(e){var t,o,r,n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,r=Math.atan2(o,t),(n=Math.round(180*r/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===a?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var R=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=R,t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o},t.initializedState=function(e){var t,o=n.default.Children.count(e.children),r=e.listRef,a=Math.ceil(f(r)),i=e.trackRef&&e.trackRef.node,c=Math.ceil(f(i));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var d=r&&b(r.querySelector('[data-index="0"]')),m=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=o-1-e.initialSlide);var g=e.lazyLoadedList||[],y=u(l(l({},e),{},{currentSlide:p,lazyLoadedList:g})),R={slideCount:o,slideWidth:t,listWidth:a,trackWidth:c,currentSlide:p,slideHeight:d,listHeight:m,lazyLoadedList:g=g.concat(y)};return null===e.autoplaying&&e.autoplay&&(R.autoplaying="playing"),R},t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,r=e.fade,n=e.infinite,a=e.index,i=e.slideCount,s=e.lazyLoad,d=e.currentSlide,m=e.centerMode,p=e.slidesToScroll,g=e.slidesToShow,f=e.useCSS,b=e.lazyLoadedList;if(t&&o)return{};var y,_,w,h=a,E={},C={},B=n?a:c(a,0,i-1);if(r){if(!n&&(a<0||a>=i))return{};a<0?h=a+i:a>=i&&(h=a-i),s&&b.indexOf(h)<0&&(b=b.concat(h)),E={animating:!0,currentSlide:h,lazyLoadedList:b,targetSlide:h},C={animating:!1,targetSlide:h}}else y=h,h<0?(y=h+i,n?i%p!=0&&(y=i-i%p):y=0):!R(e)&&h>d?h=y=d:m&&h>=i?(h=n?i:i-1,y=n?0:i-1):h>=i&&(y=h-i,n?i%p!=0&&(y=0):y=i-g),!n&&h+g>=i&&(y=i-g),_=P(l(l({},e),{},{slideIndex:h})),w=P(l(l({},e),{},{slideIndex:y})),n||(_===w&&(h=y),_=w),s&&(b=b.concat(u(l(l({},e),{},{currentSlide:h})))),f?(E={animating:!0,currentSlide:y,trackStyle:O(l(l({},e),{},{left:_})),lazyLoadedList:b,targetSlide:B},C={animating:!1,currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),swipeLeft:null,targetSlide:B}):E={currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),lazyLoadedList:b,targetSlide:B};return{state:E,nextState:C}},t.changeSlide=function(e,t){var o,r,n,a,i=e.slidesToScroll,c=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,m=e.lazyLoad,p=e.infinite;if(o=s%i!=0?0:(s-u)%i,"previous"===t.message)a=u-(n=0===o?i:c-o),m&&!p&&(a=-1==(r=u-n)?s-1:r),p||(a=d-i);else if("next"===t.message)a=u+(n=0===o?i:o),m&&!p&&(a=(u+i)%s+o),p||(a=d+i);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var g=S(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===g?a-=s:a<t.currentSlide&&"right"===g&&(a+=s)}}else"index"===t.message&&(a=Number(t.index));return a},t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""},t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&s(e),!t||!o&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var o=t.scrolling,r=t.animating,n=t.vertical,a=t.swipeToSlide,i=t.verticalSwiping,c=t.rtl,u=t.currentSlide,d=t.edgeFriction,m=t.edgeDragged,p=t.onEdge,g=t.swiped,f=t.swiping,b=t.slideCount,_=t.slidesToScroll,w=t.infinite,h=t.touchObject,E=t.swipeEvent,O=t.listHeight,C=t.listWidth;if(!o){if(r)return s(e);n&&a&&i&&s(e);var B,A={},S=P(t);h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2)));var W=Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2)));if(!i&&!f&&W>10)return{scrolling:!0};i&&(h.swipeLength=W);var k=(c?-1:1)*(h.curX>h.startX?1:-1);i&&(k=h.curY>h.startY?1:-1);var T=Math.ceil(b/_),x=y(t.touchObject,i),L=h.swipeLength;return w||(0===u&&("right"===x||"down"===x)||u+1>=T&&("left"===x||"up"===x)||!R(t)&&("left"===x||"up"===x))&&(L=h.swipeLength*d,!1===m&&p&&(p(x),A.edgeDragged=!0)),!g&&E&&(E(x),A.swiped=!0),B=n?S+L*(O/C)*k:c?S-L*k:S+L*k,i&&(B=S+L*k),A=l(l({},A),{},{touchObject:h,swipeLeft:B,trackStyle:v(l(l({},t),{},{left:B}))}),Math.abs(h.curX-h.startX)<.8*Math.abs(h.curY-h.startY)||h.swipeLength>10&&(A.swiping=!0,s(e)),A}},t.swipeEnd=function(e,t){var o=t.dragging,r=t.swipe,n=t.touchObject,a=t.listWidth,i=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,m=t.scrolling,p=t.onSwipe,g=t.targetSlide,f=t.currentSlide,b=t.infinite;if(!o)return r&&s(e),{};var R=c?u/i:a/i,_=y(n,c),E={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(m)return E;if(!n.swipeLength)return E;if(n.swipeLength>R){var v,C;s(e),p&&p(_);var B=b?f:g;switch(_){case"left":case"up":C=B+h(t),v=d?w(t,C):C,E.currentDirection=0;break;case"right":case"down":C=B-h(t),v=d?w(t,C):C,E.currentDirection=1;break;default:v=B}E.triggerSlideHandler=v}else{var A=P(t);E.trackStyle=O(l(l({},t),{},{left:A}))}return E};var _=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,n=[];o<t;)n.push(o),o=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return n};t.getNavigableIndexes=_;var w=function(e,t){var o=_(e),r=0;if(t>o[o.length-1])t=o[o.length-1];else for(var n in o){if(t<o[n]){t=r;break}r=o[n]}return t};t.checkNavigable=w;var h=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,r=e.listRef,n=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(n).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return o=r,!1}else if(r.offsetLeft-t+f(r)/2>-1*e.swipeLeft)return o=r,!1;return!0})),!o)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=h;var E=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=E;var v=function(e){var t,o;E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?o=r*e.slideHeight:t=A(e)*e.slideWidth;var n={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=l(l({},n),{},{WebkitTransform:a,transform:i,msTransform:c})}else e.vertical?n.top=e.left:n.left=e.left;return e.fade&&(n={opacity:1}),t&&(n.width=t),o&&(n.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?n.marginTop=e.left+"px":n.marginLeft=e.left+"px"),n};t.getTrackCSS=v;var O=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=v(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=O;var P=function(e){if(e.unslick)return 0;E(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,r=e.slideIndex,n=e.trackRef,a=e.infinite,l=e.centerMode,i=e.slideCount,c=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,m=e.variableWidth,p=e.slideHeight,g=e.fade,f=e.vertical;if(g||1===e.slideCount)return 0;var b=0;if(a?(b=-C(e),i%s!=0&&r+s>i&&(b=-(r>i?c-(r-i):i%s)),l&&(b+=parseInt(c/2))):(i%s!=0&&r+s>i&&(b=c-i%s),l&&(b=parseInt(c/2))),t=f?r*p*-1+b*p:r*u*-1+b*u,!0===m){var y,R=n&&n.node;if(y=r+C(e),t=(o=R&&R.childNodes[y])?-1*o.offsetLeft:0,!0===l){y=a?r+C(e):r,o=R&&R.children[y],t=0;for(var _=0;_<y;_++)t-=R&&R.children[_]&&R.children[_].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=P;var C=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=C;var B=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=B;var A=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+B(e)};t.getTotalSlides=A;var S=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide<e.currentSlide-k(e)?"right":"left"};t.siblingDirection=S;var W=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1};t.slidesOnRight=W;var k=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r||t%2!=0||(a+=1),a}return r?t-1:0};t.slidesOnLeft=k,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},591:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,r){return e[0]===t&&(o=r,!0)})),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(t,o){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,r=e(o,t);~r&&o.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,r=this.__entries__;o<r.length;o++){var n=r[o];e.call(t,n[1],n[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},i=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,r=!1,n=0;function a(){o&&(o=!1,e()),r&&c()}function i(){l(a)}function c(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(i,t);n=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;i.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=y(0,0,0,0);function p(e){return parseFloat(e)||0}function g(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+p(e["border-"+o+"-width"])}),0)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return n?f(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return m;var r=d(e).getComputedStyle(e),n=function(e){for(var t={},o=0,r=["top","right","bottom","left"];o<r.length;o++){var n=r[o],a=e["padding-"+n];t[n]=p(a)}return t}(r),a=n.left+n.right,l=n.top+n.bottom,i=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(i+a)!==t&&(i-=g(r,"left","right")+a),Math.round(c+l)!==o&&(c-=g(r,"top","bottom")+l)),!function(e){return e===d(e).document.documentElement}(e)){var s=Math.round(i+a)-t,u=Math.round(c+l)-o;1!==Math.abs(s)&&(i-=s),1!==Math.abs(u)&&(c-=u)}return y(n.left,n.top,i,c)}(e):m}function y(e,t,o,r){return{x:e,y:t,width:o,height:r}}var R=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var o,r,n,a,l,i,c,s=(r=(o=t).x,n=o.y,a=o.width,l=o.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(i.prototype),u(c,{x:r,y:n,width:a,height:l,top:n,right:r+a,bottom:l+n,left:r}),c);u(this,{target:e,contentRect:s})},w=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new R(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),h="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=s.getInstance(),r=new w(t,o,this);h.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=h.get(this))[e].apply(t,arguments)}}));const v=void 0!==a.ResizeObserver?a.ResizeObserver:E},833:e=>{e.exports=function(e,t,o,r){var n=o?o.call(r,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],d=t[s];if(!1===(n=o?o.call(r,u,d,s):void 0)||void 0===n&&u!==d)return!1}return!0}},28:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},609:e=>{"use strict";e.exports=window.React},942:(e,t)=>{var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=l(e,a(o)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)r.call(e,o)&&e[o]&&(t=l(t,o));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,(()=>{"use strict";var e={};o.r(e),o.d(e,{category:()=>fi,metadata:()=>mi,name:()=>gi,settings:()=>wi});var t={};o.r(t),o.d(t,{category:()=>Zi,metadata:()=>Qi,name:()=>Yi,settings:()=>oc});var r={};o.r(r),o.d(r,{category:()=>bc,metadata:()=>pc,name:()=>fc,settings:()=>hc});var n={};o.r(n),o.d(n,{category:()=>Kc,metadata:()=>Dc,name:()=>Gc,settings:()=>Jc});var a={};o.r(a),o.d(a,{category:()=>_s,metadata:()=>gs,name:()=>bs,settings:()=>vs});var l={};o.r(l),o.d(l,{category:()=>Zs,metadata:()=>Qs,name:()=>Ys,settings:()=>ou});var i={};o.r(i),o.d(i,{category:()=>Cu,metadata:()=>vu,name:()=>Pu,settings:()=>Tu});var c={};o.r(c),o.d(c,{category:()=>td,metadata:()=>Xu,name:()=>ed,settings:()=>id});var s={};o.r(s),o.d(s,{category:()=>vd,metadata:()=>Rd,name:()=>wd,settings:()=>Bd});var u={};o.r(u),o.d(u,{category:()=>Jd,metadata:()=>Yd,name:()=>Zd,settings:()=>om});var d={};o.r(d),o.d(d,{category:()=>Am,metadata:()=>Pm,name:()=>Bm,settings:()=>Lm});var m={};o.r(m),o.d(m,{category:()=>Zm,metadata:()=>Km,name:()=>Qm,settings:()=>ep});var p={};o.r(p),o.d(p,{category:()=>Op,metadata:()=>hp,name:()=>vp,settings:()=>Wp});var g={};o.r(g),o.d(g,{category:()=>eg,metadata:()=>Jp,name:()=>$p,settings:()=>lg});var f={};o.r(f),o.d(f,{category:()=>Og,metadata:()=>hg,name:()=>vg,settings:()=>Wg});var b={};o.r(b),o.d(b,{category:()=>Gg,metadata:()=>Hg,name:()=>qg,settings:()=>Yg});var y={};o.r(y),o.d(y,{category:()=>tf,metadata:()=>Xg,name:()=>ef,settings:()=>lf});var R={};o.r(R),o.d(R,{category:()=>vf,metadata:()=>Rf,name:()=>wf,settings:()=>Bf});var _={};o.r(_),o.d(_,{category:()=>Hf,metadata:()=>If,name:()=>Ff,settings:()=>Uf});var w={};o.r(w),o.d(w,{category:()=>lb,metadata:()=>rb,name:()=>ab,settings:()=>db});var h={};o.r(h),o.d(h,{category:()=>Pb,metadata:()=>Eb,name:()=>Ob,settings:()=>Wb});var E={};o.r(E),o.d(E,{category:()=>Gb,metadata:()=>Hb,name:()=>qb,settings:()=>Yb});var v={};o.r(v),o.d(v,{category:()=>sy,metadata:()=>ly,name:()=>cy,settings:()=>gy});var O={};o.r(O),o.d(O,{category:()=>Ay,metadata:()=>Py,name:()=>By,settings:()=>xy});var P={};o.r(P),o.d(P,{category:()=>oR,metadata:()=>$y,name:()=>tR,settings:()=>iR});var C={};o.r(C),o.d(C,{category:()=>vR,metadata:()=>RR,name:()=>wR,settings:()=>BR});var B={};o.r(B),o.d(B,{category:()=>HR,metadata:()=>IR,name:()=>FR,settings:()=>UR});var A={};o.r(A),o.d(A,{category:()=>l_,metadata:()=>r_,name:()=>a_,settings:()=>c_});var S={};o.r(S),o.d(S,{category:()=>v_,metadata:()=>w_,name:()=>E_,settings:()=>A_});var W={};o.r(W),o.d(W,{category:()=>q_,metadata:()=>F_,name:()=>D_,settings:()=>V_});var k={};o.r(k),o.d(k,{category:()=>Rw,metadata:()=>fw,name:()=>yw,settings:()=>ww});var T={};o.r(T),o.d(T,{category:()=>Gw,metadata:()=>Mw,name:()=>Hw,settings:()=>Vw});var x={};o.r(x),o.d(x,{category:()=>ch,metadata:()=>ah,name:()=>ih,settings:()=>gh});var L={};o.r(L),o.d(L,{category:()=>kh,metadata:()=>Ah,name:()=>Wh,settings:()=>jh});var N={};o.r(N),o.d(N,{category:()=>Jh,metadata:()=>Vh,name:()=>Zh,settings:()=>rE});var z={};o.r(z),o.d(z,{category:()=>yE,metadata:()=>gE,name:()=>bE,settings:()=>vE});var j={};o.r(j),o.d(j,{category:()=>jE,metadata:()=>LE,name:()=>zE,settings:()=>qE});var I={};o.r(I),o.d(I,{category:()=>rv,metadata:()=>ev,name:()=>ov,settings:()=>sv});var M={};o.r(M),o.d(M,{category:()=>vv,metadata:()=>wv,name:()=>Ev,settings:()=>Sv});var F={};o.r(F),o.d(F,{category:()=>Kv,metadata:()=>Fv,name:()=>Dv,settings:()=>Yv});var H={};o.r(H),o.d(H,{category:()=>dO,metadata:()=>lO,name:()=>cO,settings:()=>fO});var D={};o.r(D),o.d(D,{category:()=>kO,metadata:()=>CO,name:()=>AO,settings:()=>NO});var q={};o.r(q),o.d(q,{category:()=>JO,metadata:()=>UO,name:()=>VO,settings:()=>tP});var G={};o.r(G),o.d(G,{category:()=>fP,metadata:()=>mP,name:()=>gP,settings:()=>hP});var K={};o.r(K),o.d(K,{category:()=>FP,metadata:()=>NP,name:()=>jP,settings:()=>GP});var U={};o.r(U),o.d(U,{category:()=>lC,metadata:()=>tC,name:()=>rC,settings:()=>uC});var Q={};o.r(Q),o.d(Q,{category:()=>CC,metadata:()=>hC,name:()=>vC,settings:()=>WC});var V={};o.r(V),o.d(V,{category:()=>UC,metadata:()=>HC,name:()=>qC,settings:()=>ZC});var Y={};o.r(Y),o.d(Y,{category:()=>mB,metadata:()=>iB,name:()=>sB,settings:()=>bB});var Z={};o.r(Z),o.d(Z,{category:()=>TB,metadata:()=>BB,name:()=>SB,settings:()=>zB});var J={};o.r(J),o.d(J,{category:()=>XB,metadata:()=>QB,name:()=>YB,settings:()=>oA});var X={};o.r(X),o.d(X,{category:()=>RA,metadata:()=>pA,name:()=>fA,settings:()=>EA});var $={};o.r($),o.d($,{category:()=>IA,metadata:()=>xA,name:()=>NA,settings:()=>DA});var ee={};o.r(ee),o.d(ee,{category:()=>nS,metadata:()=>$A,name:()=>tS,settings:()=>cS});var te={};o.r(te),o.d(te,{category:()=>OS,metadata:()=>_S,name:()=>hS,settings:()=>AS});var oe={};o.r(oe),o.d(oe,{category:()=>GS,metadata:()=>MS,name:()=>HS,settings:()=>VS});var re={};o.r(re),o.d(re,{category:()=>uW,metadata:()=>aW,name:()=>iW,settings:()=>gW});var ne={};o.r(ne),o.d(ne,{category:()=>WW,metadata:()=>PW,name:()=>BW,settings:()=>LW});var ae={};o.r(ae),o.d(ae,{category:()=>ZW,metadata:()=>KW,name:()=>QW,settings:()=>ek});var le={};o.r(le),o.d(le,{category:()=>gk,metadata:()=>dk,name:()=>pk,settings:()=>_k});var ie={};o.r(ie),o.d(ie,{category:()=>xk,metadata:()=>wk,name:()=>Tk,settings:()=>Ik});var ce={};o.r(ce),o.d(ce,{category:()=>nT,metadata:()=>Mk,name:()=>rT,settings:()=>sT});const se=window.wp.blocks;var ue=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 40 40"},React.createElement("image",{id:"woolentor-logo",width:"40",height:"40",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"}));const de=window.wp.i18n,me=window.wp.components;function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var ge;(0,se.setCategories)([{slug:"woolentor-blocks",title:(0,de.__)("ShopLentor","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-single-product",title:(0,de.__)("ShopLentor Single Product","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-shop",title:(0,de.__)("ShopLentor Shop","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-cart",title:(0,de.__)("ShopLentor Cart","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-checkout",title:(0,de.__)("ShopLentor Checkout","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-myaccount",title:(0,de.__)("ShopLentor My Account","woolentor"),icon:React.createElement(me.Icon,{icon:ue})}].concat(function(e){if(Array.isArray(e))return pe(e)}(ge=(0,se.getCategories)().filter((function(e){return"woolentor-blocks"!==e.slug})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(ge)||function(e,t){if(e){if("string"==typeof e)return pe(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?pe(e,t):void 0}}(ge)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var fe=function(e,t,o){return"function"==typeof t?t(e):e+o},be=function(e){var t={desktop:[],tablet:[],mobile:[]},o=""!==(null==e?void 0:e.type)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";}"):"";return!e.width||void 0===e.width.desktop&&void 0===e.width.tablet&&void 0===e.width.mobile?o=""!==(null==e?void 0:e.type)&&void 0!==(null==e?void 0:e.width)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid","; border-width: ").concat(ye(e.width),";}"):"":t=function(e,t){return e.desktop&&t.desktop.push(e.desktop),e.laptop&&t.laptop.push(e.laptop),e.tablet&&t.tablet.push(e.tablet),e.mobile&&t.mobile.push(e.mobile),t}(function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r={};return e&&e.desktop&&""!==fe(e.desktop,o,e.unit||"")&&(r.desktop=t.replace(new RegExp("{{key}}","g"),fe(e.desktop,o,e.unit||""))),e&&e.laptop&&""!==fe(e.laptop,o,e.unit||"")&&(r.laptop=t.replace(new RegExp("{{key}}","g"),fe(e.laptop,o,e.unit||""))),e&&e.tablet&&""!==fe(e.tablet,o,e.unit||"")&&(r.tablet=t.replace(new RegExp("{{key}}","g"),fe(e.tablet,o,e.unit||""))),e&&e.mobile&&""!==fe(e.mobile,o,e.unit||"")&&(r.mobile=t.replace(new RegExp("{{key}}","g"),fe(e.mobile,o,e.unit||""))),r}(e.width,"border-width:{{key}}",ye),t),{desktop:t.desktop,tablet:t.tablet,mobile:t.mobile,simple:o}},ye=function(e){var t=e.unit?e.unit:"px";return""!=e.top||""!=e.right||""!=e.bottom||""!=e.left?(e.top||0)+t+" "+(e.right||0)+t+" "+(e.bottom||0)+t+" "+(e.left||0)+t:""};function Re(e){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(e)}var _e=function(e,t,o){return e.replace(new RegExp(t,"g"),o)},we=function(e){return"object"==Re(e)&&0!=Object.keys(e).length},he=function(e,t){return e.replace(new RegExp("{{WOOLENTOR_WRAPPER}}","g"),".woolentorblock-"+t)},Ee=function(e,t){var o="";return t.forEach((function(e){o+=e+";"})),e+"{"+o+"}"},ve=function(e,t){var o="";return t.forEach((function(t){o+=e+t})),o},Oe=function(e,t,o,r){if(r="object"!=Re(r)?r:Pe(r).data,"string"==typeof e){if(e){if(r){var n=he(e,t);return"boolean"==typeof r?[n]:-1==n.indexOf("{{")&&n.indexOf("{")<0?[n+r]:[_e(n,"{{"+o+"}}",r)]}return[]}return[he(r,t)]}var a=[];return e.forEach((function(e){a.push(_e(he(e,t),"{{"+o+"}}",r))})),a},Pe=function(e){return e.imageUrl||"background"===e.type?{data:(t=e,o="{",null!=t&&t.color&&(o+="background-color:"+t.color+";"),t.imageUrl&&(o+="background-image:url("+t.imageUrl+");"),t.position&&(o+="background-position:"+t.position+";"),t.attachment&&(o+="background-attachment:"+t.attachment+";"),t.repeat&&(o+="background-repeat:"+t.repeat+";"),t.size&&(o+="background-size:"+t.size+";"),"{}"!=(o+="}")?o:{}),action:"append"}:void 0!==e.type||void 0!==e.width||void 0!==e.color?{data:be(e),action:"append"}:void 0!==e.top||void 0!==e.left||void 0!==e.right||void 0!==e.bottom?{data:ye(e),action:"replace"}:{data:"",action:"append"};var t,o},Ce=function(e,t){var o=!0;return t.hasOwnProperty("dependency")&&t.dependency.forEach((function(t){var r=o;if("=="==(t=t[0]).condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]==t.value;else{var n=!1;t.value.forEach((function(o){e[t.key]==o&&(n=!0)})),o=!!n}else if("!="==t.condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]!=t.value;else{var a=!1;t.value.forEach((function(o){e[t.key]!=o&&(a=!0)})),a&&(o=!0)}o=0!=r&&o})),o};function Be(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(o){var n="",a=[],l=[],i=[],c=[],s=[];return Object.keys(e).forEach((function(n){var u="string"==typeof t?wp.blocks.getBlockType(t).attributes:t;if(u[n]&&u[n].hasOwnProperty("style")){var d=u[n].style;if(d.hasOwnProperty("selector")){var m=d.selector;if(Ce(e,d))if("object"==Re(e[n])){var p=!1,g="";if(e[n].desktop&&(p=!0,g="object"==Re(e[n].desktop)?Pe(e[n].desktop).data:e[n].desktop+(e[n].unit||""),a=a.concat(Oe(m,o,n,g))),e[n].laptop&&(p=!0,g="object"==Re(e[n].laptop)?Pe(e[n].laptop).data:e[n].laptop+(e[n].unit||""),l=l.concat(Oe(m,o,n,g))),e[n].tablet&&(p=!0,g="object"==Re(e[n].tablet)?Pe(e[n].tablet).data:e[n].tablet+(e[n].unit||""),i=i.concat(Oe(m,o,n,g))),e[n].mobile&&(p=!0,g="object"==Re(e[n].mobile)?Pe(e[n].mobile).data:e[n].mobile+(e[n].unit||""),c=c.concat(Oe(m,o,n,g))),!p){var f=Pe(e[n]),b=he(m,o);"object"==Re(f.data)?0!=Object.keys(f.data).length&&(f.data.background&&s.push(b+f.data.background),we(f.data.desktop)&&a.push(Ee(b,f.data.desktop)),we(f.data.laptop)&&l.push(Ee(b,f.data.laptop)),we(f.data.tablet)&&i.push(Ee(b,f.data.tablet)),we(f.data.mobile)&&c.push(Ee(b,f.data.mobile)),f.data.simple&&s.push(b+f.data.simple),f.data.font&&a.unshift(f.data.font),f.data.shape&&(f.data.shape.forEach((function(e){s.push(b+e)})),we(f.data.data.desktop)&&a.push(ve(b,f.data.data.desktop)),we(f.data.data.laptop)&&l.push(ve(b,f.data.data.laptop)),we(f.data.data.tablet)&&i.push(ve(b,f.data.data.tablet)),we(f.data.data.mobile)&&c.push(ve(b,f.data.data.mobile)))):f.data&&-1==f.data.indexOf("{{")&&("append"==f.action?s.push(b+f.data):s.push(Oe(m,o,n,f.data)))}}else"hideDesktop"==n?r&&(s=s.concat("@media (min-width: 1200px) {"+Oe(m,o,n,e[n])+"}")):"hideLaptop"==n?r&&(s=s.concat("@media only screen and (max-width: 1199px) and (min-width: 991px) {"+Oe(m,o,n,e[n])+"}")):"hideTablet"==n?r&&(s=s.concat("@media only screen and (max-width: 992px) and (min-width: 767px) {"+Oe(m,o,n,e[n])+"}")):"hideMobile"==n?r&&(s=s.concat("@media (max-width: 768px) {"+Oe(m,o,n,e[n])+"}")):e[n]&&(s=s.concat(Oe(m,o,n,e[n])))}}})),a.length>0&&(n+=a.join("")),l.length>0&&(n+="@media (min-width: 992px) and (max-width: 1200px) {"+l.join("")+"}"),i.length>0&&(n+="@media (min-width: 768px) and (max-width: 991px) {"+i.join("")+"}"),c.length>0&&(n+="@media (max-width: 767px) {"+c.join("")+"}"),s.length>0&&(n+=s.join("")),r?n:void 0}}function Ae(e,t,o){var r=Be(e,t,o,!0);return wp.element.renderToString(r)?React.createElement("style",{type:"text/css"},r):null}var Se="";function We(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t&&(Se="",t=!1),e.map((function(e){var t=e.attributes,o=e.name;"woolentor"===o.split("/")[0]&&t.blockUniqId&&(Se+=Be(t,o,t.blockUniqId,!0)),e.innerBlocks&&e.innerBlocks.length>0&&We(e.innerBlocks)})),Se}function ke(e){e.forEach((function(e){var t;-1!=e.name.indexOf("core/block")&&(t=e.attributes.ref,wp.apiFetch({path:"/woolentor/v1/get_post",method:"POST",data:{post_id:t}}).then((function(e){if(e.success){var t=We(wp.blocks.parse(e.data),!0);t.css&&wp.apiFetch({path:"/woolentor/v1/appened_css",method:"POST",data:{inner_css:t.css,post_id:select("core/block-editor").getCurrentPostId()}}).then((function(e){e.success}))}}))),e.innerBlocks&&e.innerBlocks.length>0&&ke(e.innerBlocks)}))}function Te(){var e=wp.data.select("core/block-editor"),t=wp.data.select("core/editor"),o=wp.data.select("core/edit-site"),r=e.getBlocks(),n=t.getCurrentPostId,a=function(e){var t=!1;return function e(o){o.forEach((function(o){-1!=o.name.indexOf("woolentor/")&&(t=!0),o.innerBlocks&&o.innerBlocks.length>0&&e(o.innerBlocks)}))}(e),t}(r),l=null===n()?o.getPage().context.templateSlug:n(),i=We(r,!0);ke(r),function(e,t,o){return wp.apiFetch({path:"/woolentor/v1/save_css",method:"POST",data:{block_css:t,post_id:e,has_block:o}}).then((function(e){return e}))}(l,i,a).then((function(e){}))}var xe=React.createElement("svg",{width:"700",height:"700",version:"1.1",viewBox:"0 0 700 700",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},React.createElement("g",null,React.createElement("path",{d:"m402.78 250.9c-17.734-17.734-41.406-27.574-66.605-27.574s-48.871 9.7578-66.605 27.574c-17.734 17.816-27.574 41.406-27.574 66.605 0 25.199 9.7578 48.871 27.574 66.605 17.734 17.734 41.406 27.574 66.605 27.574s48.871-9.7578 66.605-27.574c36.652-36.738 36.652-96.473 0-133.21zm-8.9961 124.21c-15.359 15.359-35.805 23.844-57.613 23.844-21.805 0-42.254-8.4844-57.613-23.844-15.359-15.359-23.844-35.805-23.844-57.613 0-21.805 8.4844-42.254 23.844-57.613 15.359-15.359 35.805-23.844 57.613-23.844 21.805 0 42.254 8.4844 57.613 23.844 31.734 31.738 31.734 83.41 0 115.23z"}),React.createElement("path",{d:"m558.22 492.12-78.398-78.398c-7.2969-7.2969-17.395-10.777-27.574-9.5859l-11.285-11.285c36.316-50.484 31.902-121.33-13.406-166.73-50.398-50.398-132.36-50.398-182.76 0-50.398 50.398-50.398 132.36 0 182.76 25.199 25.199 58.289 37.758 91.383 37.758 26.473 0 52.945-8.2305 75.344-24.352l11.285 11.285c-1.1875 10.184 2.2891 20.277 9.5859 27.492l78.398 78.484c6.5352 6.5352 15.102 9.8438 23.758 9.8438 8.5703 0 17.223-3.3086 23.758-9.8438 6.3633-6.3633 9.8438-14.762 9.8438-23.758-0.085938-8.9102-3.6523-17.398-9.9297-23.676zm-304.52-92.23c-45.395-45.395-45.395-119.38 0-164.78 22.738-22.738 52.52-34.109 82.387-34.109 29.867 0 59.648 11.371 82.387 34.109 45.395 45.395 45.395 119.38 0 164.78-45.391 45.395-119.29 45.395-164.77 0zm295.53 130.67c-8.1445 8.1445-21.383 8.1445-29.441 0l-78.398-78.398c-5.0078-5.0078-7.1289-12.305-5.5156-19.344 0.50781-2.1211-0.16797-4.3281-1.6953-5.8555l-12.473-12.473c0.085937-0.085937 0.16797-0.25391 0.25391-0.42578 1.8672-1.6953 3.9023-3.3086 5.6836-5.1758 1.8672-1.8672 3.4805-3.8164 5.1758-5.7695 0.085938-0.085938 0.25391-0.085938 0.33984-0.16797l12.473 12.473c1.5273 1.5273 3.7344 2.207 5.8555 1.6953 7.043-1.6133 14.254 0.50781 19.344 5.5156l78.398 78.484c3.9023 3.9023 6.1094 9.1641 6.1094 14.762 0 5.5156-2.2031 10.777-6.1094 14.68z"}),React.createElement("path",{d:"m373.08 280.51c-2.4609-2.4609-6.5352-2.4609-8.9922 0l-27.914 27.914-27.914-27.914c-2.4609-2.4609-6.5352-2.4609-8.9922 0-2.4609 2.4609-2.4609 6.5352 0 8.9922l27.914 28-27.914 27.914c-2.4609 2.4609-2.4609 6.5352 0 8.9922 1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672l27.914-27.914 27.914 27.914c1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672 2.4609-2.4609 2.4609-6.5352 0-8.9922l-27.914-27.914 27.914-28c2.4609-2.457 2.4609-6.4453 0-8.9922z"}),React.createElement("path",{d:"m272.96 61.09h160.79c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4766-2.8867-6.3633-6.3633-6.3633h-160.79c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633z"}),React.createElement("path",{d:"m433.83 82.047h-160.96c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h160.96c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003906-3.4766-2.8828-6.3633-6.3594-6.3633z"}),React.createElement("path",{d:"m433.83 116.07h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m433.83 150.01h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633s-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m454.02 503.49h-275.5v-21.043h241.73c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633h-275.59v-359.59h80.438c3.4805 0 6.3633-2.8867 6.3633-6.3633l-0.003906-80.438h243.68v368.24c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633l0.003906-334.47h21.043v365.1c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633v-371.46c0-3.4805-2.8867-6.3633-6.3633-6.3633h-27.406v-27.406c0-3.4805-2.8867-6.3633-6.3633-6.3633h-256.33c-1.6953 0-3.3086 0.67969-4.4961 1.8672l-86.887 86.801c-1.1875 1.1875-1.8672 2.8008-1.8672 4.4961v372.23c0 3.4805 2.8867 6.3633 6.3633 6.3633h27.406v27.406c0 3.4805 2.8867 6.3633 6.3633 6.3633h281.87c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003907-3.4805-2.7969-6.2773-6.2773-6.2773zm-300.36-406.09 65.078-65.078v65.078z"}))),Le=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 5q-.425 0-.713-.288Q4 4.425 4 4t.287-.713Q4.575 3 5 3h14q.425 0 .712.287Q20 3.575 20 4t-.288.712Q19.425 5 19 5Zm7 16q-.425 0-.712-.288Q11 20.425 11 20v-9.2l-1.925 1.925Q8.8 13 8.4 13t-.7-.3q-.275-.275-.275-.7q0-.425.275-.7l3.6-3.6q.15-.15.325-.212q.175-.063.375-.063t.375.063q.175.062.325.212l3.625 3.625q.275.275.275.675t-.3.7q-.275.275-.7.275q-.425 0-.7-.275L13 10.8V20q0 .425-.287.712Q12.425 21 12 21Z"})),Ne=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})),ze=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"}))),je=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})));function Ie(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return void 0!==e&&""!=e?"".concat(t,": ").concat(e).concat(o,";"):""}function Me(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e||{},n="";if(""!=r.top||""!=r.right||""!=r.bottom||""!=r.left){var a=r.unit?r.unit:"px";n=(r.top||0)+a+" "+(r.right||0)+a+" "+(r.bottom||0)+a+" "+(r.left||0)+a}var l=Ie(n,t,o);return""!=l?l:""}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e||{},r="";return o.imageUrl&&(r+=Ie("url("+o.imageUrl+")","background-image",t)),o.position&&(r+=Ie(o.position,"background-position",t)),o.attachment&&(r+=Ie(o.attachment,"background-attachment",t)),o.repeat&&(r+=Ie(o.repeat,"background-repeat",t)),o.size&&(r+=Ie(o.size,"background-size",t)),r}function He(e){if(void 0!==e&&void 0!==(null==e?void 0:e.type)&&""!=(null==e?void 0:e.type)){var t=be(e),o="";return o="border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";"),null!=t&&t.desktop?o+=t.desktop:o=null==t?void 0:t.simple.replace(/[{}]/g,""),o}return""}const De=window.lodash,qe=window.wp.element,Ge=window.wp.apiFetch;var Ke=o.n(Ge);const Ue=window.wp.data;function Qe(e){return Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qe(e)}function Ve(){Ve=function(){return t};var e,t={},o=Object.prototype,r=o.hasOwnProperty,n=Object.defineProperty||function(e,t,o){e[t]=o.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,o){return e[t]=o}}function u(e,t,o,r){var a=t&&t.prototype instanceof y?t:y,l=Object.create(a.prototype),i=new W(r||[]);return n(l,"_invoke",{value:C(e,o,i)}),l}function d(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var m="suspendedStart",p="suspendedYield",g="executing",f="completed",b={};function y(){}function R(){}function _(){}var w={};s(w,l,(function(){return this}));var h=Object.getPrototypeOf,E=h&&h(h(k([])));E&&E!==o&&r.call(E,l)&&(w=E);var v=_.prototype=y.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function o(n,a,l,i){var c=d(e[n],e,a);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==Qe(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,l,i)}),(function(e){o("throw",e,l,i)})):t.resolve(u).then((function(e){s.value=e,l(s)}),(function(e){return o("throw",e,l,i)}))}i(c.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function C(t,o,r){var n=m;return function(a,l){if(n===g)throw new Error("Generator is already running");if(n===f){if("throw"===a)throw l;return{value:e,done:!0}}for(r.method=a,r.arg=l;;){var i=r.delegate;if(i){var c=B(i,r);if(c){if(c===b)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===m)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=g;var s=d(t,o,r);if("normal"===s.type){if(n=r.done?f:p,s.arg===b)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=f,r.method="throw",r.arg=s.arg)}}}function B(t,o){var r=o.method,n=t.iterator[r];if(n===e)return o.delegate=null,"throw"===r&&t.iterator.return&&(o.method="return",o.arg=e,B(t,o),"throw"===o.method)||"return"!==r&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var a=d(n,t.iterator,o.arg);if("throw"===a.type)return o.method="throw",o.arg=a.arg,o.delegate=null,b;var l=a.arg;return l?l.done?(o[t.resultName]=l.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=e),o.delegate=null,b):l:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,b)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function W(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function k(t){if(t||""===t){var o=t[l];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function o(){for(;++n<t.length;)if(r.call(t,n))return o.value=t[n],o.done=!1,o;return o.value=e,o.done=!0,o};return a.next=a}}throw new TypeError(Qe(t)+" is not iterable")}return R.prototype=_,n(v,"constructor",{value:_,configurable:!0}),n(_,"constructor",{value:R,configurable:!0}),R.displayName=s(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===R||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,s(e,c,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},O(P.prototype),s(P.prototype,i,(function(){return this})),t.AsyncIterator=P,t.async=function(e,o,r,n,a){void 0===a&&(a=Promise);var l=new P(u(e,o,r,n),a);return t.isGeneratorFunction(o)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},O(v),s(v,c,"Generator"),s(v,l,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),o=[];for(var r in t)o.push(r);return o.reverse(),function e(){for(;o.length;){var r=o.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=k,W.prototype={constructor:W,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var o in this)"t"===o.charAt(0)&&r.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function n(r,n){return i.type="throw",i.arg=t,o.next=r,n&&(o.method="next",o.arg=e),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var l=this.tryEntries[a],i=l.completion;if("root"===l.tryLoc)return n("end");if(l.tryLoc<=this.prev){var c=r.call(l,"catchLoc"),s=r.call(l,"finallyLoc");if(c&&s){if(this.prev<l.catchLoc)return n(l.catchLoc,!0);if(this.prev<l.finallyLoc)return n(l.finallyLoc)}else if(c){if(this.prev<l.catchLoc)return n(l.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return n(l.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var l=a?a.completion:{};return l.type=e,l.arg=t,a?(this.method="next",this.next=a.finallyLoc,b):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),S(o),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var r=o.completion;if("throw"===r.type){var n=r.arg;S(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,r){return this.delegate={iterator:k(t),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}function Ye(e,t,o,r,n,a,l){try{var i=e[a](l),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(r,n)}function Ze(e){return function(){var t=this,o=arguments;return new Promise((function(r,n){var a=e.apply(t,o);function l(e){Ye(a,r,n,l,i,"next",e)}function i(e){Ye(a,r,n,l,i,"throw",e)}l(void 0)}))}}function Je(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Xe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Qe(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qe(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function $e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return et(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?et(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var tt=[{name:"all",title:(0,de.__)("All","woolentor")},{name:"free",title:(0,de.__)("Free","woolentor")},{name:"pro",title:(0,de.__)("Pro","woolentor")}],ot=["cart","checkout-page","empty-cart","lost-password","my-account","product-details","shop","thank-you","popup-builder"],rt=function(e){var t=$e((0,qe.useState)(woolentorData.templatelist.templates),2),o=t[0],r=t[1],n=$e((0,qe.useState)([]),2),a=n[0],l=n[1],i=$e((0,qe.useState)(""),2),c=i[0],s=i[1],u=$e((0,qe.useState)("all"),2),d=u[0],m=u[1],p=$e((0,qe.useState)(woolentorData.templateType||"all"),2),g=p[0],f=p[1];(0,qe.useEffect)((function(){var e=woolentorData.templatelist.templates;e=""!==woolentorData.templateType?e.filter((function(e){var t=e.type;if(t===woolentorData.templateType||"page"===t)return!0})):e.filter((function(e){return"page"===e.type})),"all"!==g&&(e=e.filter((function(e){var t=e.shareId,o=e.type,r=t.toLowerCase().replace(/\s+/,"-").trim(),n=""!==woolentorData.templateType?o:r;return("page"===n?r:n)===g}))),"all"!==d&&(e=e.filter((function(e){return e.tmpType===d}))),1==woolentorData.prostatus&&(e=e.map((function(e){return Xe(Xe({},e),{},{isPro:0})}))),r(e)}),[g,d]),(0,qe.useEffect)((function(){var e=o.reduce((function(e,t){var o=t.shareId,r=(t.tags,o.toLowerCase().replace(/\s+/,"-").trim());return void 0===e.shareId[r]?e.shareId[r]={id:r,label:o,count:1}:e.shareId[r].count=e.shareId[r].count+1,e}),{shareId:{},tags:{}}),t=(0,De.sortBy)(Object.values(e.shareId),"label");t.unshift({id:"all",label:(0,de.__)("All","woolentor"),count:0}),t=t.filter((function(e){return!function(e,t){for(var o=t.length,r=0;r<o;r++)if(t[r]==e)return!0;return!1}(e.id,ot)})),""!==woolentorData.templateType&&t.splice(1,0,{id:woolentorData.templateType,label:(0,de.__)(woolentorData.templateType,"woolentor"),count:0}),l(t)}),[]);var b=function(){var e=Ze(Ve().mark((function e(){var t,o,r,n=arguments;return Ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.length>0&&void 0!==n[0]?n[0]:"",o=null){e.next=9;break}return e.next=5,Ke()({path:"/woolentor/v1/importtemplate",method:"POST",data:{template_id:t}});case 5:return r=e.sent,e.next=8,r;case 8:o=e.sent;case 9:return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=(0,qe.useCallback)((function(e){(0,Ue.dispatch)("core/block-editor").insertBlocks(e).then((function(){s("")}))}),[]),R=function(){var e=Ze(Ve().mark((function e(t){var o;return Ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),e.next=3,b(t);case 3:o=e.sent,y((0,se.parse)(o.content));case 5:case"end":return e.stop()}}),e)})));return function(_x){return e.apply(this,arguments)}}();return React.createElement(me.Modal,{title:React.createElement(React.Fragment,null,React.createElement("div",{className:"woolentor-library-logo"},React.createElement(me.Icon,{icon:ue}),(0,de.__)("Template Library","woolentor")),React.createElement("ul",{className:"free-pro-filter-menu"},tt.map((function(e){return React.createElement("li",{key:e.name,className:e.name===d?"woolentor-menu-active":"",onClick:function(){m(e.name)},"data-filter":e.name},e.title)})))),onRequestClose:e.onClose,className:"woolentor-modal-design-library"},React.createElement("div",{className:"woolentor-template-library-area"},React.createElement("div",{className:"woolentor-template-library"},React.createElement("div",{className:"woolentor-template-library-sidebar"},React.createElement("ul",{className:"woolentor-template-filter-menu"},null==a?void 0:a.map((function(e){return React.createElement("li",{key:e.id,className:e.id===g?"woolentor-menu-active":"",onClick:function(){f(e.id)}},e.label)})))),React.createElement("div",{className:"woolentor-template-list"},React.createElement("div",{className:"woolentor-templates-library-wrapper"},null==o?void 0:o.map((function(e){return React.createElement("div",{key:e.id,className:"woolentor-templates-library-single-template ".concat(""!==c?"woolentor-not-clickable":"")},React.createElement("div",{className:"woolentor-template-image"},1===e.isPro&&React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-template-pro-badge"},(0,de.__)("Pro","woolentor")),React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement("span",{className:"dashicon dashicons dashicons-lock"}))),c===e.id&&React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement(me.Spinner,null)),!1!==e.thumbnail?React.createElement("div",{className:"template-image-wrapper",style:{backgroundImage:"url(".concat(e.thumbnail,")")}}):React.createElement("div",{className:"template-image-wrapper template-no-image",style:{backgroundImage:"url('data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%20282.69%20228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20fill%3D%22%23A5A5A5%22%20cx%3D%22115.3%22%20cy%3D%2235.75%22%20r%3D%2235.75%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M188.7%2C228h-81.34c-10.27%2C0-16.24-11.86-10.28-20.41l38.69-55.48l42.65-61.2%20c5.03-7.22%2C15.53-7.22%2C20.56%2C0l42.64%2C61.17l38.7%2C55.51c5.96%2C8.55-0.02%2C20.4-10.28%2C20.4H188.7z%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M2.48%2C206.79l55.44-78.81c4.27-6.07%2C12.64-7.54%2C18.72-3.29l112.83%2C78.81%20c10.8%2C7.54%2C5.46%2C24.51-7.71%2C24.51l-168.27%2C0C2.58%2C228-3.8%2C215.71%2C2.48%2C206.79z%22%2F%3E%3C%2Fsvg%3E')"}})),React.createElement("div",{className:"woolentor-template-info"},React.createElement("h4",{className:"woolentor-template-title"},e.title),React.createElement("div",{className:"woolentor-template-action-button"},React.createElement("a",{href:e.url,target:"_blank",className:"woolentor-template-button"},(0,de.__)("preview","woolentor")),1===e.isPro?React.createElement("a",{href:woolentorData.prolink,target:"_blank",className:"woolentor-template-button"},(0,de.__)("Buy Now","woolentor")):React.createElement("span",{className:"woolentor-template-button",onClick:function(){R(e.id)}},(0,de.__)("import","woolentor")))))})),(null==o?void 0:o.length)<=0&&React.createElement("div",{className:"woolentor-template-not-found"},React.createElement(me.Icon,{icon:xe,width:"200",height:"100"}),React.createElement("span",{className:"woolentor-not-found-text"},(0,de.__)("No templates were found for the combination you have selected.","woolentor"))))))))};function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}rt.defaultProps={onClose:function(){}};const at=function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?nt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),t=e[0],o=e[1];return React.createElement(React.Fragment,null,React.createElement(me.Button,{onClick:function(){o(!0)},className:"woolentor-library-button",label:(0,de.__)("Template Library","woolentor"),icon:ue},(0,de.__)("Template Library","woolentor")),t&&React.createElement(rt,{onClose:function(){o(!1)}}))},lt=window.wp.domReady;var it,ct=o.n(lt);(null===(it=woolentorData)||void 0===it||null===(it=it.templatelist)||void 0===it||null===(it=it.templates)||void 0===it?void 0:it.length)>0&&ct()((function(){var e=null,t=(0,Ue.subscribe)((function(){var o=document.querySelector(".edit-post-header-toolbar");if(o){var r=document.createElement("div");r.classList.add("woolentor-library-button__wrapper"),o.querySelector(".woolentor-library-button__wrapper")||((0,qe.render)(React.createElement(at,null),r),o.appendChild(r)),e&&clearTimeout(e),e=setTimeout((function(){document.querySelector(".woolentor-library-button__wrapper")&&t()}),0)}}))}));const st=window.wp.plugins,ut=window.wp.editPost,dt=window.wp.coreData;function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}function pt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function gt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=mt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function bt(e){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bt(e)}function yt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Rt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=bt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}"woolentor-template"===window.pagenow&&(0,st.registerPlugin)("woolentor-metabox",{render:function(){var e=(0,Ue.useSelect)((function(e){return e("core/editor").getCurrentPostType()}),[]),t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ft(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ft(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,dt.useEntityProp)("postType",e,"meta"),2),o=t[0],r=t[1],n=o._woolentor_container_width;return React.createElement(ut.PluginDocumentSettingPanel,{name:"woolentor-meta-box",title:(0,de.__)("Container Width","woolentor"),icon:ue,initialOpen:"false"},React.createElement(me.TextControl,{value:n,onChange:function(e){r(gt(gt({},o),{},{_woolentor_container_width:e}))}}))},icon:null});var _t=function(){var e=(0,Ue.useSelect)((function(e){return{blockTabName:e("woolentor/block-tabs").getBlockTabName(),blockSectionbName:e("woolentor/block-tabs").getBlockSectionName()}}),[]);return{tabName:e.blockTabName||"",section:e.blockSectionbName||""}},wt={tabname:"",section:""};(0,Ue.register)((0,Ue.createReduxStore)("woolentor/block-tabs",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_BLOCK_TAB_NAME":return Rt(Rt({},e),{},{tabname:t.tabName});case"SET_BLOCK_SECTION_NAME":return Rt(Rt({},e),{},{section:t.section})}return e},actions:{setBlockTabName:function(e){return{type:"SET_BLOCK_TAB_NAME",tabName:e}},setBlockSectionName:function(e){return{type:"SET_BLOCK_SECTION_NAME",section:e}}},selectors:{getBlockTabName:function(e){return e.tabname},getBlockSectionName:function(e){return e.section}}}));const ht=window.wp.blockEditor;var Et=[{name:"general",title:(0,de.__)("General","woolentor"),className:"woolentor-tab-menu-item general"},{name:"styles",title:(0,de.__)("Styles","woolentor"),className:"woolentor-tab-menu-item styles"},{name:"advanced",title:(0,de.__)("Advanced","woolentor"),className:"woolentor-tab-menu-item advanced"}],vt=(0,me.createSlotFill)("WoolentorGeneralInspectorTab"),Ot=vt.Slot,Pt=vt.Fill,Ct=(0,me.createSlotFill)("WoolentorStyleInspectorTab"),Bt=Ct.Slot,At=Ct.Fill,St=(0,me.createSlotFill)("WoolentorAdvancedInspectorTab"),Wt=St.Slot,kt=St.Fill,Tt=function(e){var t=e.children;return(0,ht.useBlockEditContext)().isSelected?React.createElement(Pt,null,t):null},xt=function(e){var t=e.children;return(0,ht.useBlockEditContext)().isSelected?React.createElement(At,null,t):null},Lt=function(e){var t=e.children;return(0,ht.useBlockEditContext)().isSelected?React.createElement(kt,null,t):null},Nt=function(e){var t=(0,ht.useBlockEditContext)().clientId,o=_t(),r=Et.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})),n=o.tabName.includes(t)?o.tabName.replace(t,""):"";return React.createElement(ht.InspectorControls,null,React.createElement("div",{className:"woolentor-panel-control"},React.createElement(me.TabPanel,{className:"woolentor-tabs-menu",activeClass:"woolentor-tab-menu-active is-primary",onSelect:function(e){var o=(t+e).toLowerCase();(0,Ue.dispatch)("woolentor/block-tabs").setBlockTabName(o)},initialTabName:n,tabs:r},(function(e){return React.createElement("div",{className:"woolentor-tab-controls ".concat(e.name)},"general"===e.name&&React.createElement(Ot,null),"styles"===e.name&&React.createElement(Bt,null),"advanced"===e.name&&React.createElement(Wt,null))}))))};Nt.defaultProps={tabs:["general","styles","advanced"]};const zt=(0,qe.memo)(Nt);function jt(e){return jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jt(e)}function It(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Mt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?It(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=jt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):It(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Ht=[{name:"normal",title:(0,de.__)("Normal","woolentor")},{name:"hover",title:(0,de.__)("Hover","woolentor")},{name:"active",title:(0,de.__)("Active","woolentor")},{name:"focus",title:(0,de.__)("Focus","woolentor")}],Dt=function(e){var t=void 0===e.name?"":e.name,o=(t+e.defaultActive).toLowerCase(),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ft(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ft(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(o),2),n=r[0],a=r[1],l=!1===e.overide?Ht.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})):e.tabs,i=qe.Children.map(e.children,(function(e){if(!(0,qe.isValidElement)(e))return e;var o=Mt({},e.props),r=e.props.originalType||e.type,a=r.displayName||r.name,l=(t+e.props.name).toLowerCase();return"TabsContent"===a&&n===l?(0,qe.cloneElement)(e,Mt(Mt({},o),{},{children:e.props.children})):void 0}));return React.createElement("div",{className:"woolentor-tabs-menu-group"},React.createElement(me.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},l.map((function(e,o){return React.createElement(me.Button,{key:o,className:n===(t+e.name).toLowerCase()?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",variant:n===(t+e.name).toLowerCase()?"primary":"secondary",onClick:function(){return o=e.name,r=(t+o).toLowerCase(),void a(r);var o,r}},e.title)}))),i)};Dt.defaultProps={name:void 0,tabs:["normal","hover"],defaultActive:"normal",overide:!1};const qt=(0,qe.memo)(Dt);var Gt=o(942),Kt=o.n(Gt),Ut=function(e){var t=Kt()(["woolentor-control","woolentor-tabs-content",e.className]);return React.createElement("div",{className:t},e.children)};Ut.defaultProps={className:""},Ut.displayName="TabsContent";const Qt=Ut;var Vt=function(e){var t=e.title,o=e.initialOpen,r=(0,ht.useBlockEditContext)().clientId,n=_t(),a=(r+n.tabName+t).toLowerCase(),l=e.panelName?e.panelName:a,i=!!o||l===n.section;return React.createElement(me.PanelBody,{title:t,onToggle:function(){return e=l,void(0,Ue.dispatch)("woolentor/block-tabs").setBlockSectionName(e);var e},initialOpen:i},e.children)};Vt.defaultProps={title:"",panelName:!1,initialOpen:!1};const Yt=(0,qe.memo)(Vt);var Zt=function(){return(0,Ue.useSelect)((function(e){return{deviceType:e("core/edit-post")?e("core/edit-post").__experimentalGetPreviewDeviceType():e("woolentor/device-type").getDeviceType()}}),[]).deviceType||""};function Jt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Xt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,Ue.register)((0,Ue.createReduxStore)("woolentor/device-type",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"SET_DEVICE_TYPE"===t.type?t.deviceType:e},actions:{setDeviceType:function(e){return{type:"SET_DEVICE_TYPE",deviceType:e}}},selectors:{getDeviceType:function(e){return e}}}));var $t={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},eo=[{label:(0,de.__)("Desktop","woolentor"),value:"desktop",icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"desktop"}))},{label:(0,de.__)("Tablet","woolentor"),value:"tablet",icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"tablet"}))},{label:(0,de.__)("Mobile","woolentor"),value:"mobile",icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"smartphone"}))}],to=function(e){var t=Zt(),o=t.toLowerCase(),r="all"===e.responsive?eo:eo.filter((function(t){var o,r=t.value;return null===(o=e.screens)||void 0===o?void 0:o.includes(r)})),n=Jt((0,qe.useState)(!1),2),a=n[0],l=n[1],i=Jt((0,qe.useState)(!1),2),c=i[0],s=i[1],u=(0,qe.useRef)(null),d=(0,qe.useMemo)((function(){return r.findIndex((function(e){return e.value===o}))/r.length*100}),[r,o]);if(r<=1)return null;if(!t)return null;var m=(0,qe.useCallback)((function(e){var t;a&&(null===(t=e.target)||void 0===t?void 0:t.closest(".woolentor-responsive-switcher-button-area"))!==u.current&&l(!1)}));return(0,qe.useEffect)((function(){return document.body.addEventListener("click",m),function(){return document.body.removeEventListener("click",m)}}),[m]),React.createElement("div",{className:"woolentor-responsive-switcher-button-area ".concat(1==a?"open-switcher":""),ref:u},React.createElement("div",{className:"woolentor-responsive-switcher-button",style:{transform:"translateY(-".concat(d,"%)")}},r.length>1&&r.map((function(e,t){var r=e.label||e.value,n=r||"";return React.createElement("div",{key:t,onMouseEnter:function(){s(e.value)},onMouseLeave:function(){s(!1)}},React.createElement(me.Button,{className:o===e.value?"device-selected":"",variant:"desktop"!==o&&(o!==e.value?"secondary":"primary"),onClick:function(){l(!a),function(e){(0,Ue.dispatch)("core/edit-post")?(0,Ue.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType($t[e]):(0,Ue.dispatch)("woolentor/device-type").setDeviceType($t[e])}(e.value)},icon:e.icon,showTooltip:!1,label:r},e.icon?void 0:r),n&&c===e.value&&React.createElement(me.Popover,{focusOnMount:!1,position:"middle right",className:"components-tooltip","aria-hidden":"true"},n))}))))};to.defaultProps={screens:["desktop"],responsive:!1};const oo=(0,qe.memo)(to);function ro(e){return ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ro(e)}function no(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function ao(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?no(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=ro(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ro(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ro(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):no(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var lo=["desktop","tablet","mobile"],io=function(e){var t,o=Kt()(["woolentor-control","woolentor-field-section",e.className]),r=e.label?e.label:"",n=!(null===(t=e.responsive)||void 0===t||!t.length),a="all"===e.responsive?lo:e.responsive,l=qe.Children.map(e.children,(function(e){if(!(0,qe.isValidElement)(e))return e;var t=ao({},e.props);return(0,qe.cloneElement)(e,ao(ao({},t),{},{children:e.props.children,colors:[{name:"red",color:"#f00"}]}))}));return React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-field-label"},r&&React.createElement("label",null,r),n&&React.createElement(oo,{screens:a})),React.createElement("div",{className:"woolentor-field-wrap"},l))};io.defaultProps={className:"",label:"",responsive:!1};const co=io;function so(){return so=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},so.apply(this,arguments)}var uo=(0,qe.forwardRef)((function(e,t){var o=Kt()([e.className,"woolentor-button-component"]);return React.createElement(me.Button,so({},e,{className:o,ref:t}))})),mo=React.createElement(me.Dashicon,{icon:"image-rotate"}),po=(0,qe.memo)((function(e){var t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,o=(0,qe.useCallback)((function(){e.onChange(void 0===e.default?"":e.default)}),[e.onChange,e.default]);return e.allowReset&&t&&React.createElement(uo,{className:"woolentor-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,de.__)("Reset","woolentor"),onClick:o,icon:mo})}));po.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};var go=function(e){var t=e.label,o=e.layout,r=e.styles,n={};return"one"!==o&&(n.padding=0),React.createElement("div",{className:"woolentor-control-section-title-area",style:r},React.createElement("span",{className:"woolentor-control-section-title",style:n},t),"one"===o&&React.createElement("hr",null))};go.defaultProps={label:"",layout:"one",styles:{}};const fo=go;function bo(e){return bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bo(e)}function yo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Ro(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yo(Object(o),!0).forEach((function(t){_o(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _o(e,t,o){return r=function(e,t){if("object"!=bo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==bo(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var wo=function(e){var t=Zt().toLowerCase(),o=e.setAttributes,r=e.lavel,n=e.dimensions,a=e.attributesKey,l=function(r,l){var i,c,s,u,d,m,p=Ro({},n),g=e.responsive?(null===(i=p[t])||void 0===i?void 0:i.link)||"yes":(null==p?void 0:p.link)||"yes",f=e.responsive?(null===(c=p[t])||void 0===c?void 0:c.unit)||"px":(null==p?void 0:p.unit)||"px";e.responsive?p[t]="yes"===g?{top:r,right:r,bottom:r,left:r,link:"yes",unit:f}:_o({top:(null===(s=p[t])||void 0===s?void 0:s.top)||"0",right:(null===(u=p[t])||void 0===u?void 0:u.right)||"0",bottom:(null===(d=p[t])||void 0===d?void 0:d.bottom)||"0",left:(null===(m=p[t])||void 0===m?void 0:m.left)||"0",link:"no",unit:f},l,r):"yes"===g?(p.top=r,p.right=r,p.bottom=r,p.left=r,p.link="yes"):(p.top=(null==p?void 0:p.top)||"0",p.right=(null==p?void 0:p.right)||"0",p.bottom=(null==p?void 0:p.bottom)||"0",p.left=(null==p?void 0:p.left)||"0",p.link="no",p[l]=r),o(_o({},a,p))},i=function(r){var l=Ro({},n),i=r.target.getAttribute("data-value");e.responsive?l.hasOwnProperty(t)?l[t].unit=i:l[t]={unit:i}:l.unit=i,o(_o({},a,l))},c=n.hasOwnProperty(t)?n[t].top:n.top?n.top:"",s=n.hasOwnProperty(t)?n[t].right:n.right?n.right:"",u=n.hasOwnProperty(t)?n[t].bottom:n.bottom?n.bottom:"",d=n.hasOwnProperty(t)?n[t].left:n.left?n.left:"",m=n.hasOwnProperty(t)?n[t].unit:n.unit?n.unit:"px",p=n.hasOwnProperty(t)?n[t].link:n.link?n.link:"yes";return React.createElement(qe.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(me.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},r),e.responsive&&React.createElement(oo,{responsive:"all"}),React.createElement("div",{className:"woolentor-units-choices"},React.createElement("span",{className:"px"===m?"unit-active":"","data-value":"px",onClick:i},(0,de.__)("PX","woolentor")),React.createElement("span",{className:"%"===m?"unit-active":"","data-value":"%",onClick:i},(0,de.__)("%","woolentor")),React.createElement("span",{className:"em"===m?"unit-active":"","data-value":"em",onClick:i},(0,de.__)("EM","woolentor")))),React.createElement(me.PanelRow,null,React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"top")},shiftStep:10,value:c,labelPosition:"bottom"}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"right")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"bottom")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"left")},shiftStep:10,value:d,labelPosition:"bottom"}),React.createElement(me.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===p,isSecondary:"yes"!==p,onClick:function(){var r=Ro({},n);e.responsive?r.hasOwnProperty(t)?r[t].link="yes"===r[t].link?"no":"yes":r[t]={link:"no"}:r.link="yes"===r.link?"no":"yes",o(_o({},a,r))},title:(0,de.__)("Link values together","woolentor"),showTooltip:!0}))))};wo.defaultProps={dimensions:{top:"",right:"",bottom:"",left:"",unit:"px",link:"yes"}};const ho=wo;function Eo(e){return Eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Eo(e)}function vo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Oo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vo(Object(o),!0).forEach((function(t){Po(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Po(e,t,o){return r=function(e,t){if("object"!=Eo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Eo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==Eo(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var Co=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=(0,ht.useBlockEditContext)().clientId,a=(0,Ue.useDispatch)("core/block-editor").updateBlockAttributes,l=function(e){return(0,Ue.useSelect)((function(t){return t("core/block-editor").getBlockAttributes(e)||{}}),[e])}(n),i=e,c=l?l[i]:"",s=l?l[i]:"";null!==t&&Oo({},l[i]).hasOwnProperty(t)&&(c=l?l[i][t]:"",s=l?l[i][t]:""),o&&(s=o(s));var u=(0,qe.useCallback)((function(e){var o=r?r(e,c):null!==t?function(e,t,o){var r=Oo({},t);return r[o]=e,r}(e,l[i],t):e;a(n,Po({},i,o))}),[n,i,l,r,c,a]);return[s,u]};function Bo(){return Bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Bo.apply(this,arguments)}function Ao(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var So=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ao(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ao(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,null,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement("div",{className:Kt()("woolentor-promoted-token-field woolentor-field-section",e.className)},React.createElement(me.FormTokenField,Bo({},e,{value:n,onChange:a})),React.createElement(po,{allowReset:e.allowReset,value:n,default:e.default,onChange:a}))};So.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const Wo=So,ko=window.wp.compose;function To(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var xo=function(e){var t=e.type,o=e.taxonomy,r=e.label,n=e.onChangeTaxonomy,a=e.taxnomiesList,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return To(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?To(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)([]),2),i=l[0],c=l[1];(0,qe.useEffect)((function(){var e=[];a&&a.forEach((function(t,o){e.push({label:t.name,name:t.name,slug:t.slug,value:t.id})})),c(e)}),[a]);var s=i.map((function(e){return e.name})),u=""!==o?o.split(",").map((function(e){return((0,De.find)(i,(function(t){return t.value===parseInt(e)}))||{}).name})):void 0;return React.createElement("div",{className:"woolentor-component-taxonomy-area"},i.length>0?"single"==t?React.createElement(me.SelectControl,{label:r,value:o,options:i,onChange:function(e){return n(e)}}):React.createElement(Wo,{suggestions:s,value:u,label:r,onChange:function(e){var t,o=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(function(e){return((0,De.find)(i||[],(function(t){return t.name===e}))||{}).value}));n((0,De.compact)(o||[]).join(","))}}):React.createElement(me.Spinner,null))};xo.defaultProps={taxonomy:"",label:"Category",onChangeTaxonomy:function(){},allowReset:!1};const Lo=(0,ko.compose)([(0,Ue.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomykey?t.taxonomykey:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(xo);function No(e){return No="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},No(e)}function zo(e,t,o){return(t=Fo(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function jo(e){return function(e){if(Array.isArray(e))return Io(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Io(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Io(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Io(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Mo(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fo(r.key),r)}}function Fo(e){var t=function(e,t){if("object"!=No(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=No(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==No(t)?t:String(t)}function Ho(e,t,o){return t=qo(t),function(e,t){if(t&&("object"===No(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Do()?Reflect.construct(t,o||[],qo(e).constructor):t.apply(e,o))}function Do(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Do=function(){return!!e})()}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qo(e)}function Go(e,t){return Go=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Go(e,t)}var Ko=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ho(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Go(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this.props,o=t.setAttributes,r=t.selectedTaxonomies,n=t.attributesKey,a=t.title,l=t.type,i=t.taxnomiesList,c=function(){var e=[];return i&&i.forEach((function(t,o){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var s=c();s.length>0&&(e=s.map((function(e,t){return React.createElement(me.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==r.indexOf(t)?jo(r):[].concat(jo(r),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}o(zo({},n,a))}(t,e.value)},checked:-1!==r.indexOf(e.value)})})))}return React.createElement(qe.Fragment,null,React.createElement("div",{className:"woolentor-component-taxonomy-area"},"single"!=l&&React.createElement("h2",{className:"woolentor-component-area-title"},a),React.createElement("div",{className:"woolentor-component-taxonomy-fileds"},"single"==l?0==c().length?React.createElement(me.Spinner,null):React.createElement(me.SelectControl,{label:a,value:r,options:c(),onChange:function(e){return o(zo({},n,e))}}):e||React.createElement(me.Spinner,null))))}}],r&&Mo(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Uo=(0,ko.compose)([(0,Ue.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",per_page:-1,hide_empty:!0})}}))])(Ko);function Qo(e){return Qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qo(e)}function Vo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Yo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Qo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qo(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Jo=function(e){var t=e.uploadImage,o=void 0===e.allowedTypes?["image","png"]:e.allowedTypes,r=void 0===e.instructions?React.createElement("p",null,(0,de.__)("You need permission to upload media.","woolentor")):React.createElement("p",null,e.instructions),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Zo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.title?"":e.title,c=void 0===e.ImageData?a:e.ImageData,s=void 0===e.onChange?l:e.onChange,u=function(e){var t=Yo({},c);t.id=e.id,t.url=e.url,s(t)};return React.createElement(qe.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,i),React.createElement(ht.MediaUploadCheck,{fallback:r},React.createElement(ht.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var o=e.open;return React.createElement(me.Button,{className:c.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o},!c.id&&(0,de.__)("Set ","woolentor")+i,!!c.id&&!t&&React.createElement(me.Spinner,null),!!c.id&&t&&React.createElement("img",{src:t.source_url,alt:i}))}})),!!c.id&&t&&React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t,variant:"secondary"},(0,de.__)("Replace image","woolentor"))}})),!!c.id&&React.createElement(ht.MediaUploadCheck,null,React.createElement(me.Button,{onClick:function(){var e=Yo({},c);e.id=void 0,e.url=void 0,s(e)},isLink:!0,isDestructive:!0},(0,de.__)("Remove image","woolentor")))))};Jo.defaultProps={attribute:"",allowedTypes:["image","png"],instructions:void 0,onChange:void 0};const Xo=(0,ko.compose)((0,Ue.withSelect)((function(e,t){var o=e("core").getMedia,r=t.ImageData;return{uploadImage:r.id?o(r.id):null}})))(Jo);function $o(e){return $o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$o(e)}function er(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function tr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?er(Object(o),!0).forEach((function(t){or(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):er(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function or(e,t,o){return(t=nr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function rr(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nr(r.key),r)}}function nr(e){var t=function(e,t){if("object"!=$o(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=$o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$o(t)?t:String(t)}function ar(e,t,o){return t=ir(t),function(e,t){if(t&&("object"===$o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lr()?Reflect.construct(t,o||[],ir(e).constructor):t.apply(e,o))}function lr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lr=function(){return!!e})()}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ir(e)}function cr(e,t){return cr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cr(e,t)}var sr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ar(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cr(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,o=e.title,r=e.bgProperty,n=e.attributesKey,a=e.uploadImage,l=function(e,o){var a=tr(tr({},r),{},{type:"background"});a[o]=e,t(or({},n,a))},i=["image","png"],c=React.createElement("p",null,(0,de.__)("To edit the banner image, you need permission to upload media.","woolentor")),s=function(e){var o=tr(tr({},r),{},{type:"background"});o.imageId=e.id,o.imageUrl=e.url,t(or({},n,o))};return React.createElement(qe.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-background-control"},o&&React.createElement("h3",null,o),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:null==r?void 0:r.color,onChange:function(e){return l(e,"color")}})),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(ht.MediaUploadCheck,{fallback:c},React.createElement(ht.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(me.Button,{className:r.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!r.imageId&&(0,de.__)("Set ","woolentor")+o,!!r.imageId&&!a&&React.createElement(me.Spinner,null),!!r.imageId&&a&&React.createElement("img",{src:a.source_url,alt:o}))}})),!!r.imageId&&a&&React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t,variant:"secondary"},(0,de.__)("Replace image","woolentor"))}})),!!r.imageId&&React.createElement(ht.MediaUploadCheck,null,React.createElement(me.Button,{onClick:function(){var e=tr(tr({},r),{},{type:"background"});e.imageId=void 0,e.imageUrl=void 0,t(or({},n,e))},isLink:!0,isDestructive:!0},(0,de.__)("Remove image","woolentor")))),!!r.imageId&&a&&React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),labelPosition:"side",value:r.position,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Center Center","woolentor"),value:"center center"},{label:(0,de.__)("Center Left","woolentor"),value:"center left"},{label:(0,de.__)("Center Right","woolentor"),value:"center right"},{label:(0,de.__)("Top Center","woolentor"),value:"top center"},{label:(0,de.__)("Top Left","woolentor"),value:"top left"},{label:(0,de.__)("Top Right","woolentor"),value:"top right"},{label:(0,de.__)("Bottom Center","woolentor"),value:"bottom center"},{label:(0,de.__)("Bottom Left","woolentor"),value:"bottom left"},{label:(0,de.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(me.SelectControl,{label:(0,de.__)("Attachment","woolentor"),labelPosition:"side",value:r.attachment,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Scroll","woolentor"),value:"scroll"},{label:(0,de.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(me.SelectControl,{label:(0,de.__)("Repeat","woolentor"),labelPosition:"side",value:r.repeat,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("No-repeat","woolentor"),value:"no-repeat"},{label:(0,de.__)("Repeat","woolentor"),value:"repeat"},{label:(0,de.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:(0,de.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(me.SelectControl,{label:(0,de.__)("Display Size","woolentor"),labelPosition:"side",value:r.size,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Auto","woolentor"),value:"auto"},{label:(0,de.__)("Cover","woolentor"),value:"cover"},{label:(0,de.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}}))))}}],r&&rr(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ur=(0,ko.compose)((0,Ue.withSelect)((function(e,t){var o=e("core").getMedia,r=t.bgProperty;return{uploadImage:r.imageId?o(r.imageId):null}})))(sr);function dr(e){return dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dr(e)}function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},mr.apply(this,arguments)}function pr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function gr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=dr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dr(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var br={align:[{value:"left",title:(0,de.__)("Align Left","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignleft"}))},{value:"center",title:(0,de.__)("Align Center","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-aligncenter"}))},{value:"right",title:(0,de.__)("Align Right","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignright"}))},{value:"justify",title:(0,de.__)("Align Justify","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-justify"}))}],"flex-horizontal":[{value:"flex-start",title:(0,de.__)("Align Left","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"align-pull-left"}))},{value:"center",title:(0,de.__)("Align Center","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"align-center"}))},{value:"flex-end",title:(0,de.__)("Align Right","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"align-pull-right"}))}]},yr=function(e){var t=e.options,o=e.justified,r="string"==typeof t?br[t]:t,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;return React.createElement("div",{className:"woolentor-field-section"},""!==i&&React.createElement("label",null,i),React.createElement("div",{className:"woolentor-field-wrap"},React.createElement(me.ButtonGroup,{children:r.filter((function(e){return!!o||"justify"!==e.value})).map((function(t,o){var r=gr(gr({},(0,De.omit)(t,"controls","show")),{},{onClick:function(){e.isToggleOnly&&t.value===c||s(t.value!==c?t.value:"")},variant:c!==t.value?"secondary":"primary",isSmall:e.isSmall,children:t.icon?null:t.custom||React.createElement("span",{className:"woolentor-toolbar-control__text-button"},t.title)});return React.createElement(me.Button,mr({key:o},r))})),className:"woolentor-alignment-btn-group"})),React.createElement(po,{allowReset:e.allowReset,showReset:e.showReset,value:c,default:e.default,onChange:s}))};function Rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}yr.defaultProps={isSmall:!1,isToggleOnly:!1,options:"align",default:"",allowReset:!0,showReset:!1,attribute:"",justified:!1,label:void 0,value:void 0,onChange:void 0};var _r=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Rr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement(ht.AlignmentToolbar,{value:n,onChange:function(e){return a(e)}})};_r.defaultProps={attribute:"",value:void 0,onChange:void 0};var wr=function(){return null};function hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}wr.InspectorControls=yr,wr.BlockControls=_r;var Er=function(e){var t=Zt(),o=e.responsive?t.toLowerCase():null,r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?hr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,o,e.valueCallback,e.changeCallback),2),n=r[0],a=r[1],l=void 0===e.label?"":e.label,i=void 0===e.value?n:e.value,c=void 0===e.onChange?a:e.onChange;return React.createElement(qe.Fragment,null,React.createElement(me.PanelRow,{className:"woolentor-panel-row-height-auto woolentor-column-control",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},l),e.responsive&&React.createElement(oo,{responsive:"all"})),React.createElement(me.RangeControl,{value:i,onChange:function(e){return c(e)},min:e.min,step:1,max:e.max,allowReset:e.allowReset}))};Er.defaultProps={allowReset:!1,min:0,max:6,attribute:"",label:void 0,value:void 0,onChange:void 0};const vr=Er,Or=JSON.parse('{"dashicon":[{"name":"Menu","icon":"menu"},{"name":"Admin Site","icon":"admin-site"},{"name":"Dashboard","icon":"dashboard"},{"name":"Admin media","icon":"admin-media"},{"name":"Admin page","icon":"admin-page"},{"name":"Admin comments","icon":"admin-comments"},{"name":"Admin appearance","icon":"admin-appearance"},{"name":"Admin plugins","icon":"admin-plugins"},{"name":"Admin users","icon":"admin-users"},{"name":"Admin tools","icon":"admin-tools"},{"name":"Admin settings","icon":"admin-settings"},{"name":"Admin network","icon":"admin-network"},{"name":"Admin generic","icon":"admin-generic"},{"name":"Admin home","icon":"admin-home"},{"name":"Admin collapse","icon":"admin-collapse"},{"name":"Filter","icon":"filter"},{"name":"Admin customizer","icon":"admin-customizer"},{"name":"Admin multisite","icon":"admin-multisite"},{"name":"Admin links","icon":"admin-links"},{"name":"Admin post","icon":"admin-post"},{"name":"Format image","icon":"format-image"},{"name":"Format gallery","icon":"format-gallery"},{"name":"Format audio","icon":"format-audio"},{"name":"Format video","icon":"format-video"},{"name":"Format chat","icon":"format-chat"},{"name":"Format status","icon":"format-status"},{"name":"Format aside","icon":"format-aside"},{"name":"Format quote","icon":"format-quote"},{"name":"Welcome write blog","icon":"welcome-write-blog"},{"name":"Welcome add page","icon":"welcome-add-page"},{"name":"Welcome view site","icon":"welcome-view-site"},{"name":"Welcome widgets menus","icon":"welcome-widgets-menus"},{"name":"Welcome comments","icon":"welcome-comments"},{"name":"Welcome learn more","icon":"welcome-learn-more"},{"name":"Image crop","icon":"image-crop"},{"name":"Image rotate","icon":"image-rotate"},{"name":"Image rotate left","icon":"image-rotate-left"},{"name":"Image rotate right","icon":"image-rotate-right"},{"name":"Image flip vertical","icon":"image-flip-vertical"},{"name":"Image flip horizontal","icon":"image-flip-horizontal"},{"name":"Image filter","icon":"image-filter"},{"name":"Undo","icon":"undo"},{"name":"Redo","icon":"redo"},{"name":"Editor bold","icon":"editor-bold"},{"name":"Editor italic","icon":"editor-italic"},{"name":"Editor ul","icon":"editor-ul"},{"name":"Editor ol","icon":"editor-ol"},{"name":"Editor quote","icon":"editor-quote"},{"name":"Editor align left","icon":"editor-alignleft"},{"name":"Editor align center","icon":"editor-aligncenter"},{"name":"Editor align right","icon":"editor-alignright"},{"name":"Editor insert more","icon":"editor-insertmore"},{"name":"Editor spell check","icon":"editor-spellcheck"},{"name":"Editor expand","icon":"editor-expand"},{"name":"Editor contract","icon":"editor-contract"},{"name":"Editor kitchensink","icon":"editor-kitchensink"},{"name":"Editor underline","icon":"editor-underline"},{"name":"Editor justify","icon":"editor-justify"},{"name":"Editor text color","icon":"editor-textcolor"},{"name":"Editor paste word","icon":"editor-paste-word"},{"name":"Editor paste text","icon":"editor-paste-text"},{"name":"Editor remove formatting","icon":"editor-removeformatting"},{"name":"Editor video","icon":"editor-video"},{"name":"Editor customchar","icon":"editor-customchar"},{"name":"Editor outdent","icon":"editor-outdent"},{"name":"Editor indent","icon":"editor-indent"},{"name":"Editor help","icon":"editor-help"},{"name":"Editor strike through","icon":"editor-strikethrough"},{"name":"Editor unlink","icon":"editor-unlink"},{"name":"Editor Rtl","icon":"editor-rtl"},{"name":"Editor break","icon":"editor-break"},{"name":"Editor code","icon":"editor-code"},{"name":"Editor code duplicate","icon":"editor-code-duplicate"},{"name":"Editor paragraph","icon":"editor-paragraph"},{"name":"Editor table","icon":"editor-table"},{"name":"Align left","icon":"align-left"},{"name":"Align right","icon":"align-right"},{"name":"Align center","icon":"align-center"},{"name":"Align none","icon":"align-none"},{"name":"Lock","icon":"lock"},{"name":"Lock duplicate","icon":"lock-duplicate"},{"name":"Unlock","icon":"unlock"},{"name":"Calendar","icon":"calendar"},{"name":"Calendar alt","icon":"calendar-alt"},{"name":"Visibility","icon":"visibility"},{"name":"Hidden","icon":"hidden"},{"name":"Post status","icon":"post-status"},{"name":"Edit","icon":"edit"},{"name":"Edit large","icon":"edit-large"},{"name":"Sticky","icon":"sticky"},{"name":"External","icon":"external"},{"name":"Arrow up","icon":"arrow-up"},{"name":"Arrow up duplicate","icon":"arrow-up-duplicate"},{"name":"Arrow down","icon":"arrow-down"},{"name":"Arrow left","icon":"arrow-left"},{"name":"Arrow right","icon":"arrow-right"},{"name":"Arrow up alt","icon":"arrow-up-alt"},{"name":"Arrow down alt","icon":"arrow-down-alt"},{"name":"Arrow left alt","icon":"arrow-left-alt"},{"name":"Arrow right alt","icon":"arrow-right-alt"},{"name":"Arrow up alt2","icon":"arrow-up-alt2"},{"name":"Arrow down alt2","icon":"arrow-down-alt2"},{"name":"Arrow left alt2","icon":"arrow-left-alt2"},{"name":"Arrow right alt2","icon":"arrow-right-alt2"},{"name":"Left right","icon":"leftright"},{"name":"Sort","icon":"sort"},{"name":"List view","icon":"list-view"},{"name":"Excerpt view","icon":"excerpt-view"},{"name":"Grid view","icon":"grid-view"},{"name":"Move","icon":"move"},{"name":"Hammer","icon":"hammer"},{"name":"Art","icon":"art"},{"name":"Migrate","icon":"migrate"},{"name":"Performance","icon":"performance"},{"name":"Universal access","icon":"universal-access"},{"name":"universal access alt","icon":"universal-access-alt"},{"name":"Tickets","icon":"tickets"},{"name":"Name tag","icon":"nametag"},{"name":"Clip board","icon":"clipboard"},{"name":"heart","icon":"heart"},{"name":"Mega phone","icon":"megaphone"},{"name":"Schedule","icon":"schedule"},{"name":"WordPress","icon":"wordpress"},{"name":"WordPress alt","icon":"wordpress-alt"},{"name":"Pressthis","icon":"pressthis"},{"name":"Update","icon":"update"},{"name":"Screen options","icon":"screenoptions"},{"name":"cart","icon":"cart"},{"name":"Feedback","icon":"feedback"},{"name":"Translation","icon":"translation"},{"name":"Tag","icon":"tag"},{"name":"Category","icon":"category"},{"name":"Archive","icon":"archive"},{"name":"Tag cloud","icon":"tagcloud"},{"name":"Text","icon":"text"},{"name":"Media archive","icon":"media-archive"},{"name":"Media audio","icon":"media-audio"},{"name":"Media code","icon":"media-code"},{"name":"Media Default","icon":"media-default"},{"name":"Media document","icon":"media-document"},{"name":"Media interactive","icon":"media-interactive"},{"name":"Media Spreadsheet","icon":"media-spreadsheet"},{"name":"Media text","icon":"media-text"},{"name":"Media video","icon":"media-video"},{"name":"Playlist audio","icon":"playlist-audio"},{"name":"Playlist video","icon":"playlist-video"},{"name":"Controls play","icon":"controls-play"},{"name":"Controls pause","icon":"controls-pause"},{"name":"Controls forward","icon":"controls-forward"},{"name":"Controls skip forward","icon":"controls-skipforward"},{"name":"Controls back","icon":"controls-back"},{"name":"controls skip back","icon":"controls-skipback"},{"name":"Controls repeat","icon":"controls-repeat"},{"name":"controls volume on","icon":"controls-volumeon"},{"name":"controls volume off","icon":"controls-volumeoff"},{"name":"Yes","icon":"yes"},{"name":"No","icon":"no"},{"name":"No alt","icon":"no-alt"},{"name":"Plus","icon":"plus"},{"name":"Plus alt","icon":"plus-alt"},{"name":"Plus alt2","icon":"plus-alt2"},{"name":"Minus","icon":"minus"},{"name":"Dismiss","icon":"dismiss"},{"name":"Marker","icon":"marker"},{"name":"Star filled","icon":"star-filled"},{"name":"Star half","icon":"star-half"},{"name":"Star empty","icon":"star-empty"},{"name":"Flag","icon":"flag"},{"name":"Info","icon":"info"},{"name":"Warning","icon":"warning"},{"name":"Share","icon":"share"},{"name":"Share1","icon":"share1"},{"name":"Share alt","icon":"share-alt"},{"name":"Share alt2","icon":"share-alt2"},{"name":"Twitter","icon":"twitter"},{"name":"Rss","icon":"rss"},{"name":"Email","icon":"email"},{"name":"Email alt","icon":"email-alt"},{"name":"Facebook","icon":"facebook"},{"name":"Facebook alt","icon":"facebook-alt"},{"name":"Networking","icon":"networking"},{"name":"google plus","icon":"googleplus"},{"name":"Location","icon":"location"},{"name":"Location alt","icon":"location-alt"},{"name":"Camera","icon":"camera"},{"name":"Images alt","icon":"images-alt"},{"name":"Images alt2","icon":"images-alt2"},{"name":"Video alt","icon":"video-alt"},{"name":"Video alt2","icon":"video-alt2"},{"name":"Video alt3","icon":"video-alt3"},{"name":"Vault","icon":"vault"},{"name":"Shield","icon":"shield"},{"name":"Shield alt","icon":"shield-alt"},{"name":"Sos","icon":"sos"},{"name":"Search","icon":"search"},{"name":"Slides","icon":"slides"},{"name":"Analytics","icon":"analytics"},{"name":"Chart pie","icon":"chart-pie"},{"name":"Chart bar","icon":"chart-bar"},{"name":"Chart line","icon":"chart-line"},{"name":"Chart area","icon":"chart-area"},{"name":"Groups","icon":"groups"},{"name":"Businessman","icon":"businessman"},{"name":"Id","icon":"id"},{"name":"Id alt","icon":"id-alt"},{"name":"Products","icon":"products"},{"name":"Awards","icon":"awards"},{"name":"Forms","icon":"forms"},{"name":"Testimonial","icon":"testimonial"},{"name":"Portfolio","icon":"portfolio"},{"name":"Book","icon":"book"},{"name":"Book alt","icon":"book-alt"},{"name":"Download","icon":"download"},{"name":"Upload","icon":"upload"},{"name":"Backup","icon":"backup"},{"name":"Clock","icon":"clock"},{"name":"Light bulb","icon":"lightbulb"},{"name":"Microphone","icon":"microphone"},{"name":"Desktop","icon":"desktop"},{"name":"Laptop","icon":"laptop"},{"name":"Tablet","icon":"tablet"},{"name":"Smartphone","icon":"smartphone"},{"name":"Phone","icon":"phone"},{"name":"Smiley","icon":"smiley"},{"name":"Index card","icon":"index-card"},{"name":"Carrot","icon":"carrot"},{"name":"Building","icon":"building"},{"name":"Store","icon":"store"},{"name":"Album","icon":"album"},{"name":"Palmtree","icon":"palmtree"},{"name":"Tickets alt","icon":"tickets-alt"},{"name":"Money","icon":"money"},{"name":"Thumbs up","icon":"thumbs-up"},{"name":"Thumbs down","icon":"thumbs-down"},{"name":"Layout","icon":"layout"},{"name":"Paper clip","icon":"paperclip"},{"name":"Email alt2","icon":"email-alt2"},{"name":"Menu alt","icon":"menu-alt"},{"name":"Trash","icon":"trash"},{"name":"Heading","icon":"heading"},{"name":"Insert","icon":"insert"},{"name":"Align full width","icon":"align-full-width"},{"name":"Button","icon":"button"},{"name":"Align wide","icon":"align-wide"},{"name":"Ellipsis","icon":"ellipsis"},{"name":"Buddicons activity","icon":"buddicons-activity"},{"name":"Buddicons buddy press logo","icon":"buddicons-buddypress-logo"},{"name":"Buddicons community","icon":"buddicons-community"},{"name":"Buddicons forums","icon":"buddicons-forums"},{"name":"Buddicons friends","icon":"buddicons-friends"},{"name":"Buddicons groups","icon":"buddicons-groups"},{"name":"Buddicons pm","icon":"buddicons-pm"},{"name":"Buddicons replies","icon":"buddicons-replies"},{"name":"Buddicons topics","icon":"buddicons-topics"},{"name":"Buddicons tracking","icon":"buddicons-tracking"},{"name":"Admin site alt","icon":"admin-site-alt"},{"name":"Admin site alt2","icon":"admin-site-alt2"},{"name":"Admin site alt3","icon":"admin-site-alt3"},{"name":"Rest api","icon":"rest-api"},{"name":"Yes alt","icon":"yes-alt"},{"name":"Buddicons bbpress logo","icon":"buddicons-bbpress-logo"},{"name":"Tide","icon":"tide"},{"name":"Editor ol rtl","icon":"editor-ol-rtl"},{"name":"Instagram","icon":"instagram"},{"name":"Business person","icon":"businessperson"},{"name":"Business woman","icon":"businesswoman"},{"name":"Color picker","icon":"color-picker"},{"name":"Camera alt","icon":"camera-alt"},{"name":"Editor ltr","icon":"editor-ltr"},{"name":"Cloud","icon":"cloud"},{"name":"Twitter alt","icon":"twitter-alt"},{"name":"Menu alt2","icon":"menu-alt2"},{"name":"Menu alt3","icon":"menu-alt3"},{"name":"Plugins checked","icon":"plugins-checked"},{"name":"Text page","icon":"text-page"},{"name":"Update alt","icon":"update-alt"},{"name":"Code standards","icon":"code-standards"},{"name":"Align pull left","icon":"align-pull-left"},{"name":"Align pull right","icon":"align-pull-right"},{"name":"Block default","icon":"block-default"},{"name":"Cloud saved","icon":"cloud-saved"},{"name":"Cloud upload","icon":"cloud-upload"},{"name":"Columns","icon":"columns"},{"name":"Cover image","icon":"cover-image"},{"name":"Embed audio","icon":"embed-audio"},{"name":"Embed generic","icon":"embed-generic"},{"name":"Embed photo","icon":"embed-photo"},{"name":"Embed post","icon":"embed-post"},{"name":"Embed video","icon":"embed-video"},{"name":"Exit","icon":"exit"},{"name":"HTML","icon":"html"},{"name":"Info outline","icon":"info-outline"},{"name":"Insert after","icon":"insert-after"},{"name":"Insert before","icon":"insert-before"},{"name":"Remove","icon":"remove"},{"name":"Shortcode","icon":"shortcode"},{"name":"Table col after","icon":"table-col-after"},{"name":"Table col before","icon":"table-col-before"},{"name":"Table col delete","icon":"table-col-delete"},{"name":"Table row after","icon":"table-row-after"},{"name":"Table row before","icon":"table-row-before"},{"name":"Table row delete","icon":"table-row-delete"},{"name":"Saved","icon":"saved"},{"name":"Airplane","icon":"airplane"},{"name":"Amazon","icon":"amazon"},{"name":"Bank","icon":"bank"},{"name":"Beer","icon":"beer"},{"name":"Bell","icon":"bell"},{"name":"Calculator","icon":"calculator"},{"name":"Coffee","icon":"coffee"},{"name":"Database add","icon":"database-add"},{"name":"Database export","icon":"database-export"},{"name":"Database import","icon":"database-import"},{"name":"Database remove","icon":"database-remove"},{"name":"Database view","icon":"database-view"},{"name":"Database","icon":"database"},{"name":"Drumstick","icon":"drumstick"},{"name":"Edit page","icon":"edit-page"},{"name":"Food","icon":"food"},{"name":"Full screen alt","icon":"fullscreen-alt"},{"name":"Full screen exit alt","icon":"fullscreen-exit-alt"},{"name":"Games","icon":"games"},{"name":"Google","icon":"google"},{"name":"Hourglass","icon":"hourglass"},{"name":"Linkedin","icon":"linkedin"},{"name":"Money alt","icon":"money-alt"},{"name":"Open folder","icon":"open-folder"},{"name":"PDF","icon":"pdf"},{"name":"Pets","icon":"pets"},{"name":"Pinterest","icon":"pinterest"},{"name":"Printer","icon":"printer"},{"name":"Privacy","icon":"privacy"},{"name":"Reddit","icon":"reddit"},{"name":"Spotify","icon":"spotify"},{"name":"Super hero alt","icon":"superhero-alt"},{"name":"Super hero","icon":"superhero"},{"name":"Twitch","icon":"twitch"},{"name":"Whatsapp","icon":"whatsapp"},{"name":"YouTube","icon":"youtube"},{"name":"Car","icon":"car"},{"name":"Podio","icon":"podio"},{"name":"Xing","icon":"xing"}],"fontawesome":[{"name":"Glass","icon":"glass","unicode":"f000","created":1,"categories":["Web Application Icons"]},{"name":"Music","icon":"music","unicode":"f001","created":1,"categories":["Web Application Icons"]},{"name":"Search","icon":"search","unicode":"f002","created":1,"categories":["Web Application Icons"]},{"name":"Envelope Outlined","icon":"envelope-o","unicode":"f003","created":1,"categories":["Web Application Icons"]},{"name":"Heart","icon":"heart","unicode":"f004","created":1,"categories":["Web Application Icons"]},{"name":"Star","icon":"star","unicode":"f005","created":1,"categories":["Web Application Icons"]},{"name":"Star Outlined","icon":"star-o","unicode":"f006","created":1,"categories":["Web Application Icons"]},{"name":"User","icon":"user","unicode":"f007","created":1,"categories":["Web Application Icons"]},{"name":"Film","icon":"film","unicode":"f008","created":1,"categories":["Web Application Icons"]},{"name":"th-large","icon":"th-large","unicode":"f009","created":1,"categories":["Text Editor Icons"]},{"name":"th","icon":"th","unicode":"f00a","created":1,"categories":["Text Editor Icons"]},{"name":"th-list","icon":"th-list","unicode":"f00b","created":1,"categories":["Text Editor Icons"]},{"name":"Check","icon":"check","unicode":"f00c","created":1,"categories":["Web Application Icons"]},{"name":"Times","icon":"times","unicode":"f00d","created":1,"categories":["Web Application Icons"]},{"name":"Search Plus","icon":"search-plus","unicode":"f00e","created":1,"categories":["Web Application Icons"]},{"name":"Search Minus","icon":"search-minus","unicode":"f010","created":1,"categories":["Web Application Icons"]},{"name":"Power Off","icon":"power-off","unicode":"f011","created":1,"categories":["Web Application Icons"]},{"name":"signal","icon":"signal","unicode":"f012","created":1,"categories":["Web Application Icons"]},{"name":"cog","icon":"cog","unicode":"f013","created":1,"aliases":["gear"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"Trash Outlined","icon":"trash-o","unicode":"f014","created":1,"categories":["Web Application Icons"]},{"name":"home","icon":"home","unicode":"f015","created":1,"categories":["Web Application Icons"]},{"name":"File Outlined","icon":"file-o","unicode":"f016","created":1,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Clock Outlined","icon":"clock-o","unicode":"f017","created":1,"categories":["Web Application Icons"]},{"name":"road","icon":"road","unicode":"f018","created":1,"categories":["Web Application Icons"]},{"name":"Download","icon":"download","unicode":"f019","created":1,"categories":["Web Application Icons"]},{"name":"Arrow Circle Outlined Down","icon":"arrow-circle-o-down","unicode":"f01a","created":1,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Up","icon":"arrow-circle-o-up","unicode":"f01b","created":1,"categories":["Directional Icons"]},{"name":"inbox","icon":"inbox","unicode":"f01c","created":1,"categories":["Web Application Icons"]},{"name":"Play Circle Outlined","icon":"play-circle-o","unicode":"f01d","created":1,"categories":["Video Player Icons"]},{"name":"Repeat","icon":"repeat","unicode":"f01e","created":1,"aliases":["rotate-right"],"categories":["Text Editor Icons"]},{"name":"refresh","icon":"refresh","unicode":"f021","created":1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"list-alt","icon":"list-alt","unicode":"f022","created":1,"categories":["Text Editor Icons"]},{"name":"lock","icon":"lock","unicode":"f023","created":1,"categories":["Web Application Icons"]},{"name":"flag","icon":"flag","unicode":"f024","created":1,"categories":["Web Application Icons"]},{"name":"headphones","icon":"headphones","unicode":"f025","created":1,"categories":["Web Application Icons"]},{"name":"volume-off","icon":"volume-off","unicode":"f026","created":1,"categories":["Web Application Icons"]},{"name":"volume-down","icon":"volume-down","unicode":"f027","created":1,"categories":["Web Application Icons"]},{"name":"volume-up","icon":"volume-up","unicode":"f028","created":1,"categories":["Web Application Icons"]},{"name":"qrcode","icon":"qrcode","unicode":"f029","created":1,"categories":["Web Application Icons"]},{"name":"barcode","icon":"barcode","unicode":"f02a","created":1,"categories":["Web Application Icons"]},{"name":"tag","icon":"tag","unicode":"f02b","created":1,"categories":["Web Application Icons"]},{"name":"tags","icon":"tags","unicode":"f02c","created":1,"categories":["Web Application Icons"]},{"name":"book","icon":"book","unicode":"f02d","created":1,"categories":["Web Application Icons"]},{"name":"bookmark","icon":"bookmark","unicode":"f02e","created":1,"categories":["Web Application Icons"]},{"name":"print","icon":"print","unicode":"f02f","created":1,"categories":["Web Application Icons"]},{"name":"camera","icon":"camera","unicode":"f030","created":1,"categories":["Web Application Icons"]},{"name":"font","icon":"font","unicode":"f031","created":1,"categories":["Text Editor Icons"]},{"name":"bold","icon":"bold","unicode":"f032","created":1,"categories":["Text Editor Icons"]},{"name":"italic","icon":"italic","unicode":"f033","created":1,"categories":["Text Editor Icons"]},{"name":"text-height","icon":"text-height","unicode":"f034","created":1,"categories":["Text Editor Icons"]},{"name":"text-width","icon":"text-width","unicode":"f035","created":1,"categories":["Text Editor Icons"]},{"name":"align-left","icon":"align-left","unicode":"f036","created":1,"categories":["Text Editor Icons"]},{"name":"align-center","icon":"align-center","unicode":"f037","created":1,"categories":["Text Editor Icons"]},{"name":"align-right","icon":"align-right","unicode":"f038","created":1,"categories":["Text Editor Icons"]},{"name":"align-justify","icon":"align-justify","unicode":"f039","created":1,"categories":["Text Editor Icons"]},{"name":"list","icon":"list","unicode":"f03a","created":1,"categories":["Text Editor Icons"]},{"name":"Outdent","icon":"outdent","unicode":"f03b","created":1,"aliases":["dedent"],"categories":["Text Editor Icons"]},{"name":"Indent","icon":"indent","unicode":"f03c","created":1,"categories":["Text Editor Icons"]},{"name":"Video Camera","icon":"video-camera","unicode":"f03d","created":1,"categories":["Web Application Icons"]},{"name":"Picture Outlined","icon":"picture-o","unicode":"f03e","created":1,"aliases":["photo","image"],"categories":["Web Application Icons"]},{"name":"pencil","icon":"pencil","unicode":"f040","created":1,"categories":["Web Application Icons"]},{"name":"map-marker","icon":"map-marker","unicode":"f041","created":1,"categories":["Web Application Icons"]},{"name":"adjust","icon":"adjust","unicode":"f042","created":1,"categories":["Web Application Icons"]},{"name":"tint","icon":"tint","unicode":"f043","created":1,"categories":["Web Application Icons"]},{"name":"Pencil Square Outlined","icon":"pencil-square-o","unicode":"f044","created":1,"aliases":["edit"],"categories":["Web Application Icons"]},{"name":"Share Square Outlined","icon":"share-square-o","unicode":"f045","created":1,"categories":["Web Application Icons"]},{"name":"Check Square Outlined","icon":"check-square-o","unicode":"f046","created":1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Arrows","icon":"arrows","unicode":"f047","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"step-backward","icon":"step-backward","unicode":"f048","created":1,"categories":["Video Player Icons"]},{"name":"fast-backward","icon":"fast-backward","unicode":"f049","created":1,"categories":["Video Player Icons"]},{"name":"backward","icon":"backward","unicode":"f04a","created":1,"categories":["Video Player Icons"]},{"name":"play","icon":"play","unicode":"f04b","created":1,"categories":["Video Player Icons"]},{"name":"pause","icon":"pause","unicode":"f04c","created":1,"categories":["Video Player Icons"]},{"name":"stop","icon":"stop","unicode":"f04d","created":1,"categories":["Video Player Icons"]},{"name":"forward","icon":"forward","unicode":"f04e","created":1,"categories":["Video Player Icons"]},{"name":"fast-forward","icon":"fast-forward","unicode":"f050","created":1,"categories":["Video Player Icons"]},{"name":"step-forward","icon":"step-forward","unicode":"f051","created":1,"categories":["Video Player Icons"]},{"name":"eject","icon":"eject","unicode":"f052","created":1,"categories":["Video Player Icons"]},{"name":"chevron-left","icon":"chevron-left","unicode":"f053","created":1,"categories":["Directional Icons"]},{"name":"chevron-right","icon":"chevron-right","unicode":"f054","created":1,"categories":["Directional Icons"]},{"name":"Plus Circle","icon":"plus-circle","unicode":"f055","created":1,"categories":["Web Application Icons"]},{"name":"Minus Circle","icon":"minus-circle","unicode":"f056","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle","icon":"times-circle","unicode":"f057","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle","icon":"check-circle","unicode":"f058","created":1,"categories":["Web Application Icons"]},{"name":"Question Circle","icon":"question-circle","unicode":"f059","created":1,"categories":["Web Application Icons"]},{"name":"Info Circle","icon":"info-circle","unicode":"f05a","created":1,"categories":["Web Application Icons"]},{"name":"Crosshairs","icon":"crosshairs","unicode":"f05b","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle Outlined","icon":"times-circle-o","unicode":"f05c","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle Outlined","icon":"check-circle-o","unicode":"f05d","created":1,"categories":["Web Application Icons"]},{"name":"ban","icon":"ban","unicode":"f05e","created":1,"categories":["Web Application Icons"]},{"name":"arrow-left","icon":"arrow-left","unicode":"f060","created":1,"categories":["Directional Icons"]},{"name":"arrow-right","icon":"arrow-right","unicode":"f061","created":1,"categories":["Directional Icons"]},{"name":"arrow-up","icon":"arrow-up","unicode":"f062","created":1,"categories":["Directional Icons"]},{"name":"arrow-down","icon":"arrow-down","unicode":"f063","created":1,"categories":["Directional Icons"]},{"name":"Share","icon":"share","unicode":"f064","created":1,"aliases":["mail-forward"],"categories":["Web Application Icons"]},{"name":"Expand","icon":"expand","unicode":"f065","created":1,"categories":["Video Player Icons"]},{"name":"Compress","icon":"compress","unicode":"f066","created":1,"categories":["Video Player Icons"]},{"name":"plus","icon":"plus","unicode":"f067","created":1,"categories":["Web Application Icons"]},{"name":"minus","icon":"minus","unicode":"f068","created":1,"categories":["Web Application Icons"]},{"name":"asterisk","icon":"asterisk","unicode":"f069","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Circle","icon":"exclamation-circle","unicode":"f06a","created":1,"categories":["Web Application Icons"]},{"name":"gift","icon":"gift","unicode":"f06b","created":1,"categories":["Web Application Icons"]},{"name":"leaf","icon":"leaf","unicode":"f06c","created":1,"categories":["Web Application Icons"]},{"name":"fire","icon":"fire","unicode":"f06d","created":1,"categories":["Web Application Icons"]},{"name":"Eye","icon":"eye","unicode":"f06e","created":1,"categories":["Web Application Icons"]},{"name":"Eye Slash","icon":"eye-slash","unicode":"f070","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Triangle","icon":"exclamation-triangle","unicode":"f071","created":1,"aliases":["warning"],"categories":["Web Application Icons"]},{"name":"plane","icon":"plane","unicode":"f072","created":1,"categories":["Web Application Icons"]},{"name":"calendar","icon":"calendar","unicode":"f073","created":1,"categories":["Web Application Icons"]},{"name":"random","icon":"random","unicode":"f074","created":1,"categories":["Web Application Icons"]},{"name":"comment","icon":"comment","unicode":"f075","created":1,"categories":["Web Application Icons"]},{"name":"magnet","icon":"magnet","unicode":"f076","created":1,"categories":["Web Application Icons"]},{"name":"chevron-up","icon":"chevron-up","unicode":"f077","created":1,"categories":["Directional Icons"]},{"name":"chevron-down","icon":"chevron-down","unicode":"f078","created":1,"categories":["Directional Icons"]},{"name":"retweet","icon":"retweet","unicode":"f079","created":1,"categories":["Web Application Icons"]},{"name":"shopping-cart","icon":"shopping-cart","unicode":"f07a","created":1,"categories":["Web Application Icons"]},{"name":"Folder","icon":"folder","unicode":"f07b","created":1,"categories":["Web Application Icons"]},{"name":"Folder Open","icon":"folder-open","unicode":"f07c","created":1,"categories":["Web Application Icons"]},{"name":"Arrows Vertical","icon":"arrows-v","unicode":"f07d","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Arrows Horizontal","icon":"arrows-h","unicode":"f07e","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Bar Chart Outlined","icon":"bar-chart-o","unicode":"f080","created":1,"categories":["Web Application Icons"]},{"name":"Twitter Square","icon":"twitter-square","unicode":"f081","created":1,"categories":["Brand Icons"]},{"name":"Facebook Square","icon":"facebook-square","unicode":"f082","created":1,"categories":["Brand Icons"]},{"name":"camera-retro","icon":"camera-retro","unicode":"f083","created":1,"categories":["Web Application Icons"]},{"name":"key","icon":"key","unicode":"f084","created":1,"categories":["Web Application Icons"]},{"name":"cogs","icon":"cogs","unicode":"f085","created":1,"aliases":["gears"],"categories":["Web Application Icons"]},{"name":"comments","icon":"comments","unicode":"f086","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Up Outlined","icon":"thumbs-o-up","unicode":"f087","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Down Outlined","icon":"thumbs-o-down","unicode":"f088","created":1,"categories":["Web Application Icons"]},{"name":"star-half","icon":"star-half","unicode":"f089","created":1,"categories":["Web Application Icons"]},{"name":"Heart Outlined","icon":"heart-o","unicode":"f08a","created":1,"categories":["Web Application Icons"]},{"name":"Sign Out","icon":"sign-out","unicode":"f08b","created":1,"categories":["Web Application Icons"]},{"name":"LinkedIn Square","icon":"linkedin-square","unicode":"f08c","created":1,"categories":["Brand Icons"]},{"name":"Thumb Tack","icon":"thumb-tack","unicode":"f08d","created":1,"categories":["Web Application Icons"]},{"name":"External Link","icon":"external-link","unicode":"f08e","created":1,"categories":["Web Application Icons"]},{"name":"Sign In","icon":"sign-in","unicode":"f090","created":1,"categories":["Web Application Icons"]},{"name":"trophy","icon":"trophy","unicode":"f091","created":1,"categories":["Web Application Icons"]},{"name":"GitHub Square","icon":"github-square","unicode":"f092","created":1,"categories":["Brand Icons"]},{"name":"Upload","icon":"upload","unicode":"f093","created":1,"categories":["Web Application Icons"]},{"name":"Lemon Outlined","icon":"lemon-o","unicode":"f094","created":1,"categories":["Web Application Icons"]},{"name":"Phone","icon":"phone","unicode":"f095","created":2,"categories":["Web Application Icons"]},{"name":"Square Outlined","icon":"square-o","unicode":"f096","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bookmark Outlined","icon":"bookmark-o","unicode":"f097","created":2,"categories":["Web Application Icons"]},{"name":"Phone Square","icon":"phone-square","unicode":"f098","created":2,"categories":["Web Application Icons"]},{"name":"Twitter","icon":"twitter","unicode":"f099","created":2,"categories":["Brand Icons"]},{"name":"Facebook","icon":"facebook","unicode":"f09a","created":2,"categories":["Brand Icons"]},{"name":"GitHub","icon":"github","unicode":"f09b","created":2,"categories":["Brand Icons"]},{"name":"unlock","icon":"unlock","unicode":"f09c","created":2,"categories":["Web Application Icons"]},{"name":"credit-card","icon":"credit-card","unicode":"f09d","created":2,"categories":["Web Application Icons"]},{"name":"rss","icon":"rss","unicode":"f09e","created":2,"categories":["Web Application Icons"]},{"name":"HDD","icon":"hdd-o","unicode":"f0a0","created":2,"categories":["Web Application Icons"]},{"name":"bullhorn","icon":"bullhorn","unicode":"f0a1","created":2,"categories":["Web Application Icons"]},{"name":"bell","icon":"bell","unicode":"f0f3","created":2,"categories":["Web Application Icons"]},{"name":"certificate","icon":"certificate","unicode":"f0a3","created":2,"categories":["Web Application Icons"]},{"name":"Hand Outlined Right","icon":"hand-o-right","unicode":"f0a4","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Left","icon":"hand-o-left","unicode":"f0a5","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Up","icon":"hand-o-up","unicode":"f0a6","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Down","icon":"hand-o-down","unicode":"f0a7","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Left","icon":"arrow-circle-left","unicode":"f0a8","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Right","icon":"arrow-circle-right","unicode":"f0a9","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Up","icon":"arrow-circle-up","unicode":"f0aa","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Down","icon":"arrow-circle-down","unicode":"f0ab","created":2,"categories":["Directional Icons"]},{"name":"Globe","icon":"globe","unicode":"f0ac","created":2,"categories":["Web Application Icons"]},{"name":"Wrench","icon":"wrench","unicode":"f0ad","created":2,"categories":["Web Application Icons"]},{"name":"Tasks","icon":"tasks","unicode":"f0ae","created":2,"categories":["Web Application Icons"]},{"name":"Filter","icon":"filter","unicode":"f0b0","created":2,"categories":["Web Application Icons"]},{"name":"Briefcase","icon":"briefcase","unicode":"f0b1","created":2,"categories":["Web Application Icons"]},{"name":"Arrows Alt","icon":"arrows-alt","unicode":"f0b2","created":2,"categories":["Video Player Icons","Directional Icons"]},{"name":"Users","icon":"users","unicode":"f0c0","created":2,"aliases":["group"],"categories":["Web Application Icons"]},{"name":"Link","icon":"link","unicode":"f0c1","created":2,"aliases":["chain"],"categories":["Text Editor Icons"]},{"name":"Cloud","icon":"cloud","unicode":"f0c2","created":2,"categories":["Web Application Icons"]},{"name":"Flask","icon":"flask","unicode":"f0c3","created":2,"categories":["Web Application Icons"]},{"name":"Scissors","icon":"scissors","unicode":"f0c4","created":2,"aliases":["cut"],"categories":["Text Editor Icons"]},{"name":"Files Outlined","icon":"files-o","unicode":"f0c5","created":2,"aliases":["copy"],"categories":["Text Editor Icons"]},{"name":"Paperclip","icon":"paperclip","unicode":"f0c6","created":2,"categories":["Text Editor Icons"]},{"name":"Floppy Outlined","icon":"floppy-o","unicode":"f0c7","created":2,"aliases":["save"],"categories":["Text Editor Icons"]},{"name":"Square","icon":"square","unicode":"f0c8","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bars","icon":"bars","unicode":"f0c9","created":2,"aliases":["navicon","reorder"],"categories":["Web Application Icons"]},{"name":"list-ul","icon":"list-ul","unicode":"f0ca","created":2,"categories":["Text Editor Icons"]},{"name":"list-ol","icon":"list-ol","unicode":"f0cb","created":2,"categories":["Text Editor Icons"]},{"name":"Strikethrough","icon":"strikethrough","unicode":"f0cc","created":2,"categories":["Text Editor Icons"]},{"name":"Underline","icon":"underline","unicode":"f0cd","created":2,"categories":["Text Editor Icons"]},{"name":"table","icon":"table","unicode":"f0ce","created":2,"categories":["Text Editor Icons"]},{"name":"magic","icon":"magic","unicode":"f0d0","created":2,"categories":["Web Application Icons"]},{"name":"truck","icon":"truck","unicode":"f0d1","created":2,"categories":["Web Application Icons"]},{"name":"Pinterest","icon":"pinterest","unicode":"f0d2","created":2,"categories":["Brand Icons"]},{"name":"Pinterest Square","icon":"pinterest-square","unicode":"f0d3","created":2,"categories":["Brand Icons"]},{"name":"Google Plus Square","icon":"google-plus-square","unicode":"f0d4","created":2,"categories":["Brand Icons"]},{"name":"Google Plus","icon":"google-plus","unicode":"f0d5","created":2,"categories":["Brand Icons"]},{"name":"Money","icon":"money","unicode":"f0d6","created":2,"categories":["Web Application Icons","Currency Icons"]},{"name":"Caret Down","icon":"caret-down","unicode":"f0d7","created":2,"categories":["Directional Icons"]},{"name":"Caret Up","icon":"caret-up","unicode":"f0d8","created":2,"categories":["Directional Icons"]},{"name":"Caret Left","icon":"caret-left","unicode":"f0d9","created":2,"categories":["Directional Icons"]},{"name":"Caret Right","icon":"caret-right","unicode":"f0da","created":2,"categories":["Directional Icons"]},{"name":"Columns","icon":"columns","unicode":"f0db","created":2,"categories":["Text Editor Icons"]},{"name":"Sort","icon":"sort","unicode":"f0dc","created":2,"aliases":["unsorted"],"categories":["Web Application Icons"]},{"name":"Sort Descending","icon":"sort-desc","unicode":"f0dd","created":2,"aliases":["sort-down"],"categories":["Web Application Icons"]},{"name":"Sort Ascending","icon":"sort-asc","unicode":"f0de","created":2,"aliases":["sort-up"],"categories":["Web Application Icons"]},{"name":"Envelope","icon":"envelope","unicode":"f0e0","created":2,"categories":["Web Application Icons"]},{"name":"LinkedIn","icon":"linkedin","unicode":"f0e1","created":2,"categories":["Brand Icons"]},{"name":"Undo","icon":"undo","unicode":"f0e2","created":2,"aliases":["rotate-left"],"categories":["Text Editor Icons"]},{"name":"Gavel","icon":"gavel","unicode":"f0e3","created":2,"aliases":["legal"],"categories":["Web Application Icons"]},{"name":"Tachometer","icon":"tachometer","unicode":"f0e4","created":2,"aliases":["dashboard"],"categories":["Web Application Icons"]},{"name":"comment-o","icon":"comment-o","unicode":"f0e5","created":2,"categories":["Web Application Icons"]},{"name":"comments-o","icon":"comments-o","unicode":"f0e6","created":2,"categories":["Web Application Icons"]},{"name":"Lightning Bolt","icon":"bolt","unicode":"f0e7","created":2,"aliases":["flash"],"categories":["Web Application Icons"]},{"name":"Sitemap","icon":"sitemap","unicode":"f0e8","created":2,"categories":["Web Application Icons"]},{"name":"Umbrella","icon":"umbrella","unicode":"f0e9","created":2,"categories":["Web Application Icons"]},{"name":"Clipboard","icon":"clipboard","unicode":"f0ea","created":2,"aliases":["paste"],"categories":["Text Editor Icons"]},{"name":"Lightbulb Outlined","icon":"lightbulb-o","unicode":"f0eb","created":3,"categories":["Web Application Icons"]},{"name":"Exchange","icon":"exchange","unicode":"f0ec","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Download","icon":"cloud-download","unicode":"f0ed","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Upload","icon":"cloud-upload","unicode":"f0ee","created":3,"categories":["Web Application Icons"]},{"name":"user-md","icon":"user-md","unicode":"f0f0","created":2,"categories":["Medical Icons"]},{"name":"Stethoscope","icon":"stethoscope","unicode":"f0f1","created":3,"categories":["Medical Icons"]},{"name":"Suitcase","icon":"suitcase","unicode":"f0f2","created":3,"categories":["Web Application Icons"]},{"name":"Bell Outlined","icon":"bell-o","unicode":"f0a2","created":3,"categories":["Web Application Icons"]},{"name":"Coffee","icon":"coffee","unicode":"f0f4","created":3,"categories":["Web Application Icons"]},{"name":"Cutlery","icon":"cutlery","unicode":"f0f5","created":3,"categories":["Web Application Icons"]},{"name":"File Text Outlined","icon":"file-text-o","unicode":"f0f6","created":3,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Building Outlined","icon":"building-o","unicode":"f0f7","created":3,"categories":["Web Application Icons"]},{"name":"hospital Outlined","icon":"hospital-o","unicode":"f0f8","created":3,"categories":["Medical Icons"]},{"name":"ambulance","icon":"ambulance","unicode":"f0f9","created":3,"categories":["Medical Icons"]},{"name":"medkit","icon":"medkit","unicode":"f0fa","created":3,"categories":["Medical Icons"]},{"name":"fighter-jet","icon":"fighter-jet","unicode":"f0fb","created":3,"categories":["Web Application Icons"]},{"name":"beer","icon":"beer","unicode":"f0fc","created":3,"categories":["Web Application Icons"]},{"name":"H Square","icon":"h-square","unicode":"f0fd","created":3,"categories":["Medical Icons"]},{"name":"Plus Square","icon":"plus-square","unicode":"f0fe","created":3,"categories":["Medical Icons","Web Application Icons","Form Control Icons"]},{"name":"Angle Double Left","icon":"angle-double-left","unicode":"f100","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Right","icon":"angle-double-right","unicode":"f101","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Up","icon":"angle-double-up","unicode":"f102","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Down","icon":"angle-double-down","unicode":"f103","created":3,"categories":["Directional Icons"]},{"name":"angle-left","icon":"angle-left","unicode":"f104","created":3,"categories":["Directional Icons"]},{"name":"angle-right","icon":"angle-right","unicode":"f105","created":3,"categories":["Directional Icons"]},{"name":"angle-up","icon":"angle-up","unicode":"f106","created":3,"categories":["Directional Icons"]},{"name":"angle-down","icon":"angle-down","unicode":"f107","created":3,"categories":["Directional Icons"]},{"name":"Desktop","icon":"desktop","unicode":"f108","created":3,"categories":["Web Application Icons"]},{"name":"Laptop","icon":"laptop","unicode":"f109","created":3,"categories":["Web Application Icons"]},{"name":"tablet","icon":"tablet","unicode":"f10a","created":3,"categories":["Web Application Icons"]},{"name":"Mobile Phone","icon":"mobile","unicode":"f10b","created":3,"aliases":["mobile-phone"],"categories":["Web Application Icons"]},{"name":"Circle Outlined","icon":"circle-o","unicode":"f10c","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"quote-left","icon":"quote-left","unicode":"f10d","created":3,"categories":["Web Application Icons"]},{"name":"quote-right","icon":"quote-right","unicode":"f10e","created":3,"categories":["Web Application Icons"]},{"name":"Spinner","icon":"spinner","unicode":"f110","created":3,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Circle","icon":"circle","unicode":"f111","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Reply","icon":"reply","unicode":"f112","created":3,"aliases":["mail-reply"],"categories":["Web Application Icons"]},{"name":"GitHub Alt","icon":"github-alt","unicode":"f113","created":3,"categories":["Brand Icons"]},{"name":"Folder Outlined","icon":"folder-o","unicode":"f114","created":3,"categories":["Web Application Icons"]},{"name":"Folder Open Outlined","icon":"folder-open-o","unicode":"f115","created":3,"categories":["Web Application Icons"]},{"name":"Smile Outlined","icon":"smile-o","unicode":"f118","created":3.1,"categories":["Web Application Icons"]},{"name":"Frown Outlined","icon":"frown-o","unicode":"f119","created":3.1,"categories":["Web Application Icons"]},{"name":"Meh Outlined","icon":"meh-o","unicode":"f11a","created":3.1,"categories":["Web Application Icons"]},{"name":"Gamepad","icon":"gamepad","unicode":"f11b","created":3.1,"categories":["Web Application Icons"]},{"name":"Keyboard Outlined","icon":"keyboard-o","unicode":"f11c","created":3.1,"categories":["Web Application Icons"]},{"name":"Flag Outlined","icon":"flag-o","unicode":"f11d","created":3.1,"categories":["Web Application Icons"]},{"name":"flag-checkered","icon":"flag-checkered","unicode":"f11e","created":3.1,"categories":["Web Application Icons"]},{"name":"Terminal","icon":"terminal","unicode":"f120","created":3.1,"categories":["Web Application Icons"]},{"name":"Code","icon":"code","unicode":"f121","created":3.1,"categories":["Web Application Icons"]},{"name":"reply-all","icon":"reply-all","unicode":"f122","created":3.1,"aliases":["mail-reply-all"],"categories":["Web Application Icons"]},{"name":"Star Half Outlined","icon":"star-half-o","unicode":"f123","created":3.1,"aliases":["star-half-empty","star-half-full"],"categories":["Web Application Icons"]},{"name":"location-arrow","icon":"location-arrow","unicode":"f124","created":3.1,"categories":["Web Application Icons"]},{"name":"crop","icon":"crop","unicode":"f125","created":3.1,"categories":["Web Application Icons"]},{"name":"code-fork","icon":"code-fork","unicode":"f126","created":3.1,"categories":["Web Application Icons"]},{"name":"Chain Broken","icon":"chain-broken","unicode":"f127","created":3.1,"aliases":["unlink"],"categories":["Text Editor Icons"]},{"name":"Question","icon":"question","unicode":"f128","created":3.1,"categories":["Web Application Icons"]},{"name":"Info","icon":"info","unicode":"f129","created":3.1,"categories":["Web Application Icons"]},{"name":"exclamation","icon":"exclamation","unicode":"f12a","created":3.1,"categories":["Web Application Icons"]},{"name":"superscript","icon":"superscript","unicode":"f12b","created":3.1,"categories":["Text Editor Icons"]},{"name":"subscript","icon":"subscript","unicode":"f12c","created":3.1,"categories":["Text Editor Icons"]},{"name":"eraser","icon":"eraser","unicode":"f12d","created":3.1,"categories":["Text Editor Icons","Web Application Icons"]},{"name":"Puzzle Piece","icon":"puzzle-piece","unicode":"f12e","created":3.1,"categories":["Web Application Icons"]},{"name":"microphone","icon":"microphone","unicode":"f130","created":3.1,"categories":["Web Application Icons"]},{"name":"Microphone Slash","icon":"microphone-slash","unicode":"f131","created":3.1,"categories":["Web Application Icons"]},{"name":"shield","icon":"shield","unicode":"f132","created":3.1,"categories":["Web Application Icons"]},{"name":"calendar-o","icon":"calendar-o","unicode":"f133","created":3.1,"categories":["Web Application Icons"]},{"name":"fire-extinguisher","icon":"fire-extinguisher","unicode":"f134","created":3.1,"categories":["Web Application Icons"]},{"name":"rocket","icon":"rocket","unicode":"f135","created":3.1,"categories":["Web Application Icons"]},{"name":"MaxCDN","icon":"maxcdn","unicode":"f136","created":3.1,"categories":["Brand Icons"]},{"name":"Chevron Circle Left","icon":"chevron-circle-left","unicode":"f137","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Right","icon":"chevron-circle-right","unicode":"f138","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Up","icon":"chevron-circle-up","unicode":"f139","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Down","icon":"chevron-circle-down","unicode":"f13a","created":3.1,"categories":["Directional Icons"]},{"name":"HTML 5 Logo","icon":"html5","unicode":"f13b","created":3.1,"categories":["Brand Icons"]},{"name":"CSS 3 Logo","icon":"css3","unicode":"f13c","created":3.1,"categories":["Brand Icons"]},{"name":"Anchor","icon":"anchor","unicode":"f13d","created":3.1,"categories":["Web Application Icons"]},{"name":"Unlock Alt","icon":"unlock-alt","unicode":"f13e","created":3.1,"categories":["Web Application Icons"]},{"name":"Bullseye","icon":"bullseye","unicode":"f140","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Horizontal","icon":"ellipsis-h","unicode":"f141","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Vertical","icon":"ellipsis-v","unicode":"f142","created":3.1,"categories":["Web Application Icons"]},{"name":"RSS Square","icon":"rss-square","unicode":"f143","created":3.1,"categories":["Web Application Icons"]},{"name":"Play Circle","icon":"play-circle","unicode":"f144","created":3.1,"categories":["Video Player Icons"]},{"name":"Ticket","icon":"ticket","unicode":"f145","created":3.1,"categories":["Web Application Icons"]},{"name":"Minus Square","icon":"minus-square","unicode":"f146","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Minus Square Outlined","icon":"minus-square-o","unicode":"f147","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Level Up","icon":"level-up","unicode":"f148","created":3.1,"categories":["Web Application Icons"]},{"name":"Level Down","icon":"level-down","unicode":"f149","created":3.1,"categories":["Web Application Icons"]},{"name":"Check Square","icon":"check-square","unicode":"f14a","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Pencil Square","icon":"pencil-square","unicode":"f14b","created":3.1,"categories":["Web Application Icons"]},{"name":"External Link Square","icon":"external-link-square","unicode":"f14c","created":3.1,"categories":["Web Application Icons"]},{"name":"Share Square","icon":"share-square","unicode":"f14d","created":3.1,"categories":["Web Application Icons"]},{"name":"Compass","icon":"compass","unicode":"f14e","created":3.2,"categories":["Web Application Icons"]},{"name":"Caret Square Outlined Down","icon":"caret-square-o-down","unicode":"f150","created":3.2,"aliases":["toggle-down"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Up","icon":"caret-square-o-up","unicode":"f151","created":3.2,"aliases":["toggle-up"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Right","icon":"caret-square-o-right","unicode":"f152","created":3.2,"aliases":["toggle-right"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Euro (EUR)","icon":"eur","unicode":"f153","created":3.2,"aliases":["euro"],"categories":["Currency Icons"]},{"name":"GBP","icon":"gbp","unicode":"f154","created":3.2,"categories":["Currency Icons"]},{"name":"US Dollar","icon":"usd","unicode":"f155","created":3.2,"aliases":["dollar"],"categories":["Currency Icons"]},{"name":"Indian Rupee (INR)","icon":"inr","unicode":"f156","created":3.2,"aliases":["rupee"],"categories":["Currency Icons"]},{"name":"Japanese Yen (JPY)","icon":"jpy","unicode":"f157","created":3.2,"aliases":["cny","rmb","yen"],"categories":["Currency Icons"]},{"name":"Russian Ruble (RUB)","icon":"rub","unicode":"f158","created":4,"aliases":["ruble","rouble"],"categories":["Currency Icons"]},{"name":"Korean Won (KRW)","icon":"krw","unicode":"f159","created":3.2,"aliases":["won"],"categories":["Currency Icons"]},{"name":"Bitcoin (BTC)","icon":"btc","unicode":"f15a","created":3.2,"aliases":["bitcoin"],"categories":["Currency Icons","Brand Icons"]},{"name":"File","icon":"file","unicode":"f15b","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"File Text","icon":"file-text","unicode":"f15c","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Sort Alpha Ascending","icon":"sort-alpha-asc","unicode":"f15d","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Alpha Descending","icon":"sort-alpha-desc","unicode":"f15e","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Ascending","icon":"sort-amount-asc","unicode":"f160","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Descending","icon":"sort-amount-desc","unicode":"f161","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Ascending","icon":"sort-numeric-asc","unicode":"f162","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Descending","icon":"sort-numeric-desc","unicode":"f163","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-up","icon":"thumbs-up","unicode":"f164","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-down","icon":"thumbs-down","unicode":"f165","created":3.2,"categories":["Web Application Icons"]},{"name":"YouTube Square","icon":"youtube-square","unicode":"f166","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube","icon":"youtube","unicode":"f167","created":3.2,"categories":["Brand Icons"]},{"name":"Xing","icon":"xing","unicode":"f168","created":3.2,"categories":["Brand Icons"]},{"name":"Xing Square","icon":"xing-square","unicode":"f169","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube Play","icon":"youtube-play","unicode":"f16a","created":3.2,"categories":["Brand Icons","Video Player Icons"]},{"name":"Dropbox","icon":"dropbox","unicode":"f16b","created":3.2,"categories":["Brand Icons"]},{"name":"Stack Overflow","icon":"stack-overflow","unicode":"f16c","created":3.2,"categories":["Brand Icons"]},{"name":"Instagram","icon":"instagram","unicode":"f16d","created":3.2,"categories":["Brand Icons"]},{"name":"Flickr","icon":"flickr","unicode":"f16e","created":3.2,"categories":["Brand Icons"]},{"name":"App.net","icon":"adn","unicode":"f170","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket","icon":"bitbucket","unicode":"f171","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket Square","icon":"bitbucket-square","unicode":"f172","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr","icon":"tumblr","unicode":"f173","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr Square","icon":"tumblr-square","unicode":"f174","created":3.2,"categories":["Brand Icons"]},{"name":"Long Arrow Down","icon":"long-arrow-down","unicode":"f175","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Up","icon":"long-arrow-up","unicode":"f176","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Left","icon":"long-arrow-left","unicode":"f177","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Right","icon":"long-arrow-right","unicode":"f178","created":3.2,"categories":["Directional Icons"]},{"name":"Apple","icon":"apple","unicode":"f179","created":3.2,"categories":["Brand Icons"]},{"name":"Windows","icon":"windows","unicode":"f17a","created":3.2,"categories":["Brand Icons"]},{"name":"Android","icon":"android","unicode":"f17b","created":3.2,"categories":["Brand Icons"]},{"name":"Linux","icon":"linux","unicode":"f17c","created":3.2,"categories":["Brand Icons"]},{"name":"Dribbble","icon":"dribbble","unicode":"f17d","created":3.2,"categories":["Brand Icons"]},{"name":"Skype","icon":"skype","unicode":"f17e","created":3.2,"categories":["Brand Icons"]},{"name":"Foursquare","icon":"foursquare","unicode":"f180","created":3.2,"categories":["Brand Icons"]},{"name":"Trello","icon":"trello","unicode":"f181","created":3.2,"categories":["Brand Icons"]},{"name":"Female","icon":"female","unicode":"f182","created":3.2,"categories":["Web Application Icons"]},{"name":"Male","icon":"male","unicode":"f183","created":3.2,"categories":["Web Application Icons"]},{"name":"Gittip","icon":"gittip","unicode":"f184","created":3.2,"categories":["Brand Icons"]},{"name":"Sun Outlined","icon":"sun-o","unicode":"f185","created":3.2,"categories":["Web Application Icons"]},{"name":"Moon Outlined","icon":"moon-o","unicode":"f186","created":3.2,"categories":["Web Application Icons"]},{"name":"Archive","icon":"archive","unicode":"f187","created":3.2,"categories":["Web Application Icons"]},{"name":"Bug","icon":"bug","unicode":"f188","created":3.2,"categories":["Web Application Icons"]},{"name":"VK","icon":"vk","unicode":"f189","created":3.2,"categories":["Brand Icons"]},{"name":"Weibo","icon":"weibo","unicode":"f18a","created":3.2,"categories":["Brand Icons"]},{"name":"Renren","icon":"renren","unicode":"f18b","created":3.2,"categories":["Brand Icons"]},{"name":"Pagelines","icon":"pagelines","unicode":"f18c","created":4,"categories":["Brand Icons"]},{"name":"Stack Exchange","icon":"stack-exchange","unicode":"f18d","created":4,"categories":["Brand Icons"]},{"name":"Arrow Circle Outlined Right","icon":"arrow-circle-o-right","unicode":"f18e","created":4,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Left","icon":"arrow-circle-o-left","unicode":"f190","created":4,"categories":["Directional Icons"]},{"name":"Caret Square Outlined Left","icon":"caret-square-o-left","unicode":"f191","created":4,"aliases":["toggle-left"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Dot Circle O","icon":"dot-circle-o","unicode":"f192","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Wheelchair","icon":"wheelchair","unicode":"f193","created":4,"categories":["Web Application Icons","Medical Icons"]},{"name":"Vimeo Square","icon":"vimeo-square","unicode":"f194","created":4,"categories":["Brand Icons"]},{"name":"Turkish Lira (TRY)","icon":"try","unicode":"f195","created":4,"aliases":["turkish-lira"],"categories":["Currency Icons"]},{"name":"Plus Square Outlined","icon":"plus-square-o","unicode":"f196","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Space Shuttle","icon":"space-shuttle","unicode":"f197","created":4.1,"categories":["Web Application Icons"]},{"name":"Slack Logo","icon":"slack","unicode":"f198","created":4.1,"categories":["Brand Icons"]},{"name":"Envelope Square","icon":"envelope-square","unicode":"f199","created":4.1,"categories":["Web Application Icons"]},{"name":"Wordpress Logo","icon":"wordpress","unicode":"f19a","created":4.1,"categories":["Brand Icons"]},{"name":"OpenID","icon":"openid","unicode":"f19b","created":4.1,"categories":["Brand Icons"]},{"name":"University","icon":"university","unicode":"f19c","created":4.1,"aliases":["institution","bank"],"categories":["Web Application Icons"]},{"name":"Graduation Cap","icon":"graduation-cap","unicode":"f19d","created":4.1,"aliases":["mortar-board"],"categories":["Web Application Icons"]},{"name":"Yahoo Logo","icon":"yahoo","unicode":"f19e","created":4.1,"categories":["Brand Icons"]},{"name":"Google Logo","icon":"google","unicode":"f1a0","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Logo","icon":"reddit","unicode":"f1a1","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Square","icon":"reddit-square","unicode":"f1a2","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Circle","icon":"stumbleupon-circle","unicode":"f1a3","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Logo","icon":"stumbleupon","unicode":"f1a4","created":4.1,"categories":["Brand Icons"]},{"name":"Delicious Logo","icon":"delicious","unicode":"f1a5","created":4.1,"categories":["Brand Icons"]},{"name":"Digg Logo","icon":"digg","unicode":"f1a6","created":4.1,"categories":["Brand Icons"]},{"name":"Pied Piper Logo","icon":"pied-piper","unicode":"f1a7","created":4.1,"categories":["Brand Icons"],"aliases":["pied-piper-square"]},{"name":"Pied Piper Alternate Logo","icon":"pied-piper-alt","unicode":"f1a8","created":4.1,"categories":["Brand Icons"]},{"name":"Drupal Logo","icon":"drupal","unicode":"f1a9","created":4.1,"categories":["Brand Icons"]},{"name":"Joomla Logo","icon":"joomla","unicode":"f1aa","created":4.1,"categories":["Brand Icons"]},{"name":"Language","icon":"language","unicode":"f1ab","created":4.1,"categories":["Web Application Icons"]},{"name":"Fax","icon":"fax","unicode":"f1ac","created":4.1,"categories":["Web Application Icons"]},{"name":"Building","icon":"building","unicode":"f1ad","created":4.1,"categories":["Web Application Icons"]},{"name":"Child","icon":"child","unicode":"f1ae","created":4.1,"categories":["Web Application Icons"]},{"name":"Paw","icon":"paw","unicode":"f1b0","created":4.1,"categories":["Web Application Icons"]},{"name":"spoon","icon":"spoon","unicode":"f1b1","created":4.1,"categories":["Web Application Icons"]},{"name":"Cube","icon":"cube","unicode":"f1b2","created":4.1,"categories":["Web Application Icons"]},{"name":"Cubes","icon":"cubes","unicode":"f1b3","created":4.1,"categories":["Web Application Icons"]},{"name":"Behance","icon":"behance","unicode":"f1b4","created":4.1,"categories":["Brand Icons"]},{"name":"Behance Square","icon":"behance-square","unicode":"f1b5","created":4.1,"categories":["Brand Icons"]},{"name":"Steam","icon":"steam","unicode":"f1b6","created":4.1,"categories":["Brand Icons"]},{"name":"Steam Square","icon":"steam-square","unicode":"f1b7","created":4.1,"categories":["Brand Icons"]},{"name":"Recycle","icon":"recycle","unicode":"f1b8","created":4.1,"categories":["Web Application Icons"]},{"name":"Car","icon":"car","unicode":"f1b9","created":4.1,"categories":["Web Application Icons"],"aliases":["automobile"]},{"name":"Taxi","icon":"taxi","unicode":"f1ba","created":4.1,"categories":["Web Application Icons"],"aliases":["cab"]},{"name":"Tree","icon":"tree","unicode":"f1bb","created":4.1,"categories":["Web Application Icons"]},{"name":"Spotify","icon":"spotify","unicode":"f1bc","created":4.1,"categories":["Brand Icons"]},{"name":"deviantART","icon":"deviantart","unicode":"f1bd","created":4.1,"categories":["Brand Icons"]},{"name":"SoundCloud","icon":"soundcloud","unicode":"f1be","created":4.1,"categories":["Brand Icons"]},{"name":"Database","icon":"database","unicode":"f1c0","created":4.1,"categories":["Web Application Icons"]},{"name":"PDF File Outlined","icon":"file-pdf-o","unicode":"f1c1","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Word File Outlined","icon":"file-word-o","unicode":"f1c2","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Excel File Outlined","icon":"file-excel-o","unicode":"f1c3","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Powerpoint File Outlined","icon":"file-powerpoint-o","unicode":"f1c4","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Image File Outlined","icon":"file-image-o","unicode":"f1c5","created":4.1,"aliases":["file-photo-o","file-picture-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Archive File Outlined","icon":"file-archive-o","unicode":"f1c6","created":4.1,"aliases":["file-zip-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Audio File Outlined","icon":"file-audio-o","unicode":"f1c7","created":4.1,"aliases":["file-sound-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Video File Outlined","icon":"file-video-o","unicode":"f1c8","created":4.1,"aliases":["file-movie-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Code File Outlined","icon":"file-code-o","unicode":"f1c9","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Vine","icon":"vine","unicode":"f1ca","created":4.1,"categories":["Brand Icons"]},{"name":"Codepen","icon":"codepen","unicode":"f1cb","created":4.1,"categories":["Brand Icons"]},{"name":"jsFiddle","icon":"jsfiddle","unicode":"f1cc","created":4.1,"categories":["Brand Icons"]},{"name":"Life Ring","icon":"life-ring","unicode":"f1cd","created":4.1,"aliases":["life-bouy","life-saver","support"],"categories":["Web Application Icons"]},{"name":"Circle Outlined Notched","icon":"circle-o-notch","unicode":"f1ce","created":4.1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Rebel Alliance","icon":"rebel","unicode":"f1d0","created":4.1,"aliases":["ra"],"categories":["Brand Icons"]},{"name":"Galactic Empire","icon":"empire","unicode":"f1d1","created":4.1,"aliases":["ge"],"categories":["Brand Icons"]},{"name":"Git Square","icon":"git-square","unicode":"f1d2","created":4.1,"categories":["Brand Icons"]},{"name":"Git","icon":"git","unicode":"f1d3","created":4.1,"categories":["Brand Icons"]},{"name":"Hacker News","icon":"hacker-news","unicode":"f1d4","created":4.1,"categories":["Brand Icons"]},{"name":"Tencent Weibo","icon":"tencent-weibo","unicode":"f1d5","created":4.1,"categories":["Brand Icons"]},{"name":"QQ","icon":"qq","unicode":"f1d6","created":4.1,"categories":["Brand Icons"]},{"name":"Weixin (WeChat)","icon":"weixin","unicode":"f1d7","created":4.1,"aliases":["wechat"],"categories":["Brand Icons"]},{"name":"Paper Plane","icon":"paper-plane","unicode":"f1d8","created":4.1,"aliases":["send"],"categories":["Web Application Icons"]},{"name":"Paper Plane Outlined","icon":"paper-plane-o","unicode":"f1d9","created":4.1,"aliases":["send-o"],"categories":["Web Application Icons"]},{"name":"History","icon":"history","unicode":"f1da","created":4.1,"categories":["Web Application Icons"]},{"name":"Circle Outlined Thin","icon":"circle-thin","unicode":"f1db","created":4.1,"categories":["Web Application Icons"]},{"name":"header","icon":"header","unicode":"f1dc","created":4.1,"categories":["Text Editor Icons"]},{"name":"paragraph","icon":"paragraph","unicode":"f1dd","created":4.1,"categories":["Text Editor Icons"]},{"name":"Sliders","icon":"sliders","unicode":"f1de","created":4.1,"categories":["Web Application Icons"]},{"name":"Share Alt","icon":"share-alt","unicode":"f1e0","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Share Alt Square","icon":"share-alt-square","unicode":"f1e1","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Bomb","icon":"bomb","unicode":"f1e2","created":4.1,"categories":["Web Application Icons"]}]}');function Pr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Cr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Br=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 17.5c2.33 0 4.3-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5M8.5 11A1.5 1.5 0 0 0 10 9.5A1.5 1.5 0 0 0 8.5 8A1.5 1.5 0 0 0 7 9.5A1.5 1.5 0 0 0 8.5 11m7 0A1.5 1.5 0 0 0 17 9.5A1.5 1.5 0 0 0 15.5 8A1.5 1.5 0 0 0 14 9.5a1.5 1.5 0 0 0 1.5 1.5M12 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8m0-18C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"})),Ar=null,Sr=function e(t){var o=Pr((0,qe.useState)(!1),2),r=o[0],n=o[1],a=Pr((0,qe.useState)(!1),2),l=a[0],i=a[1],c=Pr((0,qe.useState)("fontawesome"),2),s=c[0],u=c[1],d=Pr((0,qe.useState)([]),2),m=d[0],p=d[1],g=Pr((0,qe.useState)(!1),2),f=g[0],b=g[1],y=Pr((0,qe.useState)(""),2),R=y[0],_=y[1],w=Pr((0,qe.useState)(null==m?void 0:m.length),2),h=w[0],E=w[1],v=Pr((0,qe.useState)(1),2),O=v[0],P=v[1],C=(0,ko.useInstanceId)(e,"iconControl"),B=null!==t.showReset?t.showReset:void 0!==t.value&&t.value!==t.defaultValue&&t.value!==t.placeholder,A=function(e,t,o){return e.slice((o-1)*t,o*t)};(0,qe.useEffect)((function(){var e,t,o,r=(e=R,t=Or[s],o=e.toLowerCase(),t.filter((function(e){return e.name.toLowerCase().indexOf(o)>=0})));E(null==r?void 0:r.length),p(A(r,25,O))}),[O,R]),(0,qe.useEffect)((function(){P(1)}),[R]),(0,qe.useEffect)((function(){return clearTimeout(Ar),b(!0),Ar=setTimeout((function(){var e;P(1),p(A(Or[s],25,O)),E(null===(e=Or[s])||void 0===e?void 0:e.length),b(!1)}),200),function(){clearTimeout(Ar)}}),[s]),(0,qe.useEffect)((function(){b(!1)}),[]);var S,W,k=function(e){P("prev"===e?O-1:O+1)},T="dashicon"===s?"dashicons":"fa";return React.createElement("div",{className:"woolentor-icon-control-area woolentor-icon-control-".concat(C)},React.createElement("div",{className:"woolentor-icon-control-wrapper"},React.createElement("div",{className:"woolentor-icon-control-button-wrapper"},React.createElement("div",{className:"woolentor-icon-label"},t.label),React.createElement("div",{className:"woolentor-icon-control-buttons"},React.createElement(me.Button,{variant:"secondary",className:"woolentor-icon-control-icon-button",onClick:function(){l?(n(!1),i(!1)):n(!0)}},t.value&&React.createElement("span",{className:t.value}),!t.value&&React.createElement(me.Icon,{icon:Br,style:{opacity:.3}})),t.allowReset&&B&&React.createElement(me.Button,{className:"woolentor-inspector-control-reset-button",variant:"tertiary","aria-label":(0,de.__)("Reset","woolentor"),onClick:function(){t.onReset?t.onReset():t.onChange(t.defaultValue)},icon:React.createElement(me.Dashicon,{icon:"image-rotate"})})),r&&React.createElement(me.Popover,{className:"woolentor-icon-popover",onFocusOutside:function(e){e.target&&e.target.closest(".woolentor-icon-control-".concat(C))?i(!0):(n(!1),i(!1))},onClose:function(){return n(!1)},position:t.position},React.createElement(me.PanelBody,null,React.createElement("div",{className:"woolentor-icon-filter-area"},React.createElement(me.SelectControl,{value:s,options:[{label:(0,de.__)("FontAwesome","woolentor"),value:"fontawesome"},{label:(0,de.__)("Dashicon","woolentor"),value:"dashicon"}],onChange:function(e){return u(e)}}),React.createElement(me.TextControl,{className:"woolentor-icon-popover-input",value:R,onChange:_,placeholder:(0,de.__)("Search for an icon","woolentor")})),React.createElement("div",{className:"woolentor-icon-popover-iconlist"},f&&React.createElement(me.Spinner,null),!f&&m.length>0&&m.map((function(e,o){var r=e.name,a=e.icon,l="".concat(T," ").concat(T,"-").concat(a);return React.createElement(me.Button,{key:o,onClick:function(){t.onChange(l!==t.value?l:t.value),n(!1)},label:r},React.createElement("span",{className:l}))})),!f&&!m.length&&React.createElement("p",{className:"components-base-control__help"},(0,de.__)("No Icons found !","woolentor"))),React.createElement("div",{className:"woolentor-icon-control-footer"},(S=h,W=Math.ceil(S/25),React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-selector-pages"},"".concat(O," / ").concat(W," (").concat(S,")")),React.createElement("span",{className:"woolentor-next-prev-arrows"},1!==O&&React.createElement("span",{className:"woolentor-arrow-prev dashicons dashicons-arrow-left",onClick:function(){return k("prev")}}),W>O&&React.createElement("span",{className:"woolentor-arrow-next dashicons dashicons-arrow-right",onClick:function(){return k("next")}}))))))))))};Sr.defaultProps={label:(0,de.__)("Icon","woolentor"),value:"",defaultValue:"",onChange:function(){},allowReset:!0,showReset:null,position:"center"};const Wr=(0,qe.memo)(Sr);function kr(e){return kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kr(e)}function Tr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function xr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(o),!0).forEach((function(t){Lr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Lr(e,t,o){return r=function(e,t){if("object"!=kr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==kr(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Nr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var zr=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Nr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Nr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(e.value),2),o=t[0],r=t[1],n=o.type,a=o.color,l=o.width,i=function(e,t){var n=xr({},o);n.hasOwnProperty(t)?n[t]=e:n=xr(xr({},n),{},Lr({},t,e)),r(n)};return(0,qe.useEffect)((function(){e.onChange(o)}),[o]),React.createElement($r,{label:e.label,popoverLabel:e.popoverLabel},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:n,options:[{label:(0,de.__)("None","woolentor"),value:""},{label:(0,de.__)("Solid","woolentor"),value:"solid"},{label:(0,de.__)("Double","woolentor"),value:"double"},{label:(0,de.__)("Dotted","woolentor"),value:"dotted"},{label:(0,de.__)("Dashed","woolentor"),value:"dashed"},{label:(0,de.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return i(e,"type")}}),void 0!==n&&""!=n&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:l,attributesKey:"width",setAttributes:function(e){r(xr(xr({},o),e))},responsive:e.responsive}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:a,onChange:function(e){return i(e,"color")}}))))};zr.defaultProps={label:(0,de.__)("Border","woolentor"),popoverLabel:(0,de.__)("Border","woolentor"),value:[],onChange:function(){},responsive:!0};const jr=(0,qe.memo)(zr),Ir=window.wp.hooks;function Mr(e){return Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mr(e)}function Fr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Hr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(o),!0).forEach((function(t){Dr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Dr(e,t,o){return(t=Gr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function qr(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gr(r.key),r)}}function Gr(e){var t=function(e,t){if("object"!=Mr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Mr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mr(t)?t:String(t)}function Kr(e,t,o){return t=Qr(t),function(e,t){if(t&&("object"===Mr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Vr(e)}(e,Ur()?Reflect.construct(t,o||[],Qr(e).constructor):t.apply(e,o))}function Ur(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ur=function(){return!!e})()}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qr(e)}function Vr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yr(e,t){return Yr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yr(e,t)}var Zr=1,Jr={},Xr=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Kr(this,t,arguments)).state={open:Jr[e.props.label]||!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(Vr(e)),e.handleClose=e.handleClose.bind(Vr(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Vr(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Vr(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Vr(e)),e.handleReset=e.handleReset.bind(Vr(e)),e.buttonRef=(0,qe.createRef)(),e.instanceId=Zr++,e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yr(e,t)}(t,e),o=t,r=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var o=!1;return this.props.toggleOnSetAttributes.some((function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(o=!0,0))})),o?Hr(Hr({},e),{},Dr({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){(0,Ir.addFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){var e=this;Jr[this.props.label]=this.state.open,setTimeout((function(){delete Jr[e.props.label]}),500),(0,Ir.removeFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleReset",value:function(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}},{key:"handleOnClickOutside",value:function(e){var t;null!==(t=window.wp)&&void 0!==t&&null!==(t=t.media)&&void 0!==t&&null!==(t=t.frame)&&void 0!==t&&null!==(t=t.el)&&void 0!==t&&t.clientHeight||this.state.open&&(e.target.closest(".woolentor-button-icon-control__popover")||e.target.closest(".woolentor-button-icon-control__edit")||e.target.closest(".components-color-picker")||this.handleClose())}},{key:"render",value:function(){var e=this;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(this.props);var t=this.props.allowReset||!!this.props.onToggle&&this.props.checked;return React.createElement(me.BaseControl,{help:this.props.help,label:!this.props.onToggle&&React.createElement("label",{htmlFor:"woolentor-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"woolentor-button-icon-control",className:Kt()("woolentor-button-icon-control",this.props.className)},this.props.onToggle&&React.createElement(me.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),React.createElement("div",{className:"woolentor-button-icon-control__wrapper"},React.createElement(me.Button,{onClick:this.handleOpen,className:"woolentor-button-icon-control__edit",label:(0,de.__)("Edit","woolentor"),variant:"secondary",icon:"edit",id:"woolentor-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&React.createElement(me.Popover,{className:"woolentor-button-icon-control__popover",focusOnMount:"container",onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},React.createElement("div",{className:"woolentor-popover-heading"},(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&React.createElement("span",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.allowReset&&t&&React.createElement(me.Button,{className:"woolentor-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,de.__)("Reset","woolentor"),onClick:function(){e.props.onReset?e.props.onReset():e.props.onChange(e.props.defaultValue)},icon:React.createElement(me.Dashicon,{icon:"image-rotate"})})),React.createElement(me.PanelBody,null,this.props.children))))}}],r&&qr(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);Xr.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",renderCustomPreview:null};const $r=Xr,en=window.wp.url;function tn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return on(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?on(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function on(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var rn=function(e){var t=tn((0,qe.useState)([]),2),o=t[0],r=t[1],n=tn(Co(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;(0,qe.useEffect)((function(){var e;e=(0,en.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security}),Ke()({path:e}).then((function(e){return r(e)}))}),[]);var u=function(){var e=[];return Object.keys(o).forEach((function(t){e.push({label:o[t],value:t})})),e};return u().length>0&&(0,qe.createElement)(me.SelectControl,{label:i,value:c,options:u(),onChange:s})};rn.defaultProps={attribute:"",label:void 0,value:void 0,onChange:void 0};const nn=(0,qe.memo)(rn);var an=[{label:(0,de.__)("H1","woolentor"),value:"h1"},{label:(0,de.__)("H2","woolentor"),value:"h2"},{label:(0,de.__)("H3","woolentor"),value:"h3"},{label:(0,de.__)("H4","woolentor"),value:"h4"},{label:(0,de.__)("H5","woolentor"),value:"h5"},{label:(0,de.__)("H6","woolentor"),value:"h6"},{label:(0,de.__)("P","woolentor"),value:"p"},{label:(0,de.__)("div","woolentor"),value:"div"},{label:(0,de.__)("span","woolentor"),value:"span"}],ln=[{label:(0,de.__)("None","woolentor"),value:""},{label:(0,de.__)("Solid","woolentor"),value:"solid"},{label:(0,de.__)("Double","woolentor"),value:"double"},{label:(0,de.__)("Dotted","woolentor"),value:"dotted"},{label:(0,de.__)("Dashed","woolentor"),value:"dashed"},{label:(0,de.__)("Groove","woolentor"),value:"groove"},{label:(0,de.__)("Inset","woolentor"),value:"inset"},{label:(0,de.__)("Outset","woolentor"),value:"outset"},{label:(0,de.__)("Ridge","woolentor"),value:"ridge"}];(0,de.__)("Recent Products","woolentor"),(0,de.__)("Featured Products","woolentor"),(0,de.__)("Best Selling Products","woolentor"),(0,de.__)("Sale Products","woolentor"),(0,de.__)("Top Rated Products","woolentor"),(0,de.__)("Mixed order Products","woolentor"),(0,de.__)("Descending","woolentor"),(0,de.__)("Ascending","woolentor"),(0,de.__)("None","woolentor"),(0,de.__)("ID","woolentor"),(0,de.__)("Date","woolentor"),(0,de.__)("Name","woolentor"),(0,de.__)("Title","woolentor"),(0,de.__)("Comment count","woolentor"),(0,de.__)("Random","woolentor"),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignleft"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-aligncenter"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignright"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-justify"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"desktop"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"laptop"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"tablet"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"smartphone"}));const cn=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:r,options:an,onChange:function(e){return o({titleTag:e})}}),React.createElement("hr",null),React.createElement(co,{label:(0,de.__)("Show Title","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})}})),React.createElement(co,{label:(0,de.__)("Show Description","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showDescription,onChange:function(){return o({showDescription:!t.showDescription})}})),React.createElement(co,{label:(0,de.__)("Show Image","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showImage,onChange:function(){return o({showImage:!t.showImage})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(fo,{label:(0,de.__)("Title","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Description","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.descColor,onChange:function(e){return o({descColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descSize,fallbackFontSize:t.descSize,onChange:function(e){return o({descSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.descMargin,attributesKey:"descMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};var sn=function(){return sn=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},sn.apply(this,arguments)};function un(e,t,o){if(o||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var dn=o(609),mn=o.n(dn),pn=o(833),gn=o.n(pn),fn="-ms-",bn="-moz-",yn="-webkit-",Rn="comm",wn="rule",hn="decl",En="@import",vn="@keyframes",On="@layer",Pn=Math.abs,Cn=String.fromCharCode,Bn=Object.assign;function An(e){return e.trim()}function Sn(e,t){return(e=t.exec(e))?e[0]:e}function Wn(e,t,o){return e.replace(t,o)}function kn(e,t,o){return e.indexOf(t,o)}function Tn(e,t){return 0|e.charCodeAt(t)}function xn(e,t,o){return e.slice(t,o)}function Ln(e){return e.length}function Nn(e){return e.length}function zn(e,t){return t.push(e),e}function jn(e,t){return e.filter((function(e){return!Sn(e,t)}))}var In=1,Mn=1,Fn=0,Hn=0,Dn=0,qn="";function Gn(e,t,o,r,n,a,l,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:In,column:Mn,length:l,return:"",siblings:i}}function Kn(e,t){return Bn(Gn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Un(e){for(;e.root;)e=Kn(e.root,{children:[e]});zn(e,e.siblings)}function Qn(){return Dn=Hn>0?Tn(qn,--Hn):0,Mn--,10===Dn&&(Mn=1,In--),Dn}function Vn(){return Dn=Hn<Fn?Tn(qn,Hn++):0,Mn++,10===Dn&&(Mn=1,In++),Dn}function Yn(){return Tn(qn,Hn)}function Zn(){return Hn}function Jn(e,t){return xn(qn,e,t)}function Xn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $n(e){return An(Jn(Hn-1,oa(91===e?e+2:40===e?e+1:e)))}function ea(e){for(;(Dn=Yn())&&Dn<33;)Vn();return Xn(e)>2||Xn(Dn)>3?"":" "}function ta(e,t){for(;--t&&Vn()&&!(Dn<48||Dn>102||Dn>57&&Dn<65||Dn>70&&Dn<97););return Jn(e,Zn()+(t<6&&32==Yn()&&32==Vn()))}function oa(e){for(;Vn();)switch(Dn){case e:return Hn;case 34:case 39:34!==e&&39!==e&&oa(Dn);break;case 40:41===e&&oa(e);break;case 92:Vn()}return Hn}function ra(e,t){for(;Vn()&&e+Dn!==57&&(e+Dn!==84||47!==Yn()););return"/*"+Jn(t,Hn-1)+"*"+Cn(47===e?e:Vn())}function na(e){for(;!Xn(Yn());)Vn();return Jn(e,Hn)}function aa(e,t){for(var o="",r=0;r<e.length;r++)o+=t(e[r],r,e,t)||"";return o}function la(e,t,o,r){switch(e.type){case On:if(e.children.length)break;case En:case hn:return e.return=e.return||e.value;case Rn:return"";case vn:return e.return=e.value+"{"+aa(e.children,r)+"}";case wn:if(!Ln(e.value=e.props.join(",")))return""}return Ln(o=aa(e.children,r))?e.return=e.value+"{"+o+"}":""}function ia(e,t,o){switch(function(e,t){return 45^Tn(e,0)?(((t<<2^Tn(e,0))<<2^Tn(e,1))<<2^Tn(e,2))<<2^Tn(e,3):0}(e,t)){case 5103:return yn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return yn+e+e;case 4789:return bn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return yn+e+bn+e+fn+e+e;case 5936:switch(Tn(e,t+11)){case 114:return yn+e+fn+Wn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yn+e+fn+Wn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yn+e+fn+Wn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return yn+e+fn+e+e;case 6165:return yn+e+fn+"flex-"+e+e;case 5187:return yn+e+Wn(e,/(\w+).+(:[^]+)/,yn+"box-$1$2"+fn+"flex-$1$2")+e;case 5443:return yn+e+fn+"flex-item-"+Wn(e,/flex-|-self/g,"")+(Sn(e,/flex-|baseline/)?"":fn+"grid-row-"+Wn(e,/flex-|-self/g,""))+e;case 4675:return yn+e+fn+"flex-line-pack"+Wn(e,/align-content|flex-|-self/g,"")+e;case 5548:return yn+e+fn+Wn(e,"shrink","negative")+e;case 5292:return yn+e+fn+Wn(e,"basis","preferred-size")+e;case 6060:return yn+"box-"+Wn(e,"-grow","")+yn+e+fn+Wn(e,"grow","positive")+e;case 4554:return yn+Wn(e,/([^-])(transform)/g,"$1"+yn+"$2")+e;case 6187:return Wn(Wn(Wn(e,/(zoom-|grab)/,yn+"$1"),/(image-set)/,yn+"$1"),e,"")+e;case 5495:case 3959:return Wn(e,/(image-set\([^]*)/,yn+"$1$`$1");case 4968:return Wn(Wn(e,/(.+:)(flex-)?(.*)/,yn+"box-pack:$3"+fn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+yn+e+e;case 4200:if(!Sn(e,/flex-|baseline/))return fn+"grid-column-align"+xn(e,t)+e;break;case 2592:case 3360:return fn+Wn(e,"template-","")+e;case 4384:case 3616:return o&&o.some((function(e,o){return t=o,Sn(e.props,/grid-\w+-end/)}))?~kn(e+(o=o[t].value),"span",0)?e:fn+Wn(e,"-start","")+e+fn+"grid-row-span:"+(~kn(o,"span",0)?Sn(o,/\d+/):+Sn(o,/\d+/)-+Sn(e,/\d+/))+";":fn+Wn(e,"-start","")+e;case 4896:case 4128:return o&&o.some((function(e){return Sn(e.props,/grid-\w+-start/)}))?e:fn+Wn(Wn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Wn(e,/(.+)-inline(.+)/,yn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ln(e)-1-t>6)switch(Tn(e,t+1)){case 109:if(45!==Tn(e,t+4))break;case 102:return Wn(e,/(.+:)(.+)-([^]+)/,"$1"+yn+"$2-$3$1"+bn+(108==Tn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~kn(e,"stretch",0)?ia(Wn(e,"stretch","fill-available"),t,o)+e:e}break;case 5152:case 5920:return Wn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,o,r,n,a,l,i){return fn+o+":"+r+i+(n?fn+o+"-span:"+(a?l:+l-+r)+i:"")+e}));case 4949:if(121===Tn(e,t+6))return Wn(e,":",":"+yn)+e;break;case 6444:switch(Tn(e,45===Tn(e,14)?18:11)){case 120:return Wn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+yn+(45===Tn(e,14)?"inline-":"")+"box$3$1"+yn+"$2$3$1"+fn+"$2box$3")+e;case 100:return Wn(e,":",":"+fn)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Wn(e,"scroll-","scroll-snap-")+e}return e}function ca(e,t,o,r){if(e.length>-1&&!e.return)switch(e.type){case hn:return void(e.return=ia(e.value,e.length,o));case vn:return aa([Kn(e,{value:Wn(e.value,"@","@"+yn)})],r);case wn:if(e.length)return function(e,t){return e.map(t).join("")}(o=e.props,(function(t){switch(Sn(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Un(Kn(e,{props:[Wn(t,/:(read-\w+)/,":"+bn+"$1")]})),Un(Kn(e,{props:[t]})),Bn(e,{props:jn(o,r)});break;case"::placeholder":Un(Kn(e,{props:[Wn(t,/:(plac\w+)/,":"+yn+"input-$1")]})),Un(Kn(e,{props:[Wn(t,/:(plac\w+)/,":"+bn+"$1")]})),Un(Kn(e,{props:[Wn(t,/:(plac\w+)/,fn+"input-$1")]})),Un(Kn(e,{props:[t]})),Bn(e,{props:jn(o,r)})}return""}))}}function sa(e){return function(e){return qn="",e}(ua("",null,null,null,[""],e=function(e){return In=Mn=1,Fn=Ln(qn=e),Hn=0,[]}(e),0,[0],e))}function ua(e,t,o,r,n,a,l,i,c){for(var s=0,u=0,d=l,m=0,p=0,g=0,f=1,b=1,y=1,R=0,_="",w=n,h=a,E=r,v=_;b;)switch(g=R,R=Vn()){case 40:if(108!=g&&58==Tn(v,d-1)){-1!=kn(v+=Wn($n(R),"&","&\f"),"&\f",Pn(s?i[s-1]:0))&&(y=-1);break}case 34:case 39:case 91:v+=$n(R);break;case 9:case 10:case 13:case 32:v+=ea(g);break;case 92:v+=ta(Zn()-1,7);continue;case 47:switch(Yn()){case 42:case 47:zn(ma(ra(Vn(),Zn()),t,o,c),c);break;default:v+="/"}break;case 123*f:i[s++]=Ln(v)*y;case 125*f:case 59:case 0:switch(R){case 0:case 125:b=0;case 59+u:-1==y&&(v=Wn(v,/\f/g,"")),p>0&&Ln(v)-d&&zn(p>32?pa(v+";",r,o,d-1,c):pa(Wn(v," ","")+";",r,o,d-2,c),c);break;case 59:v+=";";default:if(zn(E=da(v,t,o,s,u,n,i,_,w=[],h=[],d,a),a),123===R)if(0===u)ua(v,t,E,E,w,a,d,i,h);else switch(99===m&&110===Tn(v,3)?100:m){case 100:case 108:case 109:case 115:ua(e,E,E,r&&zn(da(e,E,E,0,0,n,i,_,n,w=[],d,h),h),n,h,d,i,r?w:h);break;default:ua(v,E,E,E,[""],h,0,i,h)}}s=u=p=0,f=y=1,_=v="",d=l;break;case 58:d=1+Ln(v),p=g;default:if(f<1)if(123==R)--f;else if(125==R&&0==f++&&125==Qn())continue;switch(v+=Cn(R),R*f){case 38:y=u>0?1:(v+="\f",-1);break;case 44:i[s++]=(Ln(v)-1)*y,y=1;break;case 64:45===Yn()&&(v+=$n(Vn())),m=Yn(),u=d=Ln(_=v+=na(Zn())),R++;break;case 45:45===g&&2==Ln(v)&&(f=0)}}return a}function da(e,t,o,r,n,a,l,i,c,s,u,d){for(var m=n-1,p=0===n?a:[""],g=Nn(p),f=0,b=0,y=0;f<r;++f)for(var R=0,_=xn(e,m+1,m=Pn(b=l[f])),w=e;R<g;++R)(w=An(b>0?p[R]+" "+_:Wn(_,/&\f/g,p[R])))&&(c[y++]=w);return Gn(e,t,o,0===n?wn:i,c,s,u,d)}function ma(e,t,o,r){return Gn(e,t,o,Rn,Cn(Dn),xn(e,2,-2),0,r)}function pa(e,t,o,r,n){return Gn(e,t,o,hn,xn(e,0,r),xn(e,r+1,-1),r,n)}const ga={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var fa="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ba="active",ya="data-styled-version",Ra="6.1.8",_a="/*!sc*/\n",wa="undefined"!=typeof window&&"HTMLElement"in window,ha=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),Ea=(new Set,Object.freeze([])),va=Object.freeze({});var Oa=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Pa=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ca=/(^-|-$)/g;function Ba(e){return e.replace(Pa,"-").replace(Ca,"")}var Aa=/(a)(d)/gi,Sa=52,Wa=function(e){return String.fromCharCode(e+(e>25?39:97))};function ka(e){var t,o="";for(t=Math.abs(e);t>Sa;t=t/Sa|0)o=Wa(t%Sa)+o;return(Wa(t%Sa)+o).replace(Aa,"$1-$2")}var Ta,xa=5381,La=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},Na=function(e){return La(xa,e)};function za(e){return"string"==typeof e&&!0}var ja="function"==typeof Symbol&&Symbol.for,Ia=ja?Symbol.for("react.memo"):60115,Ma=ja?Symbol.for("react.forward_ref"):60112,Fa={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ha={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Da={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qa=((Ta={})[Ma]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ta[Ia]=Da,Ta);function Ga(e){return("type"in(t=e)&&t.type.$$typeof)===Ia?Da:"$$typeof"in e?qa[e.$$typeof]:Fa;var t}var Ka=Object.defineProperty,Ua=Object.getOwnPropertyNames,Qa=Object.getOwnPropertySymbols,Va=Object.getOwnPropertyDescriptor,Ya=Object.getPrototypeOf,Za=Object.prototype;function Ja(e,t,o){if("string"!=typeof t){if(Za){var r=Ya(t);r&&r!==Za&&Ja(e,r,o)}var n=Ua(t);Qa&&(n=n.concat(Qa(t)));for(var a=Ga(e),l=Ga(t),i=0;i<n.length;++i){var c=n[i];if(!(c in Ha||o&&o[c]||l&&c in l||a&&c in a)){var s=Va(t,c);try{Ka(e,c,s)}catch(e){}}}}return e}function Xa(e){return"function"==typeof e}function $a(e){return"object"==typeof e&&"styledComponentId"in e}function el(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tl(e,t){if(0===e.length)return"";for(var o=e[0],r=1;r<e.length;r++)o+=t?t+e[r]:e[r];return o}function ol(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function rl(e,t,o){if(void 0===o&&(o=!1),!o&&!ol(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=rl(e[r],t[r]);else if(ol(t))for(var r in t)e[r]=rl(e[r],t[r]);return e}function nl(e,t){Object.defineProperty(e,"toString",{value:t})}function al(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ll=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,o=0;o<e;o++)t+=this.groupSizes[o];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var o=this.groupSizes,r=o.length,n=r;e>=n;)if((n<<=1)<0)throw al(16,"".concat(e));this.groupSizes=new Uint32Array(n),this.groupSizes.set(o),this.length=n;for(var a=r;a<n;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=(a=0,t.length);a<i;a++)this.tag.insertRule(l,t[a])&&(this.groupSizes[e]++,l++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],o=this.indexOfGroup(e),r=o+t;this.groupSizes[e]=0;for(var n=o;n<r;n++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var o=this.groupSizes[e],r=this.indexOfGroup(e),n=r+o,a=r;a<n;a++)t+="".concat(this.tag.getRule(a)).concat(_a);return t},e}(),il=new Map,cl=new Map,sl=1,ul=function(e){if(il.has(e))return il.get(e);for(;cl.has(sl);)sl++;var t=sl++;return il.set(e,t),cl.set(t,e),t},dl=function(e,t){sl=t+1,il.set(e,t),cl.set(t,e)},ml="style[".concat(fa,"][").concat(ya,'="').concat(Ra,'"]'),pl=new RegExp("^".concat(fa,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),gl=function(e,t,o){for(var r,n=o.split(","),a=0,l=n.length;a<l;a++)(r=n[a])&&e.registerName(t,r)},fl=function(e,t){for(var o,r=(null!==(o=t.textContent)&&void 0!==o?o:"").split(_a),n=[],a=0,l=r.length;a<l;a++){var i=r[a].trim();if(i){var c=i.match(pl);if(c){var s=0|parseInt(c[1],10),u=c[2];0!==s&&(dl(u,s),gl(e,u,c[3]),e.getTag().insertRules(s,n)),n.length=0}else n.push(i)}}};function bl(){return o.nc}var yl=function(e){var t=document.head,o=e||t,r=document.createElement("style"),n=function(e){var t=Array.from(e.querySelectorAll("style[".concat(fa,"]")));return t[t.length-1]}(o),a=void 0!==n?n.nextSibling:null;r.setAttribute(fa,ba),r.setAttribute(ya,Ra);var l=bl();return l&&r.setAttribute("nonce",l),o.insertBefore(r,a),r},Rl=function(){function e(e){this.element=yl(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,o=0,r=t.length;o<r;o++){var n=t[o];if(n.ownerNode===e)return n}throw al(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),_l=function(){function e(e){this.element=yl(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var o=document.createTextNode(t);return this.element.insertBefore(o,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wl=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),hl=wa,El={isServer:!wa,useCSSOMInjection:!ha},vl=function(){function e(e,t,o){void 0===e&&(e=va),void 0===t&&(t={});var r=this;this.options=sn(sn({},El),e),this.gs=t,this.names=new Map(o),this.server=!!e.isServer,!this.server&&wa&&hl&&(hl=!1,function(e){for(var t=document.querySelectorAll(ml),o=0,r=t.length;o<r;o++){var n=t[o];n&&n.getAttribute(fa)!==ba&&(fl(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this)),nl(this,(function(){return function(e){for(var t=e.getTag(),o=t.length,r="",n=function(o){var n=function(e){return cl.get(e)}(o);if(void 0===n)return"continue";var a=e.names.get(n),l=t.getGroup(o);if(void 0===a||0===l.length)return"continue";var i="".concat(fa,".g").concat(o,'[id="').concat(n,'"]'),c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(l).concat(i,'{content:"').concat(c,'"}').concat(_a)},a=0;a<o;a++)n(a);return r}(r)}))}return e.registerId=function(e){return ul(e)},e.prototype.reconstructWithOptions=function(t,o){return void 0===o&&(o=!0),new e(sn(sn({},this.options),t),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,o=e.target;return e.isServer?new wl(o):t?new Rl(o):new _l(o)}(this.options),new ll(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ul(e),this.names.has(e))this.names.get(e).add(t);else{var o=new Set;o.add(t),this.names.set(e,o)}},e.prototype.insertRules=function(e,t,o){this.registerName(e,t),this.getTag().insertRules(ul(e),o)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ul(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ol=/&/g,Pl=/^\s*\/\/.*$/gm;function Cl(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Cl(e.children,t)),e}))}function Bl(e){var t,o,r,n=void 0===e?va:e,a=n.options,l=void 0===a?va:a,i=n.plugins,c=void 0===i?Ea:i,s=function(e,r,n){return n.startsWith(o)&&n.endsWith(o)&&n.replaceAll(o,"").length>0?".".concat(t):e},u=c.slice();u.push((function(e){e.type===wn&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ol,o).replace(r,s))})),l.prefix&&u.push(ca),u.push(la);var d=function(e,n,a,i){void 0===n&&(n=""),void 0===a&&(a=""),void 0===i&&(i="&"),t=i,o=n,r=new RegExp("\\".concat(o,"\\b"),"g");var c=e.replace(Pl,""),s=sa(a||n?"".concat(a," ").concat(n," { ").concat(c," }"):c);l.namespace&&(s=Cl(s,l.namespace));var d,m,p,g=[];return aa(s,(d=u.concat((p=function(e){return g.push(e)},function(e){e.root||(e=e.return)&&p(e)})),m=Nn(d),function(e,t,o,r){for(var n="",a=0;a<m;a++)n+=d[a](e,t,o,r)||"";return n})),g};return d.hash=c.length?c.reduce((function(e,t){return t.name||al(15),La(e,t.name)}),xa).toString():"",d}var Al=new vl,Sl=Bl(),Wl=mn().createContext({shouldForwardProp:void 0,styleSheet:Al,stylis:Sl}),kl=(Wl.Consumer,mn().createContext(void 0));function Tl(){return(0,dn.useContext)(Wl)}function xl(e){var t=(0,dn.useState)(e.stylisPlugins),o=t[0],r=t[1],n=Tl().styleSheet,a=(0,dn.useMemo)((function(){var t=n;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,n]),l=(0,dn.useMemo)((function(){return Bl({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:o})}),[e.enableVendorPrefixes,e.namespace,o]);(0,dn.useEffect)((function(){gn()(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var i=(0,dn.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:l}}),[e.shouldForwardProp,a,l]);return mn().createElement(Wl.Provider,{value:i},mn().createElement(kl.Provider,{value:l},e.children))}var Ll=function(){function e(e,t){var o=this;this.inject=function(e,t){void 0===t&&(t=Sl);var r=o.name+t.hash;e.hasNameForId(o.id,r)||e.insertRules(o.id,r,t(o.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,nl(this,(function(){throw al(12,String(o.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Sl),this.name+e.hash},e}(),Nl=function(e){return e>="A"&&e<="Z"};function zl(e){for(var t="",o=0;o<e.length;o++){var r=e[o];if(1===o&&"-"===r&&"-"===e[0])return e;Nl(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var jl=function(e){return null==e||!1===e||""===e},Il=function(e){var t,o,r=[];for(var n in e){var a=e[n];e.hasOwnProperty(n)&&!jl(a)&&(Array.isArray(a)&&a.isCss||Xa(a)?r.push("".concat(zl(n),":"),a,";"):ol(a)?r.push.apply(r,un(un(["".concat(n," {")],Il(a),!1),["}"],!1)):r.push("".concat(zl(n),": ").concat((t=n,null==(o=a)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||t in ga||t.startsWith("--")?String(o).trim():"".concat(o,"px")),";")))}return r};function Ml(e,t,o,r){return jl(e)?[]:$a(e)?[".".concat(e.styledComponentId)]:Xa(e)?!Xa(n=e)||n.prototype&&n.prototype.isReactComponent||!t?[e]:Ml(e(t),t,o,r):e instanceof Ll?o?(e.inject(o,r),[e.getName(r)]):[e]:ol(e)?Il(e):Array.isArray(e)?Array.prototype.concat.apply(Ea,e.map((function(e){return Ml(e,t,o,r)}))):[e.toString()];var n}function Fl(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(Xa(o)&&!$a(o))return!1}return!0}var Hl=Na(Ra),Dl=function(){function e(e,t,o){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===o||o.isStatic)&&Fl(e),this.componentId=t,this.baseHash=La(Hl,t),this.baseStyle=o,vl.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,o){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=el(r,this.staticRulesId);else{var n=tl(Ml(this.rules,e,t,o)),a=ka(La(this.baseHash,n)>>>0);if(!t.hasNameForId(this.componentId,a)){var l=o(n,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,l)}r=el(r,a),this.staticRulesId=a}else{for(var i=La(this.baseHash,o.hash),c="",s=0;s<this.rules.length;s++){var u=this.rules[s];if("string"==typeof u)c+=u;else if(u){var d=tl(Ml(u,e,t,o));i=La(i,d+s),c+=d}}if(c){var m=ka(i>>>0);t.hasNameForId(this.componentId,m)||t.insertRules(this.componentId,m,o(c,".".concat(m),void 0,this.componentId)),r=el(r,m)}}return r},e}(),ql=mn().createContext(void 0);ql.Consumer;var Gl={};function Kl(e,t,o){var r=$a(e),n=e,a=!za(e),l=t.attrs,i=void 0===l?Ea:l,c=t.componentId,s=void 0===c?function(e,t){var o="string"!=typeof e?"sc":Ba(e);Gl[o]=(Gl[o]||0)+1;var r="".concat(o,"-").concat(function(e){return ka(Na(e)>>>0)}(Ra+o+Gl[o]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):c,u=t.displayName,d=void 0===u?function(e){return za(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):u,m=t.displayName&&t.componentId?"".concat(Ba(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&n.attrs?n.attrs.concat(i).filter(Boolean):i,g=t.shouldForwardProp;if(r&&n.shouldForwardProp){var f=n.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;g=function(e,t){return f(e,t)&&b(e,t)}}else g=f}var y=new Dl(o,m,r?n.componentStyle:void 0);function R(e,t){return function(e,t,o){var r=e.attrs,n=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,i=e.styledComponentId,c=e.target,s=mn().useContext(ql),u=Tl(),d=e.shouldForwardProp||u.shouldForwardProp,m=function(e,t,o){return void 0===o&&(o=va),e.theme!==o.theme&&e.theme||t||o.theme}(t,s,a)||va,p=function(e,t,o){for(var r,n=sn(sn({},t),{className:void 0,theme:o}),a=0;a<e.length;a+=1){var l=Xa(r=e[a])?r(n):r;for(var i in l)n[i]="className"===i?el(n[i],l[i]):"style"===i?sn(sn({},n[i]),l[i]):l[i]}return t.className&&(n.className=el(n.className,t.className)),n}(r,t,m),g=p.as||c,f={};for(var b in p)void 0===p[b]||"$"===b[0]||"as"===b||"theme"===b&&p.theme===m||("forwardedAs"===b?f.as=p.forwardedAs:d&&!d(b,g)||(f[b]=p[b]));var y=function(e,t){var o=Tl();return e.generateAndInjectStyles(t,o.styleSheet,o.stylis)}(n,p),R=el(l,i);return y&&(R+=" "+y),p.className&&(R+=" "+p.className),f[za(g)&&!Oa.has(g)?"class":"className"]=R,f.ref=o,(0,dn.createElement)(g,f)}(_,e,t)}R.displayName=d;var _=mn().forwardRef(R);return _.attrs=p,_.componentStyle=y,_.displayName=d,_.shouldForwardProp=g,_.foldedComponentIds=r?el(n.foldedComponentIds,n.styledComponentId):"",_.styledComponentId=m,_.target=r?n.target:e,Object.defineProperty(_,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var r=0,n=t;r<n.length;r++)rl(e,n[r],!0);return e}({},n.defaultProps,e):e}}),nl(_,(function(){return".".concat(_.styledComponentId)})),a&&Ja(_,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),_}function Ul(e,t){for(var o=[e[0]],r=0,n=t.length;r<n;r+=1)o.push(t[r],e[r+1]);return o}new Set;var Ql=function(e){return Object.assign(e,{isCss:!0})};function Vl(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(Xa(e)||ol(e))return Ql(Ml(Ul(Ea,un([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ml(r):Ql(Ml(Ul(r,t)))}function Yl(e,t,o){if(void 0===o&&(o=va),!t)throw al(1,t);var r=function(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return e(t,o,Vl.apply(void 0,un([r],n,!1)))};return r.attrs=function(r){return Yl(e,t,sn(sn({},o),{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Yl(e,t,sn(sn({},o),r))},r}var Zl,Jl,Xl,$l,ei=function(e){return Yl(Kl,e)},ti=ei;function oi(e){return oi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oi(e)}function ri(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ni(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ai(r.key),r)}}function ai(e){var t=function(e,t){if("object"!=oi(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=oi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oi(t)?t:String(t)}function li(e,t,o){return t=ci(t),function(e,t){if(t&&("object"===oi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ii()?Reflect.construct(t,o||[],ci(e).constructor):t.apply(e,o))}function ii(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ii=function(){return!!e})()}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ci(e)}function si(e,t){return si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},si(e,t)}Oa.forEach((function(e){ti[e]=ei(e)})),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Fl(e),vl.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,o,r){var n=r(tl(Ml(this.rules,t,o,r)),""),a=this.componentId+e;o.insertRules(a,a,n)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,o,r){e>2&&vl.registerId(this.componentId+e),this.removeStyles(e,o),this.createStyles(e,t,o,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),o=bl(),r=tl([o&&'nonce="'.concat(o,'"'),"".concat(fa,'="true"'),"".concat(ya,'="').concat(Ra,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw al(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw al(2);var o=((t={})[fa]="",t[ya]=Ra,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=bl();return r&&(o.nonce=r),[mn().createElement("style",sn({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new vl({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw al(2);return mn().createElement(xl,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw al(3)}}(),"__sc-".concat(fa,"__");var ui=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),li(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&si(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=ai(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-archive-data-area"),m=ti.div(Zl||(Zl=ri(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),t.areaPadding&&Me(t.areaPadding,"padding"),Fe(i),Ie(t.contentAlignment,"text-align")),p=ti.div(Jl||(Jl=ri(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),Ie(t.titleColor,"color","!important"),Ie(t.titleSize,"font-size","!important"),t.titleMargin&&Me(t.titleMargin,"margin","!important")),g=ti.div(Xl||(Xl=ri(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),Ie(t.descColor,"color"),Ie(t.descSize,"font-size"),t.descMargin&&Me(t.descMargin,"margin")),f=ti.div($l||($l=ri(["\n\t\t\t\n\t\t"]))),b={title:(0,de.__)("Archive Title","woolentor"),desc:(0,de.__)("Lorem Ipsum is simply dummy text of the printing and typesetting industry.","woolentor"),image_url:woolentorData.url+"/src/assets/images/overlay_image.jpeg"};return React.createElement(qe.Fragment,null,r&&React.createElement(cn,this.props),React.createElement(m,{className:d},t.showImage&&React.createElement(f,{className:"woolentor-archive-image"},React.createElement("img",{src:b.image_url,alt:b.title})),t.showTitle&&React.createElement(p,{className:"woolentor-archive-title",as:t.titleTag},b.title),t.showDescription&&React.createElement(g,{className:"woolentor-archive-desc"},b.desc)))}}],r&&ni(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const di=ui,mi=JSON.parse('{"name":"woolentor/archive-title","category":"woolentor-blocks","title":"WL : Archive Title","description":"Display archive title.","keywords":["woolentor","archive","title","category title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"showTitle":{"type":"boolean","default":true},"showDescription":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":false},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align:{{contentAlignment}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ color:{{titleColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ font-size:{{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ margin:{{titleMargin}}!important; }"}},"descColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ color:{{descColor}}!important; }"}},"descSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ font-size:{{descSize}}!important; }"}},"descMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ margin:{{descMargin}}!important; }"}}}}'),pi=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var gi=mi.name,fi=mi.category,bi=mi.title,yi=mi.description,Ri=mi.keywords,_i=mi.attributes,wi={title:(0,de.__)(bi,"woolentor"),description:(0,de.__)(yi,"woolentor"),icon:React.createElement(me.Icon,{icon:pi}),keywords:Ri,example:{attributes:{title_tag:"h2"}},attributes:_i,edit:di,save:function(){return null}};function hi(e){return hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hi(e)}function Ei(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function vi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(o),!0).forEach((function(t){Oi(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ei(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Oi(e,t,o){return r=function(e,t){if("object"!=hi(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==hi(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Pi(e){return function(e){if(Array.isArray(e))return Bi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ci(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ci(e,t){if(e){if("string"==typeof e)return Bi(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bi(e,t):void 0}}function Bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Ai=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||Ci(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=(o.columns,o.noGutter),c=function(e,t,n){var a=o.brandLogoList.map((function(o,r){return r===n?vi(vi({},o),{},Oi({},t,"image"===t?vi(vi({},o.image),e):e)):o}));r({brandLogoList:a})};return o.brandLogoList.length>0&&(t=o.brandLogoList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.brandLogoList[t].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,de.__)("Delete Brand","woolentor"),onClick:function(){return function(e){var t=Pi(o.brandLogoList);t.splice(e,1),r({brandLogoList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Brand Title","woolentor"),value:o.brandLogoList[t].title,onChange:function(e){return c(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Xo,{title:(0,de.__)("Choose Image","woolentor"),ImageData:o.brandLogoList[t].image,onChange:function(e){return c(e,"image",t)}})),React.createElement(me.TextControl,{label:(0,de.__)("Brand Link","woolentor"),value:o.brandLogoList[t].link,placeholder:(0,de.__)("https://your-site.com","woolentor"),onChange:function(e){return c(e,"link",t)}}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Pi(o.brandLogoList);e.push({title:(0,de.__)("Brand Item #"+(o.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),r({brandLogoList:e}),l(o.brandLogoList.length)}.bind(void 0)},(0,de.__)("Add Brand","woolentor"))),React.createElement(Yt,{title:(0,de.__)("Brand Option","woolentor")},!0!==o.slider&&React.createElement(React.Fragment,null,React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:i,help:i?(0,de.__)("Enable No Gutters.","woolentor"):(0,de.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return r({noGutter:!i})}}),!i&&React.createElement(me.RangeControl,{label:(0,de.__)("Gutter Spacing","woolentor"),value:o.itemSpace,onChange:function(e){return r({itemSpace:e})},min:0,step:1,max:200})),React.createElement(co,{label:(0,de.__)("Slider","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.slider,onChange:function(){return r({slider:!o.slider})}}))),!0===o.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:o.sliderItems,onChange:function(e){return r({sliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.arrows,onChange:function(){return r({arrows:!o.arrows})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.dots,onChange:function(){return r({dots:!o.dots})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.pauseOnHover,onChange:function(){return r({pauseOnHover:!o.pauseOnHover})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.autoplay,onChange:function(){return r({autoplay:!o.autoplay})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:o.autoplaySpeed,onChange:function(e){return r({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:o.animationSpeed,onChange:function(e){return r({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:o.scrollColumns,onChange:function(e){return r({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(fo,{label:(0,de.__)("Tablet Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:o.tabletDisplayColumns,onChange:function(e){return r({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:o.tabletScrollColumns,onChange:function(e){return r({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:o.tabletWidth,onChange:function(e){return r({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(fo,{label:(0,de.__)("Mobile Phone Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:o.mobileDisplayColumns,onChange:function(e){return r({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:o.mobileScrollColumns,onChange:function(e){return r({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:o.mobileWidth,onChange:function(e){return r({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Brand Item","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:o.singleItemAreaBorderType,options:ln,onChange:function(e){return r({singleItemAreaBorderType:e})}}),o.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:o.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:r}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:o.singleItemAreaBorderColor,onChange:function(e){return r({singleItemAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:r}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:r}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:r}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"brandAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Brand Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:o.brandImageBorderType,options:ln,onChange:function(e){return r({brandImageBorderType:e})}}),o.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:o.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:r}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:o.brandImageBorderColor,onChange:function(e){return r({brandImageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:r})),!0===o.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationColor,onChange:function(e){return r({navigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationBGColor,onChange:function(e){return r({navigationBGColor:e})}})),React.createElement(jr,{value:o.navigationBorder,onChange:function(e){return r({navigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationHoverColor,onChange:function(e){return r({navigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationHoverBGColor,onChange:function(e){return r({navigationHoverBGColor:e})}})),React.createElement(jr,{value:o.navigationHoverBorder,onChange:function(e){return r({navigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:o.paginationPosition,onChange:function(e){return r({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.paginationColor,onChange:function(e){return r({paginationColor:e})}})),React.createElement(jr,{value:o.paginationBorder,onChange:function(e){return r({paginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.paginationActiveColor,onChange:function(e){return r({paginationActiveColor:e})}})),React.createElement(jr,{value:o.paginationActiveBorder,onChange:function(e){return r({paginationActiveBorder:e})}}))))))};var Si,Wi,ki=o(589);function Ti(e){return Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ti(e)}function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},xi.apply(this,arguments)}function Li(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ni(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function zi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ni(Object(o),!0).forEach((function(t){ji(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ni(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ji(e,t,o){return(t=Mi(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ii(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Mi(r.key),r)}}function Mi(e){var t=function(e,t){if("object"!=Ti(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ti(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ti(t)?t:String(t)}function Fi(e,t,o){return t=Di(t),function(e,t){if(t&&("object"===Ti(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Hi()?Reflect.construct(t,o||[],Di(e).constructor):t.apply(e,o))}function Hi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Hi=function(){return!!e})()}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Di(e)}function qi(e,t){return qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qi(e,t)}var Gi=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"130",height:"130",viewBox:"0 0 130 130"},React.createElement("image",{id:"woolentor-logo",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"})),Ki=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Fi(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qi(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=o.blockUniqId;""==l&&n({blockUniqId:a});var i=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(me.Button,{className:t,style:zi(zi({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-right"}))},c=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(me.Button,{className:t,style:zi(zi({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-left"}))},s={dots:o.dots,infinite:!0,fade:!1,speed:o.animationSpeed,slidesToShow:o.sliderItems,slidesToScroll:o.scrollColumns,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,pauseOnHover:o.pauseOnHover,arrows:o.arrows,nextArrow:React.createElement(i,null),prevArrow:React.createElement(c,null),rtl:o.slIsrtl,responsive:[{breakpoint:o.tabletWidth,settings:{slidesToShow:o.tabletDisplayColumns,slidesToScroll:o.tabletScrollColumns}},{breakpoint:o.mobileWidth,settings:{slidesToShow:o.mobileDisplayColumns,slidesToScroll:o.mobileScrollColumns}}]},u=Kt()(t,"woolentorblock-brand-logo-"+l,ji({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),ji({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),ji({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),ji({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),d=Kt()(ji({},"woolentor-grid",1!=o.slider),ji({},"woolentor-no-gutters",!0===o.noGutter),ji({},"woolentor-grid-slider",!0===o.slider)),m=ti.div(Si||(Si=Li(["\n\t\t\t& .woolentor-grid:not(.woolentor-no-gutters){\n\t\t\t\t","\n\t\t\t}\n\t\t"])),!o.noGutter&&"column-gap: "+o.itemSpace+"px;"),p=".woolentorblock-brand-logo-"+l,g=ti.div(Wi||(Wi=Li(["\n\t\t\t& .wl-single-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& img,.woolentor-default-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t"])),Ie(o.singleItemAreaBorderType,"border-style"),Me(o.singleItemAreaBorderWidth,"border-width"),Ie(o.singleItemAreaBorderColor,"border-color"),Me(o.singleItemAreaBorderRadius,"border-radius"),Me(o.singleItemAreaMargin,"margin"),Me(o.singleItemAreaPadding,"padding"),Ie(o.brandAlignment,"text-align"),Ie(o.brandImageBorderType,"border-style"),Me(o.brandImageBorderWidth,"border-width"),Ie(o.brandImageBorderColor,"border-color"),Me(o.brandImageBorderRadius,"border-radius")),f="\n\t\t\t".concat(p," .product-slider .slick-arrow {\n\t\t\t\t").concat(Ie(o.navigationColor,"color"),"\n\t\t\t\t").concat(Ie(o.navigationBGColor,"background-color"),"\n\t\t\t\t").concat(He(o.navigationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-arrow:hover {\n\t\t\t\t").concat(Ie(o.navigationHoverColor,"color"),"\n\t\t\t\t").concat(Ie(o.navigationHoverBGColor,"background-color"),"\n\t\t\t\t").concat(He(o.navigationHoverBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots{\n\t\t\t\t").concat(Ie(o.paginationPosition,"bottom","px"),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li button {\n\t\t\t\t").concat(Ie(o.paginationColor,"background-color"),"\n\t\t\t\t").concat(He(o.paginationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li.slick-active button {\n\t\t\t\t").concat(Ie(o.paginationActiveColor,"background-color"),"\n\t\t\t\t").concat(He(o.paginationActiveBorder),"\n\t\t\t}\n\t\t"),b=o.brandLogoList.map((function(e,t){return React.createElement(g,{className:"woolentor-grid-column",key:t},React.createElement("div",{className:"wl-single-brand"},e.image.url?React.createElement("img",{src:e.image.url,alt:e.title}):React.createElement("div",{className:"woolentor-default-brand"},Gi)))}));return React.createElement(qe.Fragment,null,r&&React.createElement(Ai,this.props),React.createElement(m,{className:u},React.createElement("div",{className:d},!0===o.slider?React.createElement(ki.A,xi({},s,{className:"product-slider"}),b):b),React.createElement("style",{type:"text/css"},f)))}}],r&&Ii(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Ui=Ki,Qi=JSON.parse('{"name":"woolentor/brand-logo","category":"woolentor-blocks","title":"WL : Brand Logo","description":"Display brand logo.","keywords":["woolentor","logo","brand","brand logo"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"brandLogoList":{"type":"array","default":[{"title":"Brand Title One","image":{"id":"","url":""}},{"title":"Brand Title Two","image":{"id":"","url":""}},{"title":"Brand Title Three","image":{"id":"","url":""}}]},"columns":{"type":"object","default":{"desktop":6}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"singleItemAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-style: {{singleItemAreaBorderType}}; }"}},"singleItemAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-width: {{singleItemAreaBorderWidth}}; }"}},"singleItemAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-color: {{singleItemAreaBorderColor}}; }"}},"singleItemAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-radius: {{singleItemAreaBorderRadius}}; }"}},"singleItemAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { margin: {{singleItemAreaMargin}}; }"}},"singleItemAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { padding: {{singleItemAreaPadding}}; }"}},"brandAlignment":{"type":"string","default":"center","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { text-align: {{brandAlignment}}; }"}},"brandImageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-style: {{brandImageBorderType}}; }"}},"brandImageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-width: {{brandImageBorderWidth}}; }"}},"brandImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-color: {{brandImageBorderColor}}; }"}},"brandImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-radius: {{brandImageBorderRadius}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),Vi=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512"},React.createElement("path",{d:"M166,0H75C33.645,0,0,33.645,0,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75V75 C241,33.645,207.355,0,166,0z M211,166c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45V75c0-24.813,20.187-45,45-45h91 c24.813,0,45,20.187,45,45V166z"}),React.createElement("path",{d:"M437,271h-91c-41.355,0-75,33.645-75,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91 C512,304.645,478.355,271,437,271z M482,437c0,24.813-20.187,45-45,45h-91c-24.813,0-45-20.187-45-45v-91 c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45V437z"}),React.createElement("path",{d:"M437,0h-91c-41.355,0-75,33.645-75,75v91c0,57.897-47.103,105-105,105H75c-41.355,0-75,33.645-75,75v91 c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91c0-57.897,47.103-105,105-105h91c41.355,0,75-33.645,75-75V75 C512,33.645,478.355,0,437,0z M211,346v91c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45v-91c0-24.813,20.187-45,45-45 h91c20.827,0,40.568-4.741,58.2-13.2C215.741,305.432,211,325.173,211,346z M482,166c0,24.813-20.187,45-45,45h-91 c-20.827,0-40.568,4.741-58.2,13.2c8.459-17.632,13.2-37.373,13.2-58.2V75c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45 V166z"}));var Yi=Qi.name,Zi=Qi.category,Ji=Qi.title,Xi=Qi.description,$i=Qi.keywords,ec=Qi.supports,tc=Qi.attributes,oc={title:(0,de.__)(Ji,"woolentor"),description:(0,de.__)(Xi,"woolentor"),icon:React.createElement(me.Icon,{icon:Vi}),keywords:$i,supports:ec,attributes:tc,edit:Ui,save:function(){return null}};const rc=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Separator","woolentor"),placeholder:(0,de.__)("/","woolentor"),value:t.separator,onChange:function(e){return o({separator:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Space","woolentor"),value:t.space,onChange:function(e){return o({space:e})},min:0,step:1,max:500}),React.createElement(fo,{label:(0,de.__)("Separator","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.separateColor,onChange:function(e){return o({separateColor:e})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:t.separateSize,onChange:function(e){return o({separateSize:e})},min:0,step:1,max:500}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function nc(e){return nc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nc(e)}function ac(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lc(r.key),r)}}function lc(e){var t=function(e,t){if("object"!=nc(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nc(t)?t:String(t)}function ic(e,t,o){return t=sc(t),function(e,t){if(t&&("object"===nc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cc()?Reflect.construct(t,o||[],sc(e).constructor):t.apply(e,o))}function cc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cc=function(){return!!e})()}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sc(e)}function uc(e,t){return uc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uc(e,t)}var dc=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ic(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uc(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=lc(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-breadcrumb","woolentorblock-".concat(i)),m=""!=o.separator?React.createElement("span",{className:"breadcrumb-separator"},o.separator):React.createElement("span",{className:"breadcrumb-separator"}," / "),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(rc,this.props),React.createElement("div",{className:d},React.createElement("nav",{className:"woocommerce-breadcrumb"},React.createElement("a",{href:"#"},(0,de.__)("Home","woolentor")),m,React.createElement("a",{href:"#"},(0,de.__)("Shop","woolentor")),m,(0,de.__)("Sample Product","woolentor"))),p)}}],r&&ac(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const mc=dc,pc=JSON.parse('{"name":"woolentor/breadcrumbs","category":"woolentor-blocks","title":"WL : Breadcrumbs","description":"Display breadcrumbs.","keywords":["woolentor","breadcrumbs","navigation","breadcrumb","breadcrumbs menu"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"separator":{"type":"string","default":"/"},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {text-align:{{contentAlignment}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb{color:{{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a{color:{{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a:hover{color:{{linkHoverColor}}; }"}},"space":{"type":"number","default":10,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{margin: 0 {{space}}px; }"}},"separateColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{color:{{separateColor}}; }"}},"separateSize":{"type":"number","default":14,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{font-size:{{separateSize}}px; }"}}}}'),gc=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{fill:"currentColor",d:"m56 48l80 80l-80 80V48z",opacity:".2"}),React.createElement("path",{fill:"currentColor",d:"m141.7 122.3l-80-80a8.4 8.4 0 0 0-8.8-1.7A8 8 0 0 0 48 48v160a8 8 0 0 0 4.9 7.4a8.5 8.5 0 0 0 3.1.6a8.3 8.3 0 0 0 5.7-2.3l80-80a8.1 8.1 0 0 0 0-11.4ZM64 188.7V67.3l60.7 60.7Z"}),React.createElement("path",{fill:"currentColor",d:"m221.7 122.3l-80-80a8.1 8.1 0 0 0-11.4 11.4l74.4 74.3l-74.4 74.3a8.1 8.1 0 0 0 0 11.4a8.2 8.2 0 0 0 11.4 0l80-80a8.1 8.1 0 0 0 0-11.4Z"}));var fc=pc.name,bc=pc.category,yc=pc.title,Rc=pc.description,_c=pc.keywords,wc=pc.attributes,hc={title:(0,de.__)(yc,"woolentor"),description:(0,de.__)(Rc,"woolentor"),icon:React.createElement(me.Icon,{icon:gc}),keywords:_c,example:{attributes:{separator:"/"}},attributes:wc,edit:mc,save:function(){return null}};function Ec(e){return Ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ec(e)}function vc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Oc(r.key),r)}}function Oc(e){var t=function(e,t){if("object"!=Ec(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ec(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ec(t)?t:String(t)}function Pc(e,t,o){return t=Bc(t),function(e,t){if(t&&("object"===Ec(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cc()?Reflect.construct(t,o||[],Bc(e).constructor):t.apply(e,o))}function Cc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cc=function(){return!!e})()}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bc(e)}function Ac(e,t){return Ac=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ac(e,t)}var Sc=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pc(this,t,[e])}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ac(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.displayType,a=t.productCategory,l=t.productCategories,i=t.order,c=t.displayLimit,s=t.showCount,u=t.sliderOn,d=(t.columns,t.noGutter),m=t.itemSpace;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:r,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"},{label:(0,de.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Category Display Type","woolentor"),value:n,options:[{label:(0,de.__)("Single Category","woolentor"),value:"singleCat"},{label:(0,de.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:(0,de.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==n&&React.createElement(Uo,{title:(0,de.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:a,type:"single"}),"multipleCat"==n&&React.createElement(Uo,{title:(0,de.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:l,type:"multiple"}),"singleCat"!=n&&React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:i,options:[{label:(0,de.__)("Ascending","woolentor"),value:"asc"},{label:(0,de.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==n&&React.createElement(me.RangeControl,{label:(0,de.__)("Limit","woolentor"),value:c,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(me.ToggleControl,{label:(0,de.__)("Show Count","woolentor"),checked:s,help:s?(0,de.__)("Enable show Count.","woolentor"):(0,de.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!s})}}),React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider On","woolentor"),checked:u,help:u?(0,de.__)("Enable slider.","woolentor"):(0,de.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!u})}})),1==u&&React.createElement(Yt,{title:(0,de.__)("Slider Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider Arrow","woolentor"),checked:t.slarrows,help:t.slarrows?(0,de.__)("Enable slider arrow.","woolentor"):(0,de.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!t.slarrows})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider dots","woolentor"),checked:t.sldots,help:t.sldots?(0,de.__)("Enable slider pagination.","woolentor"):(0,de.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!t.sldots})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Pause on Hover?","woolentor"),checked:t.slpauseOnHover,help:t.slpauseOnHover?(0,de.__)("Enable slider pagination.","woolentor"):(0,de.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!t.slpauseOnHover})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Is RTL","woolentor"),checked:t.slIsrtl,help:t.slIsrtl?(0,de.__)("Enable RTL.","woolentor"):(0,de.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!t.slIsrtl})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider auto play","woolentor"),checked:t.slautolay,help:t.slautolay?(0,de.__)("Enable slider auto play.","woolentor"):(0,de.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return o({slautolay:!t.slautolay})}}),1==t.slautolay&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:t.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:t.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.slscrollItem,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,de.__)("Tablet Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:t.sltabletWidth,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,de.__)("Mobile Phone Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:t.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==u&&React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:d,help:d?(0,de.__)("Enable No Gutters.","woolentor"):(0,de.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(me.RangeControl,{label:(0,de.__)("Gutter Spacing","woolentor"),value:m,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor"),initialOpen:!0},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(co,{label:(0,de.__)("Box Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Count","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.countColor,onChange:function(e){return o({countColor:e})}})),React.createElement(co,{label:(0,de.__)("Before Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}})))))}}],r&&vc(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Wc=Sc;function kc(e){return kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kc(e)}function Tc(){return Tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Tc.apply(this,arguments)}function xc(e,t,o){return(t=Nc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Lc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nc(r.key),r)}}function Nc(e){var t=function(e,t){if("object"!=kc(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kc(t)?t:String(t)}function zc(e,t,o){return t=Ic(t),function(e,t){if(t&&("object"===kc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jc()?Reflect.construct(t,o||[],Ic(e).constructor):t.apply(e,o))}function jc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jc=function(){return!!e})()}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ic(e)}function Mc(e,t){return Mc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mc(e,t)}var Fc=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=zc(this,t,[e])).state={categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mc(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t,o=this.props.attributes,r=o.displayLimit,n=o.order;t="singleCat"==o.displayType?o.productCategory:"multipleCat"==o.displayType?o.productCategories:"";var a=e.attributes;("singleCat"==a.displayType?a.productCategory:"multipleCat"==a.displayType?a.productCategories:"")==t&&e.attributes.displayLimit==r&&e.attributes.order==n||this.fetchCategoryData()}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:this.props.attributes.displayLimit,queryOrder:this.props.attributes.order,queryType:"regular",wpnonce:woolentorData.security};"singleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategory:"multipleCat"==this.props.attributes.displayType?(t.querySlug=this.props.attributes.productCategories,t.queryLimit=!1):t.querySlug="";var o=(0,en.addQueryArgs)("/woolentor/v1/category",t);Ke()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.style;""==i&&a({blockUniqId:l});var s=this.state.categoryData,u=0;function d(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function m(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}var p,g={arrows:o.slarrows,prevArrow:React.createElement(m,null),nextArrow:React.createElement(d,null),dots:o.sldots,infinite:!0,autoplay:o.slautolay,autoplaySpeed:o.slautoplaySpeed,speed:o.slanimationSpeed,fade:!1,pauseOnHover:o.slpauseOnHover,slidesToShow:o.slitems,slidesToScroll:o.slscrollItem,rtl:o.slIsrtl,responsive:[{breakpoint:o.sltabletWidth,settings:{slidesToShow:o.sltabletDisplayColumns,slidesToScroll:o.sltabletScrollColumns}},{breakpoint:o.slMobileWidth,settings:{slidesToShow:o.slMobileDisplayColumns,slidesToScroll:o.slMobileScrollColumns}}]},f=Kt()(r,"woolentorblock-".concat(i),xc({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),xc({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),xc({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),xc({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile),xc({},"woolentor-area-".concat(o.align),o.align)),b=Kt()(xc({},"woolentor-grid",!0!==o.sliderOn),xc({},"woolentor-grid-slider",1==o.sliderOn),xc({},"woolentor-no-gutters",1==o.noGutter),xc({},"product-slider",1==o.sliderOn)),y=Kt()("woolentor-grid-column"),R=Ae(o,t,i);return s.length>0&&(p=s.map((function(e,t){return 4===u&&(u=0),u++,React.createElement("div",{key:t},React.createElement("div",{className:y},"1"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[o.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==o.showCount&&React.createElement("span",null,e.count))),"2"===c&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},React.createElement("img",{src:e.placeholderImg,alt:e.name})))),React.createElement("div",{className:"ht-category-content-3 ht-category-content-3-bg"+u},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==o.showCount&&React.createElement("span",null,e.count)))),"5"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(qe.Fragment,null,n&&React.createElement(Wc,this.props),React.createElement("div",{className:f},React.createElement("div",{className:b},0==s.length?React.createElement(me.Spinner,null):1==o.sliderOn?React.createElement(ki.A,Tc({},g,{className:"product-slider"}),p):p)),R)}}],r&&Lc(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Hc=Fc,Dc=JSON.parse('{"name":"woolentor/category-grid","category":"woolentor-blocks","title":"WL : Category Grid","description":"Display product category grid.","keywords":["woolentor","shop category","category grid","product category","woocommerce"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"displayType":{"type":"string","default":"allCat"},"productCategory":{"type":"string"},"productCategories":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"displayLimit":{"type":"number","default":6},"showCount":{"type":"boolean","default":true},"imageSize":{"type":"string","default":"full"},"sliderOn":{"type":"boolean","default":false},"slitems":{"type":"number","default":3},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slIsrtl":{"type":"boolean","default":false},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; row-gap: {{itemSpace}}px; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { background-color: {{areaBackgroundColor}}; }"}},"imageBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap-2:hover::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border-2::before { border-color: {{imageBoxColor}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image\'] { margin: {{imageMargin}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image, {{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image-\'] { border-radius: {{imageBorderRadius}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 { margin: {{titleMargin}}; }"}},"countColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span { color: {{countColor}}; }"}},"countBeforeColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span::before { background-color: {{countBeforeColor}}; }"}}}}'),qc=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var Gc=Dc.name,Kc=Dc.category,Uc=Dc.title,Qc=Dc.description,Vc=Dc.keywords,Yc=Dc.supports,Zc=Dc.attributes,Jc={title:(0,de.__)(Uc,"woolentor"),description:(0,de.__)(Qc,"woolentor"),icon:React.createElement(me.Icon,{icon:qc}),keywords:Vc,supports:Yc,attributes:Zc,edit:Hc,save:function(){return null}};function Xc(e){return function(e){if(Array.isArray(e))return es(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $c(e,t){if(e){if("string"==typeof e)return es(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?es(e,t):void 0}}function es(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const ts=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||$c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=Xc(o.customerReviewList);a[n][t]=e,r({customerReviewList:a})};return o.customerReviewList.length>0&&(t=o.customerReviewList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.customerReviewList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,de.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=Xc(o.customerReviewList);t.splice(e,1),r({customerReviewList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Customer Name","woolentor"),value:o.customerReviewList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Designation","woolentor"),value:o.customerReviewList[t].designation,placeholder:(0,de.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Rating","woolentor"),value:o.customerReviewList[t].rating,placeholder:(0,de.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Message","woolentor"),value:o.customerReviewList[t].message,placeholder:(0,de.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Xo,{title:(0,de.__)("Choose Image","woolentor"),instructions:(0,de.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.customerReviewList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Review","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:o.reviewStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({reviewStyle:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Review Type","woolentor"),value:o.reviewType,options:[{label:(0,de.__)("Custom","woolentor"),value:"custom"},{label:(0,de.__)("All Products","woolentor"),value:"allproduct"},{label:(0,de.__)("Single Product","woolentor"),value:"productwise"},{label:(0,de.__)("Dynamic","woolentor"),value:"dynamic"}],onChange:function(e){return r({reviewType:e})}}),"custom"==o.reviewType&&React.createElement(React.Fragment,null,t,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Xc(o.customerReviewList);e.push({name:(0,de.__)("Customer Name #"+(o.customerReviewList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({customerReviewList:e}),l(o.customerReviewList.length)}.bind(void 0)},(0,de.__)("Add Review","woolentor"))),"allproduct"==o.reviewType&&React.createElement(React.Fragment,null,React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.reviewType&&React.createElement(me.TextControl,{label:(0,de.__)("Product ID","woolentor"),placeholder:(0,de.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.reviewType&&React.createElement(me.Notice,{status:"success",isDismissible:!1},(0,de.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.reviewType&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.reviewType&&React.createElement(me.ToggleControl,{label:(0,de.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(jr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(jr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Name","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Designation","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Message","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},os=function(e){return e.attributes,e.setAttributes,React.createElement(qe.Fragment,null,React.createElement(ht.BlockControls,null,React.createElement(wr.BlockControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"})))},rs=window.wp.serverSideRender;var ns=o.n(rs);function as(e){return as="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},as(e)}function ls(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,is(r.key),r)}}function is(e){var t=function(e,t){if("object"!=as(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=as(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==as(t)?t:String(t)}function cs(e,t,o){return t=us(t),function(e,t){if(t&&("object"===as(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ss()?Reflect.construct(t,o||[],us(e).constructor):t.apply(e,o))}function ss(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ss=function(){return!!e})()}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},us(e)}function ds(e,t){return ds=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ds(e,t)}var ms=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cs(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ds(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=is(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(t,l,i);return React.createElement(qe.Fragment,null,r&&React.createElement(ts,this.props),r&&React.createElement(os,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:l,attributes:{blockUniqId:i,reviewStyle:t.reviewStyle,reviewType:t.reviewType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,customerReviewList:t.customerReviewList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&ls(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ps=ms,gs=JSON.parse('{"name":"woolentor/customer-review","category":"woolentor-blocks","title":"WL: Customer Review","description":"Display Product Customer Review.","keywords":["woolentor","product","review","woocommerce","customer","customer review"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"reviewStyle":{"type":"string","default":"1"},"reviewType":{"type":"string","default":"custom"},"customerReviewList":{"type":"array","default":[{"name":"Carolina Monntoya","designation":"Managing Director","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Peter Rose","designation":"Manager","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Gerald Gilbert","designation":"Developer","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { text-align: {{contentAlign}}; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .wlb-review-style-2 .wl-customer-testimonal .clint-info h4:before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info .rating { color: {{ratingColor}}!important; }"}}}}'),fs=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var bs=gs.name,ys=gs.title,Rs=gs.description,_s=gs.category,ws=gs.attributes,hs=gs.keywords,Es=gs.supports,vs={title:(0,de.__)(ys,"woolentor"),description:(0,de.__)(Rs,"woolentor"),icon:React.createElement(me.Icon,{icon:fs}),keywords:hs,supports:Es,attributes:ws,edit:ps,save:function(){return null}};function Os(e){return Os="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Os(e)}function Ps(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Cs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ps(Object(o),!0).forEach((function(t){Bs(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ps(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Bs(e,t,o){return(t=ks(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function As(e){return function(e){if(Array.isArray(e))return Ss(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ss(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ss(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ss(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Ws(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ks(r.key),r)}}function ks(e){var t=function(e,t){if("object"!=Os(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Os(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Os(t)?t:String(t)}function Ts(e,t,o){return t=Ls(t),function(e,t){if(t&&("object"===Os(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xs()?Reflect.construct(t,o||[],Ls(e).constructor):t.apply(e,o))}function xs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xs=function(){return!!e})()}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ls(e)}function Ns(e,t){return Ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ns(e,t)}var zs=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Ts(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ns(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.showFirstItem,l=function(e,t,o){var a=r.faqList.map((function(r,n){return n===o?Cs(Cs({},r),{},Bs({},t,e)):r}));n({faqList:a})};return r.faqList.length&&(e=r.faqList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.faqList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=As(r.faqList);t.splice(e,1),n({faqList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Marker Title","woolentor"),value:r.faqList[o].title,onChange:function(e){return l(e,"title",o)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Faq Content","woolentor"),value:r.faqList[o].content,onChange:function(e){return l(e,"content",o)}}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=As(r.faqList);e.push({title:(0,de.__)("Faq Item #"+(r.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({faqList:e}),t.setState({activeClass:r.faqList.length})}.bind(this)},(0,de.__)("Add FAQ","woolentor"))),React.createElement(Yt,{title:(0,de.__)("Settings","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Show First Item","woolentor"),checked:a,help:a?(0,de.__)("Enable first item.","woolentor"):(0,de.__)("Toggle to show the first item.","woolentor"),onChange:function(){return n({showFirstItem:!a})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Icon Position","woolentor"),value:r.iconPosition,options:[{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({iconPosition:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:r.titleBorderType,options:[{label:(0,de.__)("None","woolentor"),value:""},{label:(0,de.__)("Solid","woolentor"),value:"solid"},{label:(0,de.__)("Double","woolentor"),value:"double"},{label:(0,de.__)("Dotted","woolentor"),value:"dotted"},{label:(0,de.__)("Dashed","woolentor"),value:"dashed"},{label:(0,de.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return n({titleBorderType:e})}}),r.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:r.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:n}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:r.titleBorderColor,onChange:function(e){return n({titleBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:r.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:n}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.headBackgroundColor,onChange:function(e){return n({headBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Active Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.activeHeadBackgroundColor,onChange:function(e){return n({activeHeadBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.faqTitleColor,onChange:function(e){return n({faqTitleColor:e})}})),React.createElement(co,{label:(0,de.__)("Active Title Color","woolentor")},React.createElement(me.ColorPalette,{value:r.activeFaqTitleColor,onChange:function(e){return n({activeFaqTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.titleSize,fallbackFontSize:r.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(co,{label:(0,de.__)("Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:r.iconColor,onChange:function(e){return n({iconColor:e})}})),React.createElement(co,{label:(0,de.__)("Active Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:r.activeIconColor,onChange:function(e){return n({activeIconColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.contentColor,onChange:function(e){return n({contentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.contentSize,fallbackFontSize:r.contentSize,onChange:function(e){return n({contentSize:e})}}))))}}],r&&Ws(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const js=zs;function Is(e){return Is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Is(e)}function Ms(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fs(r.key),r)}}function Fs(e){var t=function(e,t){if("object"!=Is(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Is(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Is(t)?t:String(t)}function Hs(e,t,o){return t=qs(t),function(e,t){if(t&&("object"===Is(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ds()?Reflect.construct(t,o||[],qs(e).constructor):t.apply(e,o))}function Ds(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ds=function(){return!!e})()}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qs(e)}function Gs(e,t){return Gs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gs(e,t)}var Ks=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Hs(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gs(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id");this.props.attributes.faqList.length>0&&jQuery("#".concat(e)).length>0&&new Accordion("#"+e,{duration:500,showItem:this.props.attributes.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"})}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.faqList;if(e.attributes.faqList!==o||t.showFirstItem!==e.attributes.showFirstItem){this.$el=jQuery(this.el);var r=this.$el.attr("id");o.length>0&&(new Accordion("#"+r,{duration:500,showItem:t.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"}),jQuery(".htwoolentor-faq-card").on("click",(function(e){jQuery(this).toggleClass("is-active")})))}}},{key:"componentWillUnmount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id"),t=jQuery("#"+e);t.accordion&&(t.accordion("destroy"),t.accordion=!1)}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;i!==c&&l({blockUniqId:i});var s,u,d,m=Kt()("htwoolentor-faq","woolentorblock-".concat(c),"woolentorblock-faq-area-"+c,(s={},u="woolentorfaq-icon-pos-".concat(r.iconPosition),d=r.iconPosition,(u=Fs(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s)),p=Ae(r,o,c),g=React.createElement("span",{className:"htwoolentor-faq-head-indicator"}),f=r.faqList.map((function(e,t){var o=e.title?React.createElement("span",{className:"htwoolentor-faq-head-text"},e.title):"";return React.createElement("div",{key:t,className:"htwoolentor-faq-card"},"right"===r.iconPosition?React.createElement("div",{className:"htwoolentor-faq-head"},o,g):React.createElement("div",{className:"htwoolentor-faq-head"},g,o),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement("div",{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(qe.Fragment,null,a&&React.createElement(js,this.props),React.createElement("div",{className:n},React.createElement("div",{className:m,id:"htwoolentor-faq-"+c+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},f.length>0?f:(0,de.__)("FAQ list does not exist.","woolentor")),p))}}],r&&Ms(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Us=Ks,Qs=JSON.parse('{"name":"woolentor/faq","category":"woolentor-blocks","title":"WL : FAQ","description":"Display faq.","keywords":["WooLentor","faq","accordion","question","answer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"faqList":{"type":"array","default":[{"title":"Words To Live By","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"Producing Perfume From Home","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"The Basics Of Western Astrology Explained","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"What Curling Irons Are The Best Ones","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."}]},"showFirstItem":{"type":"boolean","default":true},"iconPosition":{"type":"string","default":"right"},"headBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ background-color: {{headBackgroundColor}}; }"}},"faqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ color: {{faqTitleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ font-size: {{titleSize}}; }"}},"titleBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-style: {{titleBorderType}}; }"}},"titleBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-width: {{titleBorderWidth}}; }"}},"titleBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-color: {{titleBorderColor}}; }"}},"titleBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-radius: {{titleBorderRadius}}; }"}},"iconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:after{ background-color: {{iconColor}}!important; }"}},"activeHeadBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head{ background-color: {{activeHeadBackgroundColor}}; }"}},"activeFaqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-text{ color: {{activeFaqTitleColor}}; }"}},"activeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:after{ background-color: {{activeIconColor}}!important; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content{ color: {{contentColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content p{ font-size: {{contentSize}}; }"}}}}'),Vs=React.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",space:"preserve"},React.createElement("g",null,React.createElement("path",{d:"M256,0C114.516,0,0,114.497,0,256c0,141.484,114.497,256,256,256c141.484,0,256-114.497,256-256 C512,114.516,397.503,0,256,0z M256,472c-119.377,0-216-96.607-216-216c0-119.377,96.607-216,216-216 c119.377,0,216,96.607,216,216C472,375.377,375.393,472,256,472z"}),React.createElement("path",{d:"M256,128.5c-44.112,0-80,35.888-80,80c0,11.046,8.954,20,20,20s20-8.954,20-20c0-22.056,17.944-40,40-40 c22.056,0,40,17.944,40,40c0,22.056-17.944,40-40,40c-11.046,0-20,8.954-20,20v50c0,11.046,8.954,20,20,20 c11.046,0,20-8.954,20-20v-32.531c34.466-8.903,60-40.26,60-77.469C336,164.388,300.112,128.5,256,128.5z"})));var Ys=Qs.name,Zs=Qs.category,Js=Qs.title,Xs=Qs.description,$s=Qs.keywords,eu=Qs.supports,tu=Qs.attributes,ou={title:(0,de.__)(Js,"woolentor"),description:(0,de.__)(Xs,"woolentor"),icon:React.createElement(me.Icon,{icon:Vs}),keywords:$s,supports:eu,attributes:tu,edit:Us,save:function(){return null}};function ru(e){return ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ru(e)}function nu(e){return function(e){if(Array.isArray(e))return au(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return au(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?au(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function au(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function lu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iu(r.key),r)}}function iu(e){var t=function(e,t){if("object"!=ru(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ru(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ru(t)?t:String(t)}function cu(e,t,o){return t=uu(t),function(e,t){if(t&&("object"===ru(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,su()?Reflect.construct(t,o||[],uu(e).constructor):t.apply(e,o))}function su(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(su=function(){return!!e})()}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uu(e)}function du(e,t){return du=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},du(e,t)}var mu=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=cu(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&du(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.style,l=r.bgProperty,i=function(e,t,o){var a=nu(r.markerList);a[o][t]=e,n({markerList:a})};return r.markerList.length&&(e=r.markerList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.markerList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=nu(r.markerList);t.splice(e,1),n({markerList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Marker Title","woolentor"),value:r.markerList[o].title,onChange:function(e){return i(e,"title",o)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Marker Content","woolentor"),value:r.markerList[o].content,onChange:function(e){return i(e,"content",o)}}),React.createElement(me.RangeControl,{label:(0,de.__)("Horizontal Postion","woolentor"),value:r.markerList[o].horizontal,onChange:function(e){return i(e,"horizontal",o)},min:-1e3,step:1,max:1e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Vertical Postion","woolentor"),value:r.markerList[o].verticle,onChange:function(e){return i(e,"verticle",o)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Image","woolentor"),initialOpen:!0},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:n,bgProperty:l})),React.createElement(Yt,{title:(0,de.__)("Marker","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:a,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"},{label:(0,de.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return n({style:e})}}),e,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=nu(r.markerList);e.push({title:(0,de.__)("Marker Item #"+(r.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({markerList:e}),t.setState({activeClass:r.markerList.length})}.bind(this)},(0,de.__)("Add Marker","woolentor")))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Marker","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerColor,onChange:function(e){return n({markerColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerBGColor,onChange:function(e){return n({markerBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerBorderColor,onChange:function(e){return n({markerBorderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:r.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:n}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:r.markerPadding,attributesKey:"markerPadding",setAttributes:n})),React.createElement(Yt,{title:(0,de.__)("Content Area","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerContentBGColor,onChange:function(e){return n({markerContentBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:r.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:n}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:r.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:n})),React.createElement(Yt,{title:(0,de.__)("Marker Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerTitleColor,onChange:function(e){return n({markerTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerTitleSize,fallbackFontSize:r.markerTitleSize,onChange:function(e){return n({markerTitleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:r.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:n})),React.createElement(Yt,{title:(0,de.__)("Marker Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerDescriptionColor,onChange:function(e){return n({markerDescriptionColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerDescriptionSize,fallbackFontSize:r.markerDescriptionSize,onChange:function(e){return n({markerDescriptionSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:r.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:n}))))}}],r&&lu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const pu=mu;function gu(e){return gu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gu(e)}function fu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,bu(r.key),r)}}function bu(e){var t=function(e,t){if("object"!=gu(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=gu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gu(t)?t:String(t)}function yu(e,t,o){return t=_u(t),function(e,t){if(t&&("object"===gu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ru()?Reflect.construct(t,o||[],_u(e).constructor):t.apply(e,o))}function Ru(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ru=function(){return!!e})()}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_u(e)}function wu(e,t){return wu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wu(e,t)}var hu=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),yu(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wu(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.bgProperty;""==i&&a({blockUniqId:l});var s,u,d,m=Kt()((s={},u="wlb-marker-style-".concat(o.style),d=o.style,(u=bu(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-".concat(i)),p=".wlb-marker-style-".concat(o.style,"{\n\t\t\t").concat(c.imageUrl&&"background-image:url("+c.imageUrl+");","\n\t\t\t").concat(c.position&&"background-position:"+c.position+";","\n\t\t\t").concat(c.attachment&&"background-attachment:"+c.attachment+";","\n\t\t\t").concat(c.repeat&&"background-repeat:"+c.repeat+";","\n\t\t\t").concat(c.size&&"background-size:"+c.size+";","\n\t\t}"),g=Ae(o,t,i),f=o.markerList.map((function(e,t){return React.createElement("div",{key:t,className:"wlb_image_pointer",style:{left:"".concat(e.horizontal,"%"),top:"".concat(e.verticle,"%")}},React.createElement("div",{className:"wlb_pointer_box"},e.title&&React.createElement("h4",null,e.title),e.content&&React.createElement("p",null,e.content)))}));return React.createElement(qe.Fragment,null,n&&React.createElement(pu,this.props),React.createElement("div",{className:r},React.createElement("div",{className:m},f)),React.createElement("style",{type:"text/css"},p),g)}}],r&&fu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Eu=hu,vu=JSON.parse('{"name":"woolentor/image-marker","category":"woolentor-blocks","title":"WL : Image Marker","description":"Display image marker.","keywords":["woolentor","shop idicator","image indicator","marker","image marker"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"bgProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"style":{"type":"string","default":"1"},"markerList":{"type":"array","default":[{"title":"Marker One","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":50,"verticle":15},{"title":"Marker Two","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":40,"verticle":20},{"title":"Marker Three","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":60,"verticle":30}]},"markerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer::before { color: {{markerColor}}; }"}},"markerBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { background-color: {{markerBGColor}}; }"}},"markerBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-color: {{markerBorderColor}}; }"}},"markerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-radius: {{markerBorderRadius}}; }"}},"markerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { padding: {{markerPadding}}; }"}},"markerContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { background-color: {{markerContentBGColor}}; }"}},"markerContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { border-radius: {{markerContentBorderRadius}}; }"}},"markerContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { padding: {{markerContentPadding}}; }"}},"markerTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { color: {{markerTitleColor}}; }"}},"markerTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { font-size: {{markerTitleSize}}; }"}},"markerTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { margin: {{markerTitleMargin}}; }"}},"markerDescriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { color: {{markerDescriptionColor}}; }"}},"markerDescriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { font-size: {{markerDescriptionSize}}; }"}},"markerDescriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { margin: {{markerDescriptionMargin}}; }"}}}}'),Ou=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 193.826 193.826",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M191.495,55.511L137.449,1.465c-1.951-1.953-5.119-1.953-7.07,0l-0.229,0.229c-3.314,3.313-5.14,7.72-5.14,12.406 c0,3.019,0.767,5.916,2.192,8.485l-56.55,48.533c-4.328-3.868-9.852-5.985-15.703-5.985c-6.305,0-12.232,2.455-16.689,6.913 l-0.339,0.339c-1.953,1.952-1.953,5.118,0,7.07l32.378,32.378l-31.534,31.533c-0.631,0.649-15.557,16.03-25.37,28.27 c-9.345,11.653-11.193,13.788-11.289,13.898c-1.735,1.976-1.639,4.956,0.218,6.822c0.973,0.977,2.256,1.471,3.543,1.471 c1.173,0,2.349-0.41,3.295-1.237c0.083-0.072,2.169-1.885,13.898-11.289c12.238-9.813,27.619-24.74,28.318-25.421l31.483-31.483 l30.644,30.644c0.976,0.977,2.256,1.465,3.535,1.465s2.56-0.488,3.535-1.465l0.339-0.339c4.458-4.457,6.913-10.385,6.913-16.689 c0-5.851-2.118-11.375-5.985-15.703l48.533-56.55c2.569,1.425,5.466,2.192,8.485,2.192c4.687,0,9.093-1.825,12.406-5.14l0.229-0.229 C193.448,60.629,193.448,57.463,191.495,55.511z"}));var Pu=vu.name,Cu=vu.category,Bu=vu.title,Au=vu.description,Su=vu.supports,Wu=vu.keywords,ku=vu.attributes,Tu={title:(0,de.__)(Bu,"woolentor"),description:(0,de.__)(Au,"woolentor"),icon:React.createElement(me.Icon,{icon:Ou}),keywords:Wu,supports:Su,attributes:ku,edit:Eu,save:function(){return null}};function xu(e){return xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xu(e)}function Lu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nu(r.key),r)}}function Nu(e){var t=function(e,t){if("object"!=xu(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=xu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xu(t)?t:String(t)}function zu(e,t,o){return t=Iu(t),function(e,t){if(t&&("object"===xu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ju()?Reflect.construct(t,o||[],Iu(e).constructor):t.apply(e,o))}function ju(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ju=function(){return!!e})()}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Iu(e)}function Mu(e,t){return Mu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mu(e,t)}var Fu=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),zu(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mu(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.productFilterType,n=t.perPage,a=t.customOrder,l=t.orderBy,i=t.order,c=t.selectedCategories;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Layout","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.layout,options:[{label:(0,de.__)("Layout One","woolentor"),value:"1"},{label:(0,de.__)("Layout Two","woolentor"),value:"2"},{label:(0,de.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:t.noGutter,help:t.noGutter?(0,de.__)("Enable No Gutters.","woolentor"):(0,de.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(me.RangeControl,{label:(0,de.__)("Gutter Spacing","woolentor"),value:t.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Margin Bottom","woolentor"),value:t.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Filter By","woolentor"),value:r,options:[{label:(0,de.__)("Recent Products","woolentor"),value:"recent"},{label:(0,de.__)("Featured Products","woolentor"),value:"featured"},{label:(0,de.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,de.__)("Sale Products","woolentor"),value:"sale"},{label:(0,de.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,de.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:n,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.ToggleControl,{label:(0,de.__)("Custom Order","woolentor"),checked:a,help:a?(0,de.__)("Enable custom order.","woolentor"):(0,de.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!a})}}),React.createElement(Uo,{title:(0,de.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:c,type:"multiple"}),a?React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:i,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:l,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Yt,{title:(0,de.__)("Content Settings","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Content Limit","woolentor"),value:t.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Title","woolentor"),checked:t.showTitle,help:t.showTitle?(0,de.__)("Enable Title.","woolentor"):(0,de.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!t.showTitle})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Price","woolentor"),checked:t.showPrice,help:t.showPrice?(0,de.__)("Enable Price.","woolentor"):(0,de.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!t.showPrice})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Content","woolentor"),checked:t.showContent,help:t.showContent?(0,de.__)("Enable Content.","woolentor"):(0,de.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!t.showContent})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Rating","woolentor"),checked:t.showRating,help:t.showRating?(0,de.__)("Enable Rating.","woolentor"):(0,de.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!t.showRating})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement(fo,{label:(0,de.__)("Reguler Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cotentColor,onChange:function(e){return o({cotentColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Empty Rating Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement(co,{label:(0,de.__)("Rating Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Action Button","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}})),React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Lu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Hu=Fu;function Du(e){return Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Du(e)}function qu(e,t,o){return(t=Ku(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Gu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ku(r.key),r)}}function Ku(e){var t=function(e,t){if("object"!=Du(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Du(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Du(t)?t:String(t)}function Uu(e,t,o){return t=Vu(t),function(e,t){if(t&&("object"===Du(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Qu()?Reflect.construct(t,o||[],Vu(e).constructor):t.apply(e,o))}function Qu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qu=function(){return!!e})()}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vu(e)}function Yu(e,t){return Yu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yu(e,t)}var Zu=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Uu(this,t,[e])).state={productData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yu(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData()}},{key:"componentWillUnmount",value:function(){}},{key:"fetchProductsData",value:function(){var e=this,t={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(t.orderBy=this.props.attributes.orderBy,t.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(t.categories=this.props.attributes.selectedCategories);var o=(0,en.addQueryArgs)("/woolentor/v1/products",t);Ke()({path:o}).then((function(t){return e.setState({productData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s=Kt()("woocommerce","woolentor-product-curvy","woolentorblock-".concat(i),qu({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),qu({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),qu({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),qu({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),u=Kt()("wl_single-product-item",qu({},"wl_left-item",2==o.layout),qu({},"wl_dark-item",3==o.layout)),d=Ae(o,t,i),m=this.state.productData;return m.length>0&&(c=m.map((function(e,t){return React.createElement("div",{className:"woolentor-grid-column",key:t},React.createElement("div",{className:u},React.createElement(me.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},(0,qe.createElement)("div",{className:"images",dangerouslySetInnerHTML:{__html:e.image.full.html}}))),React.createElement("div",{className:"product-content"},React.createElement("div",{className:"product-content-top"},!0===o.showTitle&&React.createElement("h6",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),!0===o.showPrice&&(0,qe.createElement)("div",{className:"product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),!0===o.showContent&&React.createElement("p",null,e.content.split(" ").slice(0,o.contentLimit).join(" ")),!0===o.showRating&&(0,qe.createElement)("div",{className:"reading",dangerouslySetInnerHTML:{__html:e.rating.html}})),React.createElement("ul",{className:"action"},React.createElement("li",{className:"wl_cart"},React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"action-item"+e.addtocart.class,"data-product_id":e.id},React.createElement("i",{className:"fa fa-shopping-cart"}))),e.wishlist.status&&(0,qe.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&(0,qe.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html2}})))))}))),React.createElement(qe.Fragment,null,n&&React.createElement(Hu,this.props),React.createElement("div",{className:r},React.createElement("div",{className:s},0==m.length?React.createElement(me.Spinner,null):React.createElement("div",{className:!0===o.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},c))),d)}}],r&&Gu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Ju=Zu,Xu=JSON.parse('{"name":"woolentor/product-curvy","category":"woolentor-blocks","title":"WL : Product Curvy","description":"Product Curvy.","keywords":["WooLentor","product","curvy","woocommerce","display product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layout":{"type":"string"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"contentLimit":{"type":"number","default":6},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showContent":{"type":"boolean","default":true},"showRating":{"type":"boolean","default":true},"itemAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl_single-product-item, {{WOOLENTOR_WRAPPER}} .wl_single-product-item.wl_dark-item .product-content { background-color: {{itemAreaBGColor}}; }"}},"itemMarginBottom":{"type":"number","default":15,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid{ row-gap: {{itemMarginBottom}}px; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ font-size: {{titleSize}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a:hover{ color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ margin: {{titleMargin}}; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price, {{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price{ color: {{salePriceColor}}!important; }"}},"regulerPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price del,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price del{ color: {{regulerPriceColor}}!important; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ font-size: {{contentSize}}; }"}},"cotentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ color: {{cotentColor}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ margin: {{contentMargin}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating span{ color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating{ margin: {{ratingMargin}}; }"}},"actionBtnAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action{ background-color: {{actionBtnAreaBGColor}}!important; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare::before{ color: {{actionBtnColor}}!important; }"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ background-color: {{actionBtnBGColor}}!important; }"}},"actionBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ border-radius: {{actionBtnBorderRadius}}!important; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare:hover::before{ color: {{actionBtnHoverColor}}!important; }"}},"actionBtnBgHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover{ background-color: {{actionBtnBgHoverColor}}!important; }"}},"imageBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-thumbnail{ border-color: {{imageBorderColor}}!important; }"}}}}'),$u=React.createElement("svg",{id:"Capa_1",enableBackground:"new 0 0 512 512",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m166.717 225.43c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m166.717 263.74c-4.309 0-7.802 3.493-7.802 7.803 0 4.309 3.493 7.802 7.802 7.802s7.803-3.493 7.803-7.802c-.001-4.31-3.494-7.803-7.803-7.803z"}),React.createElement("path",{d:"m166.717 302.049c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802c-.001-4.309-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m302.846 63.778h-90.035l-2.93-21.993c-.497-3.727-3.675-6.51-7.435-6.51h-17.57c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h11.003l2.93 21.993c.003.022.008.043.012.064.003.018.002.036.005.053l7.994 53.55c.549 3.674 3.703 6.393 7.418 6.393h80.614c3.715 0 6.869-2.719 7.418-6.393l7.994-53.55c.322-2.159-.311-4.351-1.736-6.003-1.425-1.654-3.5-2.604-5.682-2.604zm-14.458 53.55h-67.686l-5.755-38.55h79.196z"}),React.createElement("path",{d:"m248.916 165.704c0-12.407-10.094-22.5-22.5-22.5s-22.5 10.093-22.5 22.5 10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5zm-30 0c0-4.136 3.364-7.5 7.5-7.5s7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5-7.5-3.364-7.5-7.5z"}),React.createElement("path",{d:"m282.673 143.204c-12.406 0-22.5 10.093-22.5 22.5s10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5-10.094-22.5-22.5-22.5zm0 30c-4.136 0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5z"}),React.createElement("path",{d:"m279.948 225.733h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 264.042h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 302.351h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("g",null,React.createElement("path",{d:"m484.615 88.534h-84.393v-66.614c0-9.951-8.096-18.047-18.047-18.047h-252.349c-9.951 0-18.048 8.096-18.048 18.047v66.614h-19.645c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h19.646v259.248h-96.779v-246.862c0-6.83 5.557-12.386 12.386-12.386h34.747c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-34.747c-15.101 0-27.386 12.286-27.386 27.386v291.442c0 15.1 12.285 27.385 27.386 27.385h166.31l-8.039 58.38h-24.209c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h189.248c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-24.209l-8.039-58.38h55.225c4.142 0 7.5-3.358 7.5-7.5s-3.358-7.5-7.5-7.5h-346.287c-6.829 0-12.386-5.556-12.386-12.385v-29.58h482v29.58c0 6.829-5.556 12.385-12.385 12.385h-80.942c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h80.942c15.1 0 27.385-12.285 27.385-27.385v-291.442c0-15.1-12.285-27.386-27.385-27.386zm-173.269 404.593h-110.548l8.039-58.38h94.47zm75.208-186.168c-28.917 0-52.443-23.526-52.443-52.443s23.526-52.444 52.443-52.444 52.443 23.526 52.443 52.444-23.526 52.443-52.443 52.443zm-259.776-285.039c0-1.68 1.367-3.047 3.048-3.047h252.349c1.68 0 3.047 1.367 3.047 3.047v165.186c-36.574.715-66.111 30.669-66.111 67.41s29.537 66.695 66.111 67.41v40.61h-258.444zm273.444 340.863v-42.217c30.658-6.335 53.775-33.542 53.775-66.049s-23.118-59.714-53.775-66.05v-84.932h84.393c6.829 0 12.385 5.556 12.385 12.386v246.862z"}),React.createElement("path",{d:"m394.221 246.215c-4.215-1.49-10.156-1.779-12.221-5.464-.154-.191-.159-1.161.199-2.321.211-.685.763-1.893 2.083-2.291 1.891-.57 4.118-.173 6.035.466 2.912.971 6.118-.031 8.046-2.418.044-.054.087-.107.13-.162 3.168-3.921 1.627-9.835-3.085-11.626-.542-.206-1.099-.395-1.671-.567v-2.359c0-4.142-3.357-7.5-7.5-7.5s-7.5 3.358-7.5 7.5v2.722c-5.865 2.243-10.182 7.478-11.399 13.944-1.211 6.425.935 12.69 5.601 16.349 4.315 3.385 10.376 5.783 16.283 7.872 2.59.915 3.688 2.655 3.266 5.17-.332 1.975-2.032 5.324-6.3 5.352-4.606.03-5.695-.139-9.043-2.329-3.712-2.427-8.775-1.144-10.826 2.94-1.733 3.451-.383 7.68 2.861 9.774 3.572 2.307 6.456 3.498 9.557 4.088v3.177c0 4.142 3.357 7.5 7.5 7.5s7.5-3.358 7.5-7.5v-4.032c6.961-2.626 12.247-8.778 13.543-16.485 1.631-9.702-3.617-18.462-13.059-21.8z"}))));var ed=Xu.name,td=Xu.category,od=Xu.title,rd=Xu.description,nd=Xu.keywords,ad=Xu.supports,ld=Xu.attributes,id={title:(0,de.__)(od,"woolentor"),description:(0,de.__)(rd,"woolentor"),icon:React.createElement(me.Icon,{icon:$u}),keywords:nd,supports:ad,attributes:ld,edit:Ju,save:function(){return null}};const cd=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Product Grid","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Grid Style","woolentor"),value:t.gridStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"},{label:(0,de.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({gridStyle:e})}}),React.createElement(co,{label:(0,de.__)("Slider","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.slider,onChange:function(){return o({slider:!t.slider})}})),React.createElement(co,{label:(0,de.__)("Filterable","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.filterable,onChange:function(){return o({filterable:!t.filterable})}}))),!0!==t.slider&&React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Yt,{title:(0,de.__)("Query Settings","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Filter By","woolentor"),value:t.productType,options:[{label:(0,de.__)("Recent Products","woolentor"),value:"recent"},{label:(0,de.__)("Featured Products","woolentor"),value:"featured"},{label:(0,de.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,de.__)("Sale Products","woolentor"),value:"sale"},{label:(0,de.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,de.__)("Mixed order Products","woolentor"),value:"mixed_order"},{label:(0,de.__)("Add ID Manually","woolentor"),value:"show_byid_manually"}],onChange:function(e){return o({productType:e})}}),"show_byid_manually"===t.productType&&React.createElement(me.TextControl,{label:(0,de.__)("Product IDs","woolentor"),value:t.productIdsManually,onChange:function(e){return o({productIdsManually:e})},help:(0,de.__)("Add Product ids separated with comma","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(Lo,{taxonomy:t.taxonomy,onChangeTaxonomy:function(e){return o({taxonomy:e})}}),""!==t.taxonomy&&React.createElement(me.SelectControl,{label:(0,de.__)("Category Operator","woolentor"),value:t.catOperator,options:[{label:(0,de.__)("AND","woolentor"),value:"AND"},{label:(0,de.__)("IN","woolentor"),value:"IN"},{label:(0,de.__)("NOT IN","woolentor"),value:"NOT IN"}],onChange:function(e){return o({catOperator:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Custom Order","woolentor"),checked:t.customOrder,onChange:function(){return o({customOrder:!t.customOrder})}}),t.customOrder?React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:t.order,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Yt,{title:(0,de.__)("Additional Options","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Pagination","woolentor"),checked:t.paginate,onChange:function(){return o({paginate:!t.paginate})}}),t.paginate&&React.createElement(React.Fragment,null,React.createElement(me.ToggleControl,{label:(0,de.__)("Allow Order","woolentor"),checked:t.allowOrder,onChange:function(){return o({allowOrder:!t.allowOrder})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Result Count","woolentor"),checked:t.showResultCount,onChange:function(){return o({showResultCount:!t.showResultCount})}})),React.createElement(fo,{label:(0,de.__)("Cart Button Settings","woolentor")}),React.createElement(Wr,{label:(0,de.__)("Add to Cart Button Icon","woolentor"),onReset:function(){return o({addToCartIcon:""})},value:t.addToCartIcon,onChange:function(e){return o({addToCartIcon:e})}}),("1"===t.gridStyle||"2"===t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(me.TextControl,{label:(0,de.__)("Add to Cart Button Text","woolentor"),value:t.addToCartText,onChange:function(e){return o({addToCartText:e})},placeholder:(0,de.__)("Add to Cart","woolentor")}),t.addToCartIcon&&React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Add to Cart Icon Position","woolentor"),value:t.buttonIconAlign,options:[{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({buttonIconAlign:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200}))),React.createElement(fo,{label:(0,de.__)("Image Settings","woolentor")}),React.createElement(me.SelectControl,{label:(0,de.__)("Image Style","woolentor"),value:t.imageLayoutType,options:[{label:(0,de.__)("Zoom Image","woolentor"),value:"zoom"},{label:(0,de.__)("Secondary Image","woolentor"),value:"secondary_img"}],onChange:function(e){return o({imageLayoutType:e})}}),React.createElement(fo,{label:(0,de.__)("Content Settings","woolentor")}),React.createElement(me.ToggleControl,{label:(0,de.__)("Hide Category","woolentor"),checked:t.hideCategory,onChange:function(){return o({hideCategory:!t.hideCategory})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Hide Rating","woolentor"),checked:t.hideRating,onChange:function(){return o({hideRating:!t.hideRating})}})),!0===t.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(fo,{label:(0,de.__)("Tablet Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(fo,{label:(0,de.__)("Mobile Phone Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item Style","woolentor"),initialOpen:!0},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(jr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(jr,{label:(0,de.__)("Hover Border","woolentor"),value:t.itemHoverBorder,onChange:function(e){return o({itemHoverBorder:e})}}),React.createElement(ht.PanelColorSettings,{title:(0,de.__)("Background Color Settings"),showTitle:!1,colorSettings:[{value:t.itemBGColor,onChange:function(e){return o({itemBGColor:e})},label:(0,de.__)("Background Color","woolentor")},{value:t.itemBGHoverColor,onChange:function(e){return o({itemBGHoverColor:e})},label:(0,de.__)("Background Hover Color","woolentor")}]})),React.createElement(Yt,{title:(0,de.__)("Content Style","woolentor"),initialOpen:!1},React.createElement(fo,{label:(0,de.__)("Title","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0}),React.createElement(fo,{label:(0,de.__)("Category","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.categoryColor,onChange:function(e){return o({categoryColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.categoryHoverColor,onChange:function(e){return o({categoryHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.categorySize,fallbackFontSize:t.categorySize,onChange:function(e){return o({categorySize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.categoryMargin,attributesKey:"categoryMargin",setAttributes:o,responsive:!0}),React.createElement(fo,{label:(0,de.__)("Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0}),React.createElement(fo,{label:(0,de.__)("Rating","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Action Button Style","woolentor"),initialOpen:!1},React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:t.actionBtnSize,onChange:function(e){return o({actionBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(qt,{name:"actionbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionBtnBorder,onChange:function(e){return o({actionBtnBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionBtnHoverBorder,onChange:function(e){return o({actionBtnHoverBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBGHoverColor,onChange:function(e){return o({actionBtnBGHoverColor:e})}})))),("1"==t.gridStyle||"3"==t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Add To Cart Button","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:t.actionCartBtnSize,onChange:function(e){return o({actionCartBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.actionCartBtnBorderRadius,attributesKey:"actionCartBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(me.RangeControl,{label:(0,de.__)("Icon Size","woolentor"),value:t.actionCartBtnIconSize,onChange:function(e){return o({actionCartBtnIconSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(qt,{name:"actioncartbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnColor,onChange:function(e){return o({actionCartBtnColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionCartBtnBorder,onChange:function(e){return o({actionCartBtnBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnBGColor,onChange:function(e){return o({actionCartBtnBGColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnHoverColor,onChange:function(e){return o({actionCartBtnHoverColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionCartBtnHoverBorder,onChange:function(e){return o({actionCartBtnHoverBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnBGHoverColor,onChange:function(e){return o({actionCartBtnBGHoverColor:e})}})))))),!0===t.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(jr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(jr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(jr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(jr,{value:t.paginationActiveBorder,onChange:function(e){return o({paginationActiveBorder:e})}}))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sd(e){return sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sd(e)}function ud(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dd(r.key),r)}}function dd(e){var t=function(e,t){if("object"!=sd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sd(t)?t:String(t)}function md(e,t,o){return t=gd(t),function(e,t){if(t&&("object"===sd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pd()?Reflect.construct(t,o||[],gd(e).constructor):t.apply(e,o))}function pd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pd=function(){return!!e})()}function gd(e){return gd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gd(e)}function fd(e,t){return fd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fd(e,t)}var bd=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=md(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fd(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(this.customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:this.props.attributes.blockUniqId}}),e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=dd(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Ae(t,l,i);return document.dispatchEvent(this.customEvent),React.createElement(qe.Fragment,null,r&&React.createElement(cd,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{columns:t.columns,gridStyle:t.gridStyle,noGutter:t.noGutter,taxonomy:t.taxonomy,productType:t.productType,perPage:t.perPage,orderBy:t.orderBy,order:t.order,paginate:t.paginate,productIdsManually:t.productIdsManually,hideCategory:t.hideCategory,hideRating:t.hideRating,slider:t.slider,sliderItems:t.sliderItems,arrows:t.arrows,dots:t.dots,pauseOnHover:t.pauseOnHover,autoplay:t.autoplay,autoplaySpeed:t.autoplaySpeed,animationSpeed:t.animationSpeed,scrollColumns:t.scrollColumns,tabletDisplayColumns:t.tabletDisplayColumns,tabletScrollColumns:t.tabletScrollColumns,tabletWidth:t.tabletWidth,mobileDisplayColumns:t.mobileDisplayColumns,mobileScrollColumns:t.mobileScrollColumns,mobileWidth:t.mobileWidth,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&ud(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const yd=bd,Rd=JSON.parse('{"name":"woolentor/product-grid","category":"woolentor-blocks","title":"WL: Product Grid","description":"Display Product Grid.","keywords":["woolentor","product","Grid","woocommerce","shop product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"gridStyle":{"type":"string","default":"1"},"filterable":{"type":"boolean","default":false},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"productType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":3},"taxonomy":{"type":"string"},"catOperator":{"type":"string","default":"IN"},"productIdsManually":{"type":"string"},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"paginate":{"type":"boolean","default":false},"allowOrder":{"type":"boolean","default":false},"showResultCount":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"addToCartText":{"type":"string","default":"Add To Cart"},"addToCartIcon":{"type":"string","default":"fa fa-plus"},"buttonIconAlign":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"addToCartIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-right i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-left: {{iconSpecing}}px; }{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-left i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-right: {{iconSpecing}}px; }"}},"imageLayoutType":{"type":"string","default":"zoom"},"hideCategory":{"type":"boolean","default":false},"hideRating":{"type":"boolean","default":false},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2"}},"itemPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { padding: {{itemPadding}}; }"}},"itemBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { background-color: {{itemBGColor}}; }"}},"itemBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover { background-color: {{itemBGHoverColor}}; }"}},"itemHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a:hover { color: {{titleHoverColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 { margin: {{titleMargin}}; }"}},"categoryColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { color: {{categoryColor}}; }"}},"categoryHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a:hover { color: {{categoryHoverColor}}; }"}},"categorySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { font-size: {{categorySize}}; }"}},"categoryMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 { margin: {{categoryMargin}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2,{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { font-size: {{priceSize}}; }"}},"priceMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 { margin: {{priceMargin}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 i { color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 { margin: {{ratingMargin}}; }"}},"actionBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ font-size: {{actionBtnSize}}px; }"}},"actionBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ border-radius: {{actionBtnBorderRadius}}; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { color: {{actionBtnColor}}; }"}},"actionBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { background-color: {{actionBtnBGColor}}; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { color: {{actionBtnHoverColor}}; }"}},"actionBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { background-color: {{actionBtnBGHoverColor}}; }"}},"actionBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover"}},"actionCartBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ font-size: {{actionCartBtnSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ border-radius: {{actionCartBtnBorderRadius}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnIconSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a i{ font-size: {{actionCartBtnIconSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { color: {{actionCartBtnColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { background-color: {{actionCartBtnBGColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { color: {{actionCartBtnHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { background-color: {{actionCartBtnBGHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),_d=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var wd=Rd.name,hd=Rd.title,Ed=Rd.description,vd=Rd.category,Od=Rd.attributes,Pd=Rd.keywords,Cd=Rd.supports,Bd={title:(0,de.__)(hd,"woolentor"),description:(0,de.__)(Ed,"woolentor"),icon:React.createElement(me.Icon,{icon:_d}),keywords:Pd,supports:Cd,attributes:Od,edit:yd,save:function(){return null}};function Ad(e){return Ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ad(e)}function Sd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Wd(r.key),r)}}function Wd(e){var t=function(e,t){if("object"!=Ad(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ad(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ad(t)?t:String(t)}function kd(e,t,o){return t=xd(t),function(e,t){if(t&&("object"===Ad(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Td()?Reflect.construct(t,o||[],xd(e).constructor):t.apply(e,o))}function Td(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Td=function(){return!!e})()}function xd(e){return xd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xd(e)}function Ld(e,t){return Ld=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ld(e,t)}var Nd=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kd(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ld(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=(t.columns,t.rows),a=t.productTab,l=t.slider,i=t.productFilterType,c=t.perPage,s=t.customOrder,u=t.orderBy,d=t.order,m=t.selectedCategories,p=t.slitems,g=t.slarrows,f=t.sldots,b=t.slpauseOnHover,y=t.slautolay,R=t.slautoplaySpeed,_=t.slanimationSpeed,w=t.slscrollItem,h=t.sltabletDisplayColumns,E=t.sltabletScrollColumns,v=t.sltabletWidth,O=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,C=t.slMobileWidth;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Layout","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Product Style","woolentor"),value:r,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return o({style:e})}}),React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.RangeControl,{label:(0,de.__)("Rows","woolentor"),value:n,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(co,{label:(0,de.__)("Tab","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({productTab:!a})}})),!0!==a&&React.createElement(co,{label:(0,de.__)("Slider","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({slider:!l})}}))),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Filter By","woolentor"),value:i,options:[{label:(0,de.__)("Recent Products","woolentor"),value:"recent"},{label:(0,de.__)("Featured Products","woolentor"),value:"featured"},{label:(0,de.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,de.__)("Sale Products","woolentor"),value:"sale"},{label:(0,de.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,de.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:c,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(co,{label:(0,de.__)("Custom Order","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:s,onChange:function(){return o({customOrder:!s})}})),React.createElement(Uo,{title:(0,de.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:m,type:"multiple"}),s?React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:d,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:u,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),1==l&&!0!==a&&React.createElement(Yt,{title:(0,de.__)("Slider Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:p,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({slarrows:!g})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:f,onChange:function(){return o({sldots:!f})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:b,onChange:function(){return o({slpauseOnHover:!b})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:y,onChange:function(){return o({slautolay:!y})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:R,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:_,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:w,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,(0,de.__)("Tablet Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:h,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:v,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,(0,de.__)("Mobile Phone Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:O,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:C,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"titleAlign",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Action Button","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBgColor,onChange:function(e){return o({actionBtnBgColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverBgColor,onChange:function(e){return o({actionBtnHoverBgColor:e})}}))),!0===a?React.createElement(Yt,{title:(0,de.__)("Tab Menu","woolentor")},React.createElement(qt,{name:"tabmenu",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(jr,{value:t.tabMenuBorder,onChange:function(e){return o({tabMenuBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveBGColor,onChange:function(e){return o({tabMenuActiveBGColor:e})}})),React.createElement(jr,{value:t.tabMenuActiveBorder,onChange:function(e){return o({tabMenuActiveBorder:e})}})))):""),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Sd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const zd=Nd;function jd(e){return jd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jd(e)}function Id(){return Id=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Id.apply(this,arguments)}function Md(e,t,o){return(t=Hd(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Fd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hd(r.key),r)}}function Hd(e){var t=function(e,t){if("object"!=jd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jd(t)?t:String(t)}function Dd(e,t,o){return t=Gd(t),function(e,t){if(t&&("object"===jd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qd()?Reflect.construct(t,o||[],Gd(e).constructor):t.apply(e,o))}function qd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qd=function(){return!!e})()}function Gd(e){return Gd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gd(e)}function Kd(e,t){return Kd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kd(e,t)}var Ud=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Dd(this,t,[e])).state={productData:[],categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kd(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData(),this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData(),e.attributes.selectedCategories!=i&&this.fetchCategoryData()}},{key:"fetchProductsData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(o.orderBy=this.props.attributes.orderBy,o.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(o.categories=this.props.attributes.selectedCategories),t.length>0&&(o.categories=t);var r=(0,en.addQueryArgs)("/woolentor/v1/products",o);Ke()({path:r}).then((function(t){return e.setState({productData:t})}))}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:1e3,queryOrder:"ASC",queryType:"regular",querySlug:this.props.attributes.selectedCategories,wpnonce:woolentorData.security},o=(0,en.addQueryArgs)("/woolentor/v1/category",t);Ke()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;function s(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function u(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}""==c&&l({blockUniqId:i});var d,m={arrows:r.slarrows,prevArrow:React.createElement(u,null),nextArrow:React.createElement(s,null),dots:r.sldots,infinite:!0,autoplay:r.slautolay,autoplaySpeed:r.slautoplaySpeed,speed:r.slanimationSpeed,fade:!1,pauseOnHover:r.slpauseOnHover,slidesToShow:r.slitems,slidesToScroll:r.slscrollItem,rtl:r.slIsrtl,responsive:[{breakpoint:r.sltabletWidth,settings:{slidesToShow:r.sltabletDisplayColumns,slidesToScroll:r.sltabletScrollColumns}},{breakpoint:r.slMobileWidth,settings:{slidesToShow:r.slMobileDisplayColumns,slidesToScroll:r.slMobileScrollColumns}}]},p=Kt()("woolentor-product-tab-area",Md({},"woolentor-grid-columns-".concat(r.columns.desktop),r.columns.desktop),Md({},"woolentor-grid-columns-laptop-".concat(r.columns.laptop),r.columns.laptop),Md({},"woolentor-grid-columns-tablet-".concat(r.columns.tablet),r.columns.tablet),Md({},"woolentor-grid-columns-mobile-".concat(r.columns.mobile),r.columns.mobile),"woolentorblock-".concat(c)),g=Kt()(Md({},"woolentor-grid",1!=r.slider||1==r.slider&&1==r.productTab),Md({},"woolentor-grid-slider",1==r.slider&&!0!==r.productTab)),f=Kt()("product-item",Md({},"product_style_three",3==r.style)),b=Kt()(Md({},"woolentor-grid-column",r.columns.desktop)),y=Ae(r,o,c),R=this.state,_=R.productData,w=R.categoryData,h=0,E=!1;_.length>0&&(d=_.map((function(e,t){return h++,r.rows>1&&h%r.rows!=0&&(E=!0),React.createElement("div",{key:t},React.createElement("div",{className:b},React.createElement("div",{className:1==E?f+" mb-30":f},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},(0,qe.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{className:"onsale"},(0,de.__)("Sale!","woolentor")))),1==r.style&&!0===e.wishlist.status?(0,qe.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",3==r.style?React.createElement("div",{className:"product_information_area"},React.createElement("div",{className:"actions style_two"},!0===e.wishlist.status?(0,qe.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",(0,qe.createElement)("div",{className:"woolentor-product-btn"},(0,qe.createElement)("a",null,(0,de.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),(0,qe.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))):React.createElement("div",{className:2==r.style?"actions style_two":"actions"},2==r.style?React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.wishlist.status?(0,qe.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):""):React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.compare.status?(0,qe.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),(0,qe.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))))))})));var v,O=function(t){e.fetchProductsData(t.target.getAttribute("dataslug"))},P=0;return r.selectedCategories.length>0&&(v=w.map((function(e,t){return P++,React.createElement(React.Fragment,null,React.createElement("li",null,React.createElement("a",{className:1==P?"htactive":"",href:"#woolentortab"+c+P,onClick:O,dataslug:e.slug},e.name)))}))),React.createElement(qe.Fragment,null,a&&React.createElement(zd,this.props),React.createElement("div",{className:"woocommerce"},React.createElement("div",{className:n},React.createElement("div",{className:p},r.productTab&&React.createElement("div",{className:"product-tab-list ht-text-center"},React.createElement("ul",{className:"ht-tab-menus"},v)),0==_.length?React.createElement(me.Spinner,null):React.createElement("div",{className:g},1==r.slider&&!0!==r.productTab?React.createElement(ki.A,Id({},m,{className:"product-slider"}),d):d)))),y)}}],r&&Fd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Qd=Ud,Vd=React.createElement(me.SVG,{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 359 359",space:"preserve"},React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,0H13C7.5,0,3,4.5,3,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C106,4.5,101.5,0,96,0z M87,84H23V20h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C231,4.5,226.5,0,221,0z M212,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,126H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,130.5,101.5,126,96,126z M87,209H23 v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,130.5,226.5,126,221,126z M212,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C356,4.5,351.5,0,346,0z M337,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,130.5,351.5,126,346,126z M337,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,256H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,260.5,101.5,256,96,256z M87,340H23 v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,260.5,226.5,256,221,256z M212,340h-64v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,260.5,351.5,256,346,256z M337,340h-64v-64h64V340z"})))),Yd=JSON.parse('{"name":"woolentor/product-tab","category":"woolentor-blocks","title":"WL : Product Tab","description":"Display product.","keywords":["woolentor","product tab","woocommerce product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"style":{"type":"string","default":"1"},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":1},"productTab":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"slitems":{"type":"number","default":4},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a:hover{ color: {{titleHoverColor}}; }"}},"titleAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ text-align: {{titleAlign}}; }"}},"priceColor":{"type":"string","selector":".product-item .product-inner .content .price","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price,{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount{ color: {{priceColor}}; }"}},"actionBtnColor":{"type":"string","selector":".product-item .actions a","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button,{{WOOLENTOR_WRAPPER}} .product-item .actions a::before{ color: {{actionBtnColor}}; }"}},"actionBtnBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions{ background-color: {{actionBtnBgColor}}; }"}},"actionBtnHoverColor":{"type":"string","selector":".product-item .actions a:hover","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button:hover,{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover::before{ color: {{actionBtnHoverColor}}; }"}},"actionBtnHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions:hover{ background-color: {{actionBtnHoverBgColor}}; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ text-align: {{contentAlign}}; }"}},"tabMenuColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ color: {{tabMenuColor}}; }"}},"tabMenuBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ background-color: {{tabMenuBGColor}}; }"}},"tabMenuBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a"}},"tabMenuActiveColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ color: {{tabMenuActiveColor}}; }"}},"tabMenuActiveBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ background-color: {{tabMenuActiveBGColor}}; }"}},"tabMenuActiveBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive"}}}}');var Zd=Yd.name,Jd=Yd.category,Xd=Yd.title,$d=Yd.description,em=Yd.keywords,tm=Yd.attributes,om={title:(0,de.__)(Xd,"woolentor"),description:(0,de.__)($d,"woolentor"),icon:React.createElement(me.Icon,{icon:Vd}),keywords:em,attributes:tm,edit:Qd,save:function(){return null}};function rm(e){return rm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rm(e)}function nm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,am(r.key),r)}}function am(e){var t=function(e,t){if("object"!=rm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rm(t)?t:String(t)}function lm(e,t,o){return t=cm(t),function(e,t){if(t&&("object"===rm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,im()?Reflect.construct(t,o||[],cm(e).constructor):t.apply(e,o))}function im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(im=function(){return!!e})()}function cm(e){return cm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cm(e)}function sm(e,t){return sm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sm(e,t)}var um=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),lm(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sm(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.contentAlignment,a=t.buttonUrl;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Banner Style","woolentor"),value:r,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return o({style:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Content Alignment","woolentor"),value:n,options:[{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"},{label:(0,de.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return o({contentAlignment:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Link","woolentor"),value:a,onChange:function(e){return o({buttonUrl:e})},help:"Please provide a valid URL format."}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBackground,onChange:function(e){return o({areaBackground:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Sub Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&nm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const dm=um,mm=window.wp.primitives,pm=(0,dn.createElement)(mm.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,dn.createElement)(mm.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));function gm(e){return gm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gm(e)}function fm(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function bm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ym(r.key),r)}}function ym(e){var t=function(e,t){if("object"!=gm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=gm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gm(t)?t:String(t)}function Rm(e,t,o){return t=wm(t),function(e,t){if(t&&("object"===gm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return hm(e)}(e,_m()?Reflect.construct(t,o||[],wm(e).constructor):t.apply(e,o))}function _m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_m=function(){return!!e})()}function wm(e){return wm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wm(e)}function hm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Em(e,t){return Em=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Em(e,t)}var vm=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Rm(this,t,arguments)).addImage=e.addImage.bind(hm(e)),e.onSelectImage=e.onSelectImage.bind(hm(e)),e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Em(e,t)}(t,e),o=t,r=[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;(0,ht.MediaUpload)({allowedTypes:["image","png"],filesList:e,onFileChange:function(e){var o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fm(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fm(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,1)[0];return t.onSelectImage(o)}})}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.clientId,l=e.setAttributes,i=o.title,c=o.subTitle,s=o.imgUrl,u=o.style,d=o.contentAlignment,m=o.buttonText,p=o.buttonUrl,g=o.blockUniqId;""==g&&l({blockUniqId:a});var f=function(e){return l({imgUrl:e.url,imgId:e.id})},b=Ae(o,t,g);return React.createElement(qe.Fragment,null,n&&React.createElement(dm,this.props),React.createElement("div",{className:"woolentorblock-".concat(g," ").concat(r)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+u+" woolentor-content-align-"+d},React.createElement("div",{className:"woolentor-content"},React.createElement(ht.RichText,{tagName:"h3",className:"banner_subtitle",value:c,onChange:function(e){return l({subTitle:e})},placeholder:(0,de.__)("Banner sub title...","woolentor"),style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(ht.RichText,{tagName:"h2",className:"banner_title",value:i,onChange:function(e){return l({title:e})},placeholder:(0,de.__)("Banner title...","woolentor"),style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(ht.RichText,{tagName:"a",className:"banner_button",value:m,onChange:function(e){return l({buttonText:e})},placeholder:(0,de.__)("Shop Now ....","woolentor"),href:p,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),s?React.createElement("div",{className:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:s,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t},s?(0,de.__)("Replace Image","woolentor"):React.createElement(ht.BlockIcon,{icon:pm}))}})))):React.createElement("div",{className:"woolentor-banner-img"},React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t},s?(0,de.__)("Replace Image","woolentor"):React.createElement(ht.BlockIcon,{icon:pm}))}}))))),b)}}],r&&bm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Om=vm,Pm=JSON.parse('{"name":"woolentor/promo-banner","category":"woolentor-blocks","title":"WL : Promo Banner","description":"Display promo banner.","keywords":["woolentor","product banner","woocommerce promo","promo banner"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"contentAlignment":{"type":"string","default":"left"},"areaBackground":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner{ background-color: {{areaBackground}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { margin: {{areaMargin}}; }"}},"title":{"type":"string","default":"","selector":".banner_title"},"subTitle":{"type":"string","default":"","selector":".banner_subtitle"},"imgId":{"type":"number"},"imgUrl":{"type":"string","source":"attribute","attribute":"src","selector":"img"},"buttonUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"buttonText":{"type":"string","source":"html","selector":"a"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"titleColor":{"type":"string","selector":".woolentor-banner .banner_title"},"titleSize":{"type":"string"},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { padding: {{titlePadding}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","selector":".woolentor-banner .banner_subtitle"},"subTitleSize":{"type":"string"},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { padding: {{subTitlePadding}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { margin: {{subTitleMargin}}; }"}},"buttonColor":{"type":"string","selector":".woolentor-banner .banner_button"},"buttonSize":{"type":"string"},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { padding: {{buttonPadding}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { margin: {{buttonMargin}}; }"}}}}'),Cm=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var Bm=Pm.name,Am=Pm.category,Sm=Pm.title,Wm=Pm.description,km=Pm.keywords,Tm=Pm.attributes,xm=Pm.supports,Lm={title:(0,de.__)(Sm,"woolentor"),description:(0,de.__)(Wm,"woolentor"),icon:React.createElement(me.Icon,{icon:Cm}),keywords:km,supports:xm,attributes:Tm,edit:Om,save:function(e){var t=e.className,o=e.attributes,r=o.title,n=o.subTitle,a=o.imgUrl,l=o.style,i=o.contentAlignment,c=o.buttonText,s=o.buttonUrl,u=o.blockUniqId;return React.createElement("div",{className:"woolentorblock-".concat(u," ").concat(t)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+i},React.createElement("div",{className:"woolentor-content"},React.createElement(ht.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:n,style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(ht.RichText.Content,{tagName:"h2",className:"banner_title",value:r,style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(ht.RichText.Content,{tagName:"a",className:"banner_button",href:(0,en.isURL)(s)?s:"#",value:c,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},s&&(0,en.isURL)(s)?React.createElement("a",{href:s},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r})):React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r}))))}};const Nm=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:t.order,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Empty Message","woolentor"),checked:t.showEmptyMessage,onChange:function(){return o({showEmptyMessage:!t.showEmptyMessage})}}),t.showEmptyMessage&&React.createElement(me.TextareaControl,{label:(0,de.__)("Empty Message","woolentor"),value:t.emptyMessage,onChange:function(e){return o({emptyMessage:e})}})),React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(co,{label:(0,de.__)("No Gutters","woolentor")},React.createElement(me.ToggleControl,{checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})},className:"woolentor-toggle-control"})),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Yt,{title:(0,de.__)("Content Settings","woolentor")},React.createElement(co,{label:(0,de.__)("Show Title","woolentor")},React.createElement(me.ToggleControl,{checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})},className:"woolentor-toggle-control"})),React.createElement(co,{label:(0,de.__)("Show Price","woolentor")},React.createElement(me.ToggleControl,{checked:t.showPrice,onChange:function(){return o({showPrice:!t.showPrice})},className:"woolentor-toggle-control"})),React.createElement(co,{label:(0,de.__)("Show Add To Cart Button","woolentor")},React.createElement(me.ToggleControl,{checked:t.showAddToCart,onChange:function(){return o({showAddToCart:!t.showAddToCart})},className:"woolentor-toggle-control"})),React.createElement(co,{label:(0,de.__)("Show Badge","woolentor")},React.createElement(me.ToggleControl,{checked:t.showBadge,onChange:function(){return o({showBadge:!t.showBadge})},className:"woolentor-toggle-control"})),React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:t.titleTag,options:an,onChange:function(e){return o({titleTag:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item Area","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(jr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Content Area","woolentor")},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o,responsive:!0}),React.createElement(jr,{value:t.contentBorder,onChange:function(e){return o({contentBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o,responsive:!0})),t.showTitle&&React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0})),t.showPrice&&React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0})),t.showAddToCart&&React.createElement(Yt,{title:(0,de.__)("Add To Cart","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addTocartSize,fallbackFontSize:t.addTocartSize,onChange:function(e){return o({addTocartSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.addTocartPadding,attributesKey:"addTocartPadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.cartButtonBorderRadius,attributesKey:"cartButtonBorderRadius",setAttributes:o,responsive:!0}),React.createElement(qt,{name:"actionbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonColor,onChange:function(e){return o({cartButtonColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonBGColor,onChange:function(e){return o({cartButtonBGColor:e})}})),React.createElement(jr,{value:t.cartButtonBorder,onChange:function(e){return o({cartButtonBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonHoverColor,onChange:function(e){return o({cartButtonHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonHoverBGColor,onChange:function(e){return o({cartButtonHoverBGColor:e})}})),React.createElement(jr,{value:t.cartButtonHoverBorder,onChange:function(e){return o({cartButtonHoverBorder:e})}})))),t.showBadge&&React.createElement(Yt,{title:(0,de.__)("Badge","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.badgeSize,fallbackFontSize:t.badgeSize,onChange:function(e){return o({badgeSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(co,{label:(0,de.__)("Out of Stock Badge Color","woolentor")},React.createElement(me.ColorPalette,{value:t.outStockBadgeColor,onChange:function(e){return o({outStockBadgeColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(jr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.badgePadding,attributesKey:"badgePadding",setAttributes:o,responsive:!0})),t.showEmptyMessage&&React.createElement(Yt,{title:(0,de.__)("Empty Message","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.emptyMessageSize,fallbackFontSize:t.emptyMessageSize,onChange:function(e){return o({emptyMessageSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyMessageColor,onChange:function(e){return o({emptyMessageColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyMessageBGColor,onChange:function(e){return o({emptyMessageBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.emptyMessagePadding,attributesKey:"emptyMessagePadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.emptyMessageMargin,attributesKey:"emptyMessageMargin",setAttributes:o,responsive:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function zm(e){return zm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zm(e)}function jm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Im(r.key),r)}}function Im(e){var t=function(e,t){if("object"!=zm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zm(t)?t:String(t)}function Mm(e,t,o){return t=Hm(t),function(e,t){if(t&&("object"===zm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Fm()?Reflect.construct(t,o||[],Hm(e).constructor):t.apply(e,o))}function Fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Fm=function(){return!!e})()}function Hm(e){return Hm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hm(e)}function Dm(e,t){return Dm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dm(e,t)}var qm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Mm(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dm(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Im(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-recently-viewed-products","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Nm,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:o,attributes:{columns:t.columns,noGutter:t.noGutter,showTitle:t.showTitle,showPrice:t.showPrice,showAddToCart:t.showAddToCart,showBadge:t.showBadge,titleTag:t.titleTag},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&jm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Gm=qm,Km=JSON.parse('{"name":"woolentor/recently-viewed-products","category":"woolentor-blocks","title":"Recently Viewed Products","description":"Display Recently Viewed Products.","keywords":["woolentor","recent product view","recently view","recent view product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showEmptyMessage":{"type":"boolean","default":true},"emptyMessage":{"type":"string","default":"You haven't viewed at any of the products yet."},"perPage":{"type":"number","default":4},"order":{"type":"string","default":"DESC"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showAddToCart":{"type":"boolean","default":true},"showBadge":{"type":"boolean","default":true},"titleTag":{"type":"string","default":"h2"},"itemPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ padding: {{itemPadding}} !important; }"}},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product"}},"itemBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ border-radius: {{itemBorderRadius}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content { text-align: {{contentAlignment}}; }"}},"contentPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ padding: {{contentPadding}} !important; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content"}},"contentBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ border-radius: {{contentBorderRadius}} !important; }"}},"titleSize":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title { font-size: {{titleSize}} !important; }"}},"titleColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title{ margin: {{titleMargin}} !important; }"}},"priceSize":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { font-size: {{priceSize}}; }"}},"priceColor":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { color: {{priceColor}}; }"}},"priceMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price{ margin: {{priceMargin}} !important; }"}},"addTocartSize":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { font-size: {{addTocartSize}}; }"}},"addTocartPadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ padding: {{addTocartPadding}} !important; }"}},"cartButtonBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ border-radius: {{cartButtonBorderRadius}} !important; }"}},"cartButtonColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { color: {{cartButtonColor}}; }"}},"cartButtonBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { background-color: {{cartButtonBGColor}}; }"}},"cartButtonBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart)"}},"cartButtonHoverColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { color: {{cartButtonHoverColor}}; }"}},"cartButtonHoverBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { background-color: {{cartButtonHoverBGColor}}; }"}},"cartButtonHoverBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover"}},"badgeSize":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { font-size: {{badgeSize}}; }"}},"badgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { color: {{badgeColor}}; }"}},"outStockBadgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label.ht-stockout { color: {{outStockBadgeColor}}; }"}},"badgeBGColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label"}},"badgeBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ border-radius: {{badgeBorderRadius}} !important; }"}},"badgePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ padding: {{badgePadding}} !important; }"}},"emptyMessageSize":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { font-size: {{emptyMessageSize}}; }"}},"emptyMessageColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { color: {{emptyMessageColor}}; }"}},"emptyMessageBGColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { background-color: {{emptyMessageBGColor}}; }"}},"emptyMessagePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ padding: {{emptyMessagePadding}} !important; }"}},"emptyMessageMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ margin: {{emptyMessageMargin}} !important; }"}}}}'),Um=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M7 7h4v4H7zm6 0h4v4h-4zm-6 6h4v4H7zm6 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"}));var Qm=Km.name,Vm=Km.title,Ym=Km.description,Zm=Km.category,Jm=Km.attributes,Xm=Km.keywords,$m=Km.supports,ep={title:(0,de.__)(Vm,"woolentor"),description:(0,de.__)(Ym,"woolentor"),icon:React.createElement(me.Icon,{icon:Um}),keywords:Xm,supports:$m,attributes:Jm,edit:Gm,save:function(){return null}};function tp(e){return tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tp(e)}function op(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rp(r.key),r)}}function rp(e){var t=function(e,t){if("object"!=tp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tp(t)?t:String(t)}function np(e,t,o){return t=lp(t),function(e,t){if(t&&("object"===tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ap()?Reflect.construct(t,o||[],lp(e).constructor):t.apply(e,o))}function ap(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ap=function(){return!!e})()}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lp(e)}function ip(e,t){return ip=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ip(e,t)}var cp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),np(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ip(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.title,n=t.contentPosition,a=t.bannerImage,l=t.badgeImage,i=t.badgeHorizontalPos,c=t.badgeVerticlePos;return React.createElement(React.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Content Position","woolentor"),value:n,options:[{label:(0,de.__)("Top","woolentor"),value:"top"},{label:(0,de.__)("Center","woolentor"),value:"center"},{label:(0,de.__)("Bottom","woolentor"),value:"bottom"},{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({contentPosition:e})}}),React.createElement(Xo,{title:(0,de.__)("Banner image","woolentor"),ImageData:a,attribute:"bannerImage"}),React.createElement(Xo,{title:(0,de.__)("Badge image","woolentor"),ImageData:l,attribute:"badgeImage"}),l.id&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Badge Horizontal Position","woolentor"),value:i,onChange:function(e){return o({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Badge Vertical Position","woolentor"),value:c,onChange:function(e){return o({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),value:r,placeholder:(0,de.__)("Banner Title","woolentor"),onChange:function(e){return o({title:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Sub Title","woolentor"),placeholder:(0,de.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return o({subTitle:e})}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Description","woolentor"),help:(0,de.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return o({bannerDescription:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Offer Amount","woolentor"),placeholder:(0,de.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return o({offerAmount:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:(0,de.__)("off","woolentor"),onChange:function(e){return o({offerTagLine:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:(0,de.__)("https://your-link.com","woolentor"),onChange:function(e){return o({bannerLink:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,de.__)("Shop Now","woolentor"),onChange:function(e){return o({buttonText:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Content Area","woolentor")},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Sub Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleSubColor,onChange:function(e){return o({titleSubColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return o({titleSubSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.desColor,onChange:function(e){return o({desColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return o({desSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Offer Amount","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.offerColor,onChange:function(e){return o({offerColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return o({offerSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Offer Tag Line","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.offerTagColor,onChange:function(e){return o({offerTagColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return o({offerTagSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonHoverColor,onChange:function(e){return o({buttonHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&op(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const sp=cp;function up(e){return up="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},up(e)}function dp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mp(r.key),r)}}function mp(e){var t=function(e,t){if("object"!=up(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=up(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==up(t)?t:String(t)}function pp(e,t,o){return t=fp(t),function(e,t){if(t&&("object"===up(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gp()?Reflect.construct(t,o||[],fp(e).constructor):t.apply(e,o))}function gp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gp=function(){return!!e})()}function fp(e){return fp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fp(e)}function bp(e,t){return bp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bp(e,t)}var yp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512",className:"woolentor-banner-default"},React.createElement("g",null,React.createElement("path",{d:"M446.575,0H65.425C29.349,0,0,29.35,0,65.426v381.149C0,482.65,29.349,512,65.425,512h381.15 C482.651,512,512,482.65,512,446.574V65.426C512,29.35,482.651,0,446.575,0z M481.842,446.575 c0,19.447-15.821,35.267-35.267,35.267H65.425c-19.447,0-35.268-15.821-35.268-35.267v-55.007l99.255-84.451 c3.622-3.082,8.906-3.111,12.562-0.075l62.174,51.628c5.995,4.977,14.795,4.569,20.304-0.946L372.181,209.77 c2.67-2.675,5.783-2.935,7.408-2.852c1.62,0.083,4.695,0.661,7.078,3.596l95.176,117.19V446.575z M481.842,279.865l-71.766-88.366 c-7.117-8.764-17.666-14.122-28.942-14.701c-11.268-0.57-22.317,3.672-30.294,11.662L212.832,326.681l-51.59-42.839 c-14.959-12.422-36.563-12.293-51.373,0.308l-79.712,67.822V65.426c0-19.447,15.821-35.268,35.268-35.268h381.15 c19.447,0,35.267,15.821,35.267,35.268V279.865z"})),React.createElement("g",null,React.createElement("path",{d:"M161.174,62.995c-40.095,0-72.713,32.62-72.713,72.713c0,40.094,32.619,72.713,72.713,72.713s72.713-32.619,72.713-72.713 S201.269,62.995,161.174,62.995z M161.174,178.264c-23.466,0-42.556-19.091-42.556-42.556c0-23.466,19.09-42.556,42.556-42.556 c23.466,0,42.556,19.091,42.556,42.556S184.64,178.264,161.174,178.264z"}))),Rp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pp(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()("wlspcial-banner",(c={},s="woolentor-banner-content-pos-"+o.contentPosition,u=o.contentPosition,(s=mp(s))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(sp,this.props),React.createElement("div",{className:r},React.createElement("div",{className:d},React.createElement("div",{className:"banner-thumb"},React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.bannerImage.url?React.createElement("img",{src:o.bannerImage.url,alt:"Banner"}):React.createElement("div",{className:"woolentor-default-banner"},yp))),o.badgeImage.url&&React.createElement("div",{className:"wlbanner-badgeimage"},React.createElement("img",{src:o.badgeImage.url,alt:"Banner Badge"})),React.createElement("div",{className:"banner-content"},o.title&&React.createElement("h2",null,o.title),o.subTitle&&React.createElement("h6",null,o.subTitle),o.offerAmount&&React.createElement("h5",null,o.offerAmount,React.createElement("span",null,o.offerTagLine)),o.bannerDescription&&React.createElement("p",null,o.bannerDescription),o.buttonText&&React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.buttonText)))),m)}}],r&&dp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const _p=Rp,hp=JSON.parse('{"name":"woolentor/special-day-offer","category":"woolentor-blocks","title":"WL : Special Day Offer","description":"Display spesial day offer banner.","keywords":["woolentor","shop banner","banner","special day","offer","special offer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"contentPosition":{"type":"string","default":"center"},"bannerImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Banner Title"},"subTitle":{"type":"string","default":"Banner Sub Title"},"bannerDescription":{"type":"string","default":"Banner Description"},"offerAmount":{"type":"string"},"offerTagLine":{"type":"string"},"bannerLink":{"type":"string"},"buttonText":{"type":"string"},"badgeImage":{"type":"object","default":{"id":null,"url":""}},"badgeHorizontalPos":{"type":"number","default":25,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { left: {{badgeHorizontalPos}}%; }"}},"badgeVerticlePos":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { top: {{badgeVerticlePos}}%; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { margin: {{titleMargin}}; }"}},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { padding: {{titlePadding}}; }"}},"titleSubColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { color: {{titleSubColor}}; }"}},"titleSubSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { font-size: {{titleSubSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { margin: {{subTitleMargin}}; }"}},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { padding: {{subTitlePadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { text-align: {{contentAlignment}}; }"}},"contentAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { padding: {{contentAreaPadding}}; }"}},"contentAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { margin: {{contentAreaMargin}}; }"}},"desColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ color: {{desColor}}; }"}},"desSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ font-size: {{desSize}}; }"}},"desMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ margin: {{desMargin}}; }"}},"desPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ padding: {{desPadding}}; }"}},"offerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ color: {{offerColor}}; }"}},"offerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ font-size: {{offerSize}}; }"}},"offerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ margin: {{offerMargin}}; }"}},"offerTagColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ color: {{offerTagColor}}; }"}},"offerTagSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ font-size: {{offerTagSize}}; }"}},"offerTagMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ margin: {{offerTagMargin}}; }"}},"buttonColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ color: {{buttonColor}}; }"}},"buttonHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a:hover{ color: {{buttonHoverColor}}; }"}},"buttonSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ font-size: {{buttonSize}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ margin: {{buttonMargin}}; }"}}}}'),Ep=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var vp=hp.name,Op=hp.category,Pp=hp.title,Cp=hp.description,Bp=hp.keywords,Ap=hp.attributes,Sp=hp.supports,Wp={title:(0,de.__)(Pp,"woolentor"),description:(0,de.__)(Cp,"woolentor"),icon:React.createElement(me.Icon,{icon:Ep}),keywords:Bp,attributes:Ap,supports:Sp,edit:_p,save:function(){return null}};const kp=function(e){var t=e.attributes,o=e.setAttributes,r=t.title,n=t.subTitle,a=t.layout,l=t.featureImage;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:a,options:[{label:(0,de.__)("Layout One","woolentor"),value:"1"},{label:(0,de.__)("Layout Two","woolentor"),value:"2"},{label:(0,de.__)("Layout Three","woolentor"),value:"3"},{label:(0,de.__)("Layout Four","woolentor"),value:"4"},{label:(0,de.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return o({layout:e})}}),React.createElement(Xo,{title:(0,de.__)("Image","woolentor"),ImageData:l,attribute:"featureImage"}),React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),value:r,onChange:function(e){return o({title:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Sub Title","woolentor"),value:n,onChange:function(e){return o({subTitle:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor")},React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBorderColor,onChange:function(e){return o({areaBorderColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaHoverBorderColor,onChange:function(e){return o({areaHoverBorderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Sub Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}))))};function Tp(e){return Tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tp(e)}function xp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lp(r.key),r)}}function Lp(e){var t=function(e,t){if("object"!=Tp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tp(t)?t:String(t)}function Np(e,t,o){return t=jp(t),function(e,t){if(t&&("object"===Tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zp()?Reflect.construct(t,o||[],jp(e).constructor):t.apply(e,o))}function zp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zp=function(){return!!e})()}function jp(e){return jp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jp(e)}function Ip(e,t){return Ip=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ip(e,t)}var Mp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Np(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ip(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(ht.BlockControls,null,React.createElement(ht.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return o({textAlignment:e})}})))}}],r&&xp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Fp=Mp;function Hp(e){return Hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hp(e)}function Dp(e,t,o){return(t=Gp(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function qp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gp(r.key),r)}}function Gp(e){var t=function(e,t){if("object"!=Hp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Hp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hp(t)?t:String(t)}function Kp(e,t,o){return t=Qp(t),function(e,t){if(t&&("object"===Hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Up()?Reflect.construct(t,o||[],Qp(e).constructor):t.apply(e,o))}function Up(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Up=function(){return!!e})()}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qp(e)}function Vp(e,t){return Vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vp(e,t)}var Yp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Kp(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.className,r=e.attributes,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=r.blockUniqId,c=r.featureImage;""==i&&a({blockUniqId:l});var s=Kt()(o,Dp({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+r.layout,r.layout),Dp({},"woolentor-text-align-"+r.textAlignment,r.textAlignment),"woolentorblock-".concat(i)),u=Ae(r,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kp,this.props),n&&React.createElement(Fp,this.props),React.createElement("div",{className:s},React.createElement("div",{className:"ht-feature-inner"},c.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:c.url,alt:r.title})),React.createElement("div",{className:"ht-feature-content"},r.title&&React.createElement("h4",null,r.title),r.subTitle&&React.createElement("p",null,r.subTitle)))),u)}}],r&&qp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Zp=Yp,Jp=JSON.parse('{"name":"woolentor/store-feature","category":"woolentor-blocks","title":"WL : Store Feature","description":"Display store feature.","keywords":["woolentor","shop feature","feature","store"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"layout":{"type":"string","default":"1"},"featureImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Free shipping"},"subTitle":{"type":"string","default":"Start from $100"},"textAlignment":{"type":"string","default":"center"},"areaBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-feature-inner { border-color: {{areaBorderColor}}; }"}},"areaHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap:hover .ht-feature-inner { border-color: {{areaHoverBorderColor}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap { background-color: {{areaBackgroundColor}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { color: {{subTitleColor}}; }"}},"subTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { font-size: {{subTitleSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { margin: {{subTitleMargin}}; }"}}}}'),Xp=React.createElement("svg",{viewBox:"-27 0 512 512.00001",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m399.996094 0h-341.996094c-31.980469 0-58 26.019531-58 58v369.996094c0 16.542968 13.457031 30 30 30h131.332031c5.523438 0 10-4.476563 10-10 0-5.523438-4.476562-10-10-10h-131.332031c-5.515625 0-10-4.484375-10-10v-369.996094c0-20.953125 17.046875-38 38-38h298.234375c-8.855469 10.1875-14.238281 23.472656-14.238281 38v322.265625c0 9.226563-7.503906 16.730469-16.730469 16.730469-7.210937 0-13.589844-4.597656-15.875-11.4375l-15.070313-45.21875c-4.253906-12.765625-16.15625-21.339844-29.609374-21.339844-17.210938 0-31.210938 14-31.210938 31.207031v7.789063h-51.832031c-5.523438 0-10 4.480468-10 10 0 5.523437 4.476562 10 10 10h51.832031v49.75c0 14.765625 2.878906 29.164062 8.558594 42.789062l14.710937 35.308594c1.601563 3.839844 5.316407 6.15625 9.234375 6.15625 1.28125 0 2.585938-.246094 3.839844-.769531 5.101562-2.125 7.511719-7.980469 5.386719-13.078125l-14.710938-35.308594c-4.65625-11.175781-7.019531-22.984375-7.019531-35.09375v-77.539062c0-6.183594 5.027344-11.210938 11.210938-11.210938 4.832031 0 9.109374 3.078125 10.636718 7.664062l15.070313 45.21875c5.007812 15.019532 19.011719 25.113282 34.847656 25.113282 20.253906 0 36.730469-16.476563 36.730469-36.730469v-171.449219l13.363281 13.335938c23.84375 23.796875 36.972656 55.457031 36.972656 89.140625v106.300781c0 27.535156-6.238281 55.238281-18.035156 80.117188-2.367187 4.988281-.238281 10.953124 4.75 13.320312s10.953125.242188 13.320313-4.75c13.058593-27.539062 19.964843-58.207031 19.964843-88.6875v-106.300781c0-39.035157-15.214843-75.71875-42.84375-103.296875l-27.492187-27.441406v-9.554688h66c16.542968 0 30-13.457031 30-30v-83c0-31.980469-26.015625-58-58-58zm38 141c0 5.511719-4.484375 10-10 10h-66v-93c0-20.953125 17.046875-38 38-38s38 17.046875 38 38zm0 0"}),React.createElement("path",{d:"m205 437.996094c-2.632812 0-5.210938 1.070312-7.070312 2.929687-1.859376 1.863281-2.929688 4.441407-2.929688 7.070313 0 2.632812 1.070312 5.210937 2.929688 7.070312 1.859374 1.859375 4.4375 2.929688 7.070312 2.929688 2.628906 0 5.207031-1.070313 7.070312-2.929688 1.859376-1.859375 2.929688-4.4375 2.929688-7.070312 0-2.628906-1.070312-5.207032-2.929688-7.070313-1.863281-1.859375-4.441406-2.929687-7.070312-2.929687zm0 0"}),React.createElement("path",{d:"m137.667969 74c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m137.667969 194c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m117.667969 294h-44c-11.03125 0-20 8.96875-20 20v43.996094c0 11.03125 8.96875 20 20 20h44c11.027343 0 20-8.96875 20-20v-43.996094c0-11.03125-8.972657-20-20-20zm0 63.996094h-44v-43.996094h44l.011719 43.996094s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m296.332031 138c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-68.9375c-5.523437 0-10 4.476562-10 10s4.476563 10 10 10zm0 0"}),React.createElement("path",{d:"m181.667969 138c2.632812 0 5.210937-1.070312 7.070312-2.929688 1.859375-1.859374 2.929688-4.441406 2.929688-7.070312s-1.070313-5.210938-2.929688-7.070312c-1.859375-1.859376-4.4375-2.929688-7.070312-2.929688-2.640625 0-5.210938 1.070312-7.070313 2.929688-1.867187 1.859374-2.929687 4.441406-2.929687 7.070312s1.0625 5.210938 2.929687 7.070312c1.859375 1.859376 4.429688 2.929688 7.070313 2.929688zm0 0"}),React.createElement("path",{d:"m181.664062 258h114.667969c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-114.667969c-5.519531 0-10 4.476562-10 10s4.480469 10 10 10zm0 0"}));var $p=Jp.name,eg=Jp.category,tg=Jp.title,og=Jp.description,rg=Jp.keywords,ng=Jp.supports,ag=Jp.attributes,lg={title:(0,de.__)(tg,"woolentor"),description:(0,de.__)(og,"woolentor"),icon:React.createElement(me.Icon,{icon:Xp}),keywords:rg,supports:ng,example:{attributes:{style:"1"}},attributes:ag,edit:Zp,save:function(){return null}};function ig(e){return function(e){if(Array.isArray(e))return sg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||cg(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cg(e,t){if(e){if("string"==typeof e)return sg(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?sg(e,t):void 0}}function sg(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const ug=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||cg(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=ig(o.testimonialList);a[n][t]=e,r({testimonialList:a})};return o.testimonialList.length>0&&(t=o.testimonialList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.testimonialList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,de.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=ig(o.testimonialList);t.splice(e,1),r({testimonialList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Customer Name","woolentor"),value:o.testimonialList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Designation","woolentor"),value:o.testimonialList[t].designation,placeholder:(0,de.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Rating","woolentor"),value:o.testimonialList[t].rating,placeholder:(0,de.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Message","woolentor"),value:o.testimonialList[t].message,placeholder:(0,de.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Xo,{title:(0,de.__)("Choose Image","woolentor"),instructions:(0,de.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.testimonialList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Testimonial","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:o.testimonialStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({testimonialStyle:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Show From","woolentor"),value:o.testimonialType,options:[{label:(0,de.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return r({testimonialType:e})}}),"custom"==o.testimonialType&&React.createElement(React.Fragment,null,t,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=ig(o.testimonialList);e.push({name:(0,de.__)("Customer Name #"+(o.testimonialList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({testimonialList:e}),l(o.testimonialList.length)}.bind(void 0)},(0,de.__)("Add Review","woolentor"))),"allproduct"==o.testimonialType&&React.createElement(React.Fragment,null,React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.testimonialType&&React.createElement(me.TextControl,{label:(0,de.__)("Product ID","woolentor"),placeholder:(0,de.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.testimonialType&&React.createElement(me.Notice,{status:"success",isDismissible:!1},(0,de.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.testimonialType&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.testimonialType&&React.createElement(me.ToggleControl,{label:(0,de.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(jr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(jr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Name","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Designation","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Message","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.ratingSize,fallbackFontSize:o.ratingSize,onChange:function(e){return r({ratingSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},dg=function(){return React.createElement(qe.Fragment,null,React.createElement(ht.BlockControls,null,React.createElement(wr.BlockControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"})))};function mg(e){return mg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mg(e)}function pg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gg(r.key),r)}}function gg(e){var t=function(e,t){if("object"!=mg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mg(t)?t:String(t)}function fg(e,t,o){return t=yg(t),function(e,t){if(t&&("object"===mg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bg()?Reflect.construct(t,o||[],yg(e).constructor):t.apply(e,o))}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bg=function(){return!!e})()}function yg(e){return yg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yg(e)}function Rg(e,t){return Rg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rg(e,t)}var _g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),fg(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rg(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=gg(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(t,l,i);return React.createElement(qe.Fragment,null,r&&React.createElement(ug,this.props),r&&React.createElement(dg,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:l,attributes:{blockUniqId:i,testimonialStyle:t.testimonialStyle,testimonialType:t.testimonialType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,testimonialList:t.testimonialList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&pg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const wg=_g,hg=JSON.parse('{"name":"woolentor/testimonial","category":"woolentor-blocks","title":"WL : Testimonial","description":"Display testimonial.","keywords":["woolentor","testimonial","review","customer","feedback"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"testimonialStyle":{"type":"string","default":"1"},"testimonialType":{"type":"string","default":"custom"},"testimonialList":{"type":"array","default":[{"name":"Anna Miller","designation":"Designer","rating":"5","message":"“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, laboris consequat.”","image":{"id":"","url":""}},{"name":"Kevin Walker","designation":"Manager","rating":"3.5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Ruth Pierce","designation":"Developer","rating":"4","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-client-content,{{WOOLENTOR_WRAPPER}} .ht-client-rating { text-align: {{contentAlign}}; } {{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul{ display:inline-flex; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span::before,{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4::before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { color: {{ratingColor}}!important; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { font-size: {{ratingSize}}!important; }"}}}}'),Eg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23a1 1 0 0 1-1-1v-3H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4.1l-3.7 3.71c-.2.19-.45.29-.7.29H12m1-6v3.08L16.08 17H21V7H7v10h6M3 15H1V3a2 2 0 0 1 2-2h16v2H3v12Z"}));var vg=hg.name,Og=hg.category,Pg=hg.title,Cg=hg.description,Bg=hg.keywords,Ag=hg.attributes,Sg=hg.supports,Wg={title:(0,de.__)(Pg,"woolentor"),description:(0,de.__)(Cg,"woolentor"),icon:React.createElement(me.Icon,{icon:Eg}),keywords:Bg,attributes:Ag,supports:Sg,edit:wg,save:function(){return null}};const kg=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Show Heading","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showHeading,onChange:function(){return o({showHeading:!t.showHeading})}})))),React.createElement(xt,null,!0===t.showHeading&&React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Content Table","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(fo,{label:(0,de.__)("Content","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Tg(e){return Tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tg(e)}function xg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lg(r.key),r)}}function Lg(e){var t=function(e,t){if("object"!=Tg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Tg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tg(t)?t:String(t)}function Ng(e,t,o){return t=jg(t),function(e,t){if(t&&("object"===Tg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zg()?Reflect.construct(t,o||[],jg(e).constructor):t.apply(e,o))}function zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zg=function(){return!!e})()}function jg(e){return jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jg(e)}function Ig(e,t){return Ig=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ig(e,t)}var Mg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ng(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ig(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Lg(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Kt()("woolentor-product-additional-info"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kg,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.additional_info}}))),p)}}],r&&xg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Fg=Mg,Hg=JSON.parse('{"name":"woolentor/product-additional-info","category":"woolentor-single-product","title":"WL : Product Additional Info","description":"Display product additional information.","keywords":["woolentor","additional info","information","product information"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showHeading":{"type":"boolean","default":true},"headingColor":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { margin: {{headingMargin}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { font-size: {{tableHeadingSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { color: {{tableContentColor}}; }"}},"tableContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { font-size: {{tableContentSize}}; }"}}}}'),Dg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.75em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 384 512"},React.createElement("path",{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z",fill:"currentColor"}));var qg=Hg.name,Gg=Hg.category,Kg=Hg.title,Ug=Hg.description,Qg=Hg.keywords,Vg=Hg.attributes,Yg={title:(0,de.__)(Kg,"woolentor"),description:(0,de.__)(Ug,"woolentor"),icon:React.createElement(me.Icon,{icon:Dg}),keywords:Qg,example:{attributes:{showHeading:!0}},attributes:Vg,edit:Fg,save:function(){return null}};const Zg=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,de.__)("Default","woolentor"),value:"1"},{label:(0,de.__)("Layout One","woolentor"),value:"2"},{label:(0,de.__)("Layout Two","woolentor"),value:"3"},{label:(0,de.__)("Layout Three","woolentor"),value:"4"},{label:(0,de.__)("Layout Four","woolentor"),value:"5"}],onChange:function(e){return o({layoutStyle:e})}}),React.createElement(co,{label:(0,de.__)("Hide Quantity Field","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideQuantityField,onChange:function(){return o({hideQuantityField:!t.hideQuantityField})}})),!1===t.hideQuantityField&&"1"!==t.layoutStyle&&React.createElement(fo,{label:(0,de.__)("Quantity Field","woolentor")}),!1===t.hideQuantityField&&"4"!==t.layoutStyle&&"1"!==t.layoutStyle&&React.createElement(me.TextControl,{label:(0,de.__)("Quantity Field Label","woolentor"),value:t.quantityText,onChange:function(e){return o({quantityText:e})}}),!1===t.hideQuantityField&&("2"===t.layoutStyle||"4"===t.layoutStyle)&&"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(Wr,{label:(0,de.__)("Plus Icon","woolentor"),onReset:function(){return o({quantityPlusIcon:""})},value:t.quantityPlusIcon,onChange:function(e){return o({quantityPlusIcon:e})}}),React.createElement(Wr,{label:(0,de.__)("Minus Icon","woolentor"),onReset:function(){return o({quantityMinusIcon:""})},value:t.quantityMinusIcon,onChange:function(e){return o({quantityMinusIcon:e})}})),"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Buttons","woolentor")}),React.createElement(co,{label:(0,de.__)("Hide Wishlist","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideWishlistButton,onChange:function(){return o({hideWishlistButton:!t.hideWishlistButton})}})),React.createElement(co,{label:(0,de.__)("Hide Compare","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideCompareButton,onChange:function(){return o({hideCompareButton:!t.hideCompareButton})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.buttonsPosition,options:[{label:(0,de.__)("Befor Add to Cart","woolentor"),value:"before"},{label:(0,de.__)("After Add to Cart","woolentor"),value:"after"},{label:(0,de.__)("Both Side of Add to Cart","woolentor"),value:"both"}],onChange:function(e){return o({buttonsPosition:e})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Add To Cart Button","woolentor"),initialOpen:!0},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.buttonBorderType,options:ln,onChange:function(e){return o({buttonBorderType:e})}}),t.buttonBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.buttonBorderWidth,attributesKey:"buttonBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonBorderColor,onChange:function(e){return o({buttonBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.buttonBorderRadius,attributesKey:"buttonBorderRadius",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonBackgroundColor,onChange:function(e){return o({buttonBackgroundColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverButtonBackgroundColor,onChange:function(e){return o({hoverButtonBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverButtonBorderColor,onChange:function(e){return o({hoverButtonBorderColor:e})}}))))),!1===t.hideQuantityField&&React.createElement(Yt,{title:(0,de.__)("Quantity","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Quantity Number","woolentor")},React.createElement(me.ColorPalette,{value:t.qntNumberColor,onChange:function(e){return o({qntNumberColor:e})}})),"4"===t.layoutStyle&&React.createElement(co,{label:(0,de.__)("Quantity Background","woolentor")},React.createElement(me.ColorPalette,{value:t.qntBGColor,onChange:function(e){return o({qntBGColor:e})}})),("2"===t.layoutStyle||"3"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Label Font Size","woolentor"),layout:"two",styles:{textAlign:"left"}}),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.qntTextSize,fallbackFontSize:t.qntTextSize,onChange:function(e){return o({qntTextSize:e})}}),React.createElement(co,{label:(0,de.__)("Label Color","woolentor")},React.createElement(me.ColorPalette,{value:t.qntLabelColor,onChange:function(e){return o({qntLabelColor:e})}}))),React.createElement(jr,{value:t.qntBorder,onChange:function(e){return o({qntBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.qntBorderRadius,attributesKey:"qntBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.qntPadding,attributesKey:"qntPadding",setAttributes:o}),"2"===t.layoutStyle&&React.createElement(me.RangeControl,{label:(0,de.__)("Spacing","woolentor"),value:t.qntSpaceBetween,onChange:function(e){return o({qntSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Font Size","woolentor"),value:t.qntFontSize,onChange:function(e){return o({qntFontSize:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(qt,{name:"qntbuttonstyles"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.qntPlusMinusColor,onChange:function(e){return o({qntPlusMinusColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.qntPlusMinusHoverColor,onChange:function(e){return o({qntPlusMinusHoverColor:e})}})))))),"1"!==t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("WishList and Compare Button","woolentor"),initialOpen:!1},React.createElement(me.RangeControl,{label:(0,de.__)("Font Size","woolentor"),value:t.buttonsFontSize,onChange:function(e){return o({buttonsFontSize:e})},allowReset:!0,min:0,step:1,max:1e3}),("3"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(me.RangeControl,{label:(0,de.__)("Space Between","woolentor"),value:t.buttonsSpaceBetween,onChange:function(e){return o({buttonsSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Width","woolentor"),value:t.buttonsWidth,onChange:function(e){return o({buttonsWidth:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Height","woolentor"),value:t.buttonsHeight,onChange:function(e){return o({buttonsHeight:e})},allowReset:!0,min:0,step:1,max:2e3})),React.createElement(qt,{name:"wishlistcomparebutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsColor,onChange:function(e){return o({buttonsColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsBGColor,onChange:function(e){return o({buttonsBGColor:e})}})),React.createElement(jr,{value:t.buttonsBorder,onChange:function(e){return o({buttonsBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.buttonsBorderRadius,attributesKey:"buttonsBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.buttonsPadding,attributesKey:"buttonsPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.buttonsMargin,attributesKey:"buttonsMargin",setAttributes:o}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsHoverColor,onChange:function(e){return o({buttonsHoverColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsHoverBGColor,onChange:function(e){return o({buttonsHoverBGColor:e})}})),React.createElement(jr,{value:t.buttonsHoverBorder,onChange:function(e){return o({buttonsHoverBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.buttonsHoverBorderRadius,attributesKey:"buttonsHoverBorderRadius",setAttributes:o})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jg(e){return Jg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jg(e)}const Xg=JSON.parse('{"name":"woolentor/product-addtocart","category":"woolentor-single-product","title":"WL : Add To Cart","description":"Display product cart button.","keywords":["woolentor","product add to cart","cart button","add to cart"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"1"},"quantityText":{"type":"string","default":"Quantity"},"quantityPlusIcon":{"type":"string","default":"fa fa-plus"},"quantityMinusIcon":{"type":"string","default":"fa fa-minus"},"hideWishlistButton":{"type":"boolean","default":false},"hideCompareButton":{"type":"boolean","default":false},"buttonsPosition":{"type":"string","default":"both"},"hideQuantityField":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .quantity,{{WOOLENTOR_WRAPPER}} form.cart input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart form.cart .wl-quantity-wrap{ display: none !important; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ font-size: {{textSize}} !important; }"}},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ padding: {{buttonPadding}} !important; }"}},"buttonBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-style: {{buttonBorderType}} !important; }"}},"buttonBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-width: {{buttonBorderWidth}} !important; }"}},"buttonBorderColor":{"type":"string","style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-color: {{buttonBorderColor}} !important; }"}},"buttonBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-radius: {{buttonBorderRadius}} !important; }"}},"buttonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ background-color: {{buttonBackgroundColor}} !important; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ color: {{hoverTextColor}} !important; }"}},"hoverButtonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ background-color: {{hoverButtonBackgroundColor}} !important; }"}},"hoverButtonBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ border-color: {{hoverButtonBorderColor}} !important; }"}},"buttonsColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span){ color: {{buttonsColor}} !important; }"}},"buttonsBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare){ background-color: {{buttonsBGColor}} !important; }"}},"buttonsBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon"}},"buttonsBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ border-radius: {{buttonsBorderRadius}} !important; }"}},"buttonsPadding":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ padding: {{buttonsPadding}} !important; }"}},"buttonsMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ margin: {{buttonsMargin}} !important; }"}},"buttonsFontSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-cart-icon.wishlist a svg,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 form.cart .wl-cart-icon.wishlist .wishsuite-button svg,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li a svg{ width: {{buttonsFontSize}}px !important; } {{WOOLENTOR_WRAPPER}} .wl-cart-icon.compare a,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li :is(a,span){font-size:{{buttonsFontSize}}px; }"}},"buttonsWidth":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ width: {{buttonsWidth}}px !important; }"}},"buttonsHeight":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ height: {{buttonsHeight}}px !important; }"}},"buttonsSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["3","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is( span.wishsuite-btn-text,.htcompare-btn.woolentor-compare ){ margin-left: {{buttonsSpaceBetween}}px !important; }"}},"buttonsHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span):hover{ color: {{buttonsHoverColor}} !important; }"}},"buttonsHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare):hover{ background-color: {{buttonsHoverBGColor}} !important; }"}},"buttonsHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover"}},"buttonsHoverBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon:hover,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover{ border-radius: {{buttonsHoverBorderRadius}} !important; }"}},"qntTextSize":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .label{ font-size: {{qntTextSize}}; }"}},"qntPlusMinusColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus){ color: {{qntPlusMinusColor}}; }"}},"qntNumberColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .quantity input[type=number]{ color: {{qntNumberColor}}; }"}},"qntBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"4"}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal{ background-color: {{qntBGColor}}; }"}},"qntLabelColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap span.label{ color: {{qntLabelColor}}; }"}},"qntPlusMinusHoverColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus):hover{ color: {{qntPlusMinusHoverColor}}; }"}},"qntBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]"}},"qntBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ border-radius: {{buttonsHoverBorderRadius}} }"}},"qntPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ padding: {{qntPadding}} }"}},"qntSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"2"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal{ margin-left: {{qntSpaceBetween}}px !important; }"}},"qntFontSize":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal :is(.quantity input,.wl-quantity){ font-size: {{qntFontSize}}px; }"}}}}'),$g=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.13em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 576 512"},React.createElement("path",{d:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994c-29.823-.429-54.35-24.631-55.155-54.447c-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938c-28.54-1.325-51.751-24.385-53.251-52.917c-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z",fill:"currentColor"}));var ef=Xg.name,tf=Xg.category,of=Xg.title,rf=Xg.description,nf=Xg.keywords,af=Xg.attributes,lf={title:(0,de.__)(of,"woolentor"),description:(0,de.__)(rf,"woolentor"),icon:React.createElement(me.Icon,{icon:$g}),keywords:nf,example:{attributes:{textColor:"#fff"}},attributes:af,edit:function(e){var t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d,m=Ae(o,t,i),p=Kt()((c={},u=r,d=function(e,t){if("object"!=Jg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(s=r),(s="symbol"==Jg(d)?d:String(d))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","product","woolentorblock-".concat(i));return React.createElement(qe.Fragment,null,n&&React.createElement(Zg,e),React.createElement("div",{className:p},React.createElement(ns(),{block:t,attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,quantityText:o.quantityText,quantityPlusIcon:o.quantityPlusIcon,quantityMinusIcon:o.quantityMinusIcon,hideWishlistButton:o.hideWishlistButton,hideCompareButton:o.hideCompareButton,buttonsPosition:o.buttonsPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}),m))},save:function(){return null}};const cf=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,de.__)("Tab","woolentor"),value:"tab"},{label:(0,de.__)("Tab With Slider","woolentor"),value:"tabslider"},{label:(0,de.__)("Gallery","woolentor"),value:"gallery"},{label:(0,de.__)("Slider","woolentor"),value:"slider"},{label:(0,de.__)("Single Thumbnails","woolentor"),value:"single"}],onChange:function(e){return o({layoutStyle:e})}}),("tabslider"===t.layoutStyle||"tab"===t.layoutStyle)&&React.createElement(wr.InspectorControls,{label:(0,de.__)("Thumbnails Position","woolentor"),attribute:"thumbnailsPosition",isSmall:!0,options:[{value:"left",title:(0,de.__)("Left","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:ze}))},{value:"right",title:(0,de.__)("Right","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:je}))},{value:"top",title:(0,de.__)("Top","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:Le}))},{value:"bottom",title:(0,de.__)("bottom","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:Ne}))}]}),React.createElement(co,{label:(0,de.__)("Sale Badge Hide","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleBadgeHide,onChange:function(){return o({saleBadgeHide:!t.saleBadgeHide})}})),React.createElement(co,{label:(0,de.__)("Custom Badge Hide","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.customSaleBadgeHide,onChange:function(){return o({customSaleBadgeHide:!t.customSaleBadgeHide})}}))),"tabslider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(fo,{label:(0,de.__)("Main Image Slider","woolentor")}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainArrows,onChange:function(){return o({mainArrows:!t.mainArrows})}})),React.createElement(co,{label:(0,de.__)("Slider Pagination","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainDots,onChange:function(){return o({mainDots:!t.mainDots})}})),React.createElement(fo,{label:(0,de.__)("Thumbnails Slider","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.thumbSliderItems,onChange:function(e){return o({thumbSliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.thumbnaiArrows,onChange:function(){return o({thumbnaiArrows:!t.thumbnaiArrows})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Arrow Style","woolentor"),value:t.thumbArrowStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"one"},{label:(0,de.__)("Style Two","woolentor"),value:"two"}],onChange:function(e){return o({thumbArrowStyle:e})}})),"slider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(fo,{label:(0,de.__)("Tablet Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(fo,{label:(0,de.__)("Mobile Phone Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,"gallery"!=t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Main Image","woolentor")},React.createElement(jr,{value:t.imageBorder,onChange:function(e){return o({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Thumbnails Image","woolentor")},React.createElement(jr,{value:t.thumbImageBorder,onChange:function(e){return o({thumbImageBorder:e})}}),"tabslider"===t.layoutStyle&&React.createElement(jr,{label:(0,de.__)("Current Thumbnails Border","woolentor"),value:t.thumbCurrentImageBorder,onChange:function(e){return o({thumbCurrentImageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.thumbImageBorderRadius,attributesKey:"thumbImageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.thumbImageMargin,attributesKey:"thumbImageMargin",setAttributes:o,responsive:!0})),"tabslider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Main Slider Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationColor,onChange:function(e){return o({mainNavigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationBGColor,onChange:function(e){return o({mainNavigationBGColor:e})}})),React.createElement(jr,{value:t.mainNavigationBorder,onChange:function(e){return o({mainNavigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationHoverColor,onChange:function(e){return o({mainNavigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationHoverBGColor,onChange:function(e){return o({mainNavigationHoverBGColor:e})}})),React.createElement(jr,{value:t.mainNavigationHoverBorder,onChange:function(e){return o({mainNavigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Main Slider Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:t.mainPaginationPosition,onChange:function(e){return o({mainPaginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainPaginationColor,onChange:function(e){return o({mainPaginationColor:e})}})),React.createElement(jr,{value:t.mainPaginationBorder,onChange:function(e){return o({mainPaginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainPaginationActiveColor,onChange:function(e){return o({mainPaginationActiveColor:e})}})),React.createElement(jr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Thumbnails Slider Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationColor,onChange:function(e){return o({thumbNavigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationBGColor,onChange:function(e){return o({thumbNavigationBGColor:e})}})),React.createElement(jr,{value:t.thumbNavigationBorder,onChange:function(e){return o({thumbNavigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationHoverColor,onChange:function(e){return o({thumbNavigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationHoverBGColor,onChange:function(e){return o({thumbNavigationHoverBGColor:e})}})),React.createElement(jr,{value:t.thumbNavigationHoverBorder,onChange:function(e){return o({thumbNavigationHoverBorder:e})}})))),"slider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(jr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(jr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(jr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(jr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}})))),React.createElement(Yt,{title:(0,de.__)("Product Badge","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(jr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.badgeBorderPadding,attributesKey:"badgeBorderPadding",setAttributes:o,responsive:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sf(e){return sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sf(e)}function uf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,df(r.key),r)}}function df(e){var t=function(e,t){if("object"!=sf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sf(t)?t:String(t)}function mf(e,t,o){return t=gf(t),function(e,t){if(t&&("object"===sf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pf()?Reflect.construct(t,o||[],gf(e).constructor):t.apply(e,o))}function pf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pf=function(){return!!e})()}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gf(e)}function ff(e,t){return ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ff(e,t)}var bf=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=mf(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeNavForSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o.customEventSlider=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ff(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),document.dispatchEvent(t.customEventSlider),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=o.blockUniqId;""==i&&n({blockUniqId:a});var c=Kt()(t,"wlpro-product-thumbnails","woolentorblock-".concat(i)),s=Ae(o,l,i);return"tabslider"===o.layoutStyle&&document.dispatchEvent(this.customEvent),"slider"===o.layoutStyle&&document.dispatchEvent(this.customEventSlider),React.createElement(qe.Fragment,null,r&&React.createElement(cf,this.props),React.createElement("div",{className:c},React.createElement(ns(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,thumbnailsPosition:o.thumbnailsPosition,saleBadgeHide:o.saleBadgeHide,customSaleBadgeHide:o.customSaleBadgeHide,mainArrows:o.mainArrows,mainDots:o.mainDots,thumbSliderItems:o.thumbSliderItems,thumbnaiArrows:o.thumbnaiArrows,thumbArrowStyle:o.thumbArrowStyle,sliderItems:o.sliderItems,arrows:o.arrows,dots:o.dots,pauseOnHover:o.pauseOnHover,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,animationSpeed:o.animationSpeed,scrollColumns:o.scrollColumns,tabletDisplayColumns:o.tabletDisplayColumns,tabletScrollColumns:o.tabletScrollColumns,tabletWidth:o.tabletWidth,mobileDisplayColumns:o.mobileDisplayColumns,mobileScrollColumns:o.mobileScrollColumns,mobileWidth:o.mobileWidth},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),s)}}],r&&uf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const yf=bf,Rf=JSON.parse('{"name":"woolentor/product-advance-image","category":"woolentor-single-product","title":"WL: Advance Product Image","description":"Display Product Grid.","keywords":["woolentor","shoplentor","product","single product","woocommerce","advance product image"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"tab"},"thumbnailsPosition":{"type":"string","default":"bottom"},"saleBadgeHide":{"type":"boolean","default":false},"customSaleBadgeHide":{"type":"boolean","default":false},"mainArrows":{"type":"boolean","default":true},"mainDots":{"type":"boolean","default":true},"thumbSliderItems":{"type":"number","default":4},"thumbnaiArrows":{"type":"boolean","default":true},"thumbArrowStyle":{"type":"string","default":"one"},"sliderItems":{"type":"number","default":1},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":1},"tabletDisplayColumns":{"type":"number","default":1},"tabletScrollColumns":{"type":"number","default":1},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image img{ border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image{ margin: {{imageMargin}}; }"}},"thumbImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img"}},"thumbCurrentImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single.slick-current img"}},"thumbImageBorderRadius":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img{ border-radius: {{thumbImageBorderRadius}}; }"}},"thumbImageMargin":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery,.woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img{ margin: {{thumbImageMargin}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}},"mainNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ color: {{mainNavigationColor}}!important; }"}},"mainNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ background-color: {{mainNavigationBGColor}}!important; }"}},"mainNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow"}},"mainNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ color: {{mainNavigationHoverColor}}!important; }"}},"mainNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ background-color: {{mainNavigationHoverBGColor}}!important; }"}},"mainNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow:hover"}},"mainPaginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots{ bottom: {{mainPaginationPosition}}px; }"}},"mainPaginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button{ background-color: {{mainPaginationColor}}; }"}},"mainPaginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button"}},"mainPaginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button{ background-color: {{mainPaginationActiveColor}}; }"}},"mainPaginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button"}},"thumbNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ color: {{thumbNavigationColor}}; }"}},"thumbNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ background-color: {{thumbNavigationBGColor}}; }"}},"thumbNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow"}},"thumbNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ color: {{thumbNavigationHoverColor}}; }"}},"thumbNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ background-color: {{thumbNavigationHoverBGColor}}; }"}},"thumbNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover"}},"badgeColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ color: {{badgeColor}}; }"}},"badgeBGColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label"}},"badgeBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ border-radius: {{badgeBorderRadius}}; }"}},"badgeBorderPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ padding: {{badgeBorderPadding}}; }"}}}}'),_f=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var wf=Rf.name,hf=Rf.title,Ef=Rf.description,vf=Rf.category,Of=Rf.attributes,Pf=Rf.keywords,Cf=Rf.supports,Bf={title:(0,de.__)(hf,"woolentor"),description:(0,de.__)(Ef,"woolentor"),icon:React.createElement(me.Icon,{icon:_f}),keywords:Pf,supports:Cf,attributes:Of,edit:yf,save:function(){return null}};const Af=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Sf(e){return Sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sf(e)}function Wf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kf(r.key),r)}}function kf(e){var t=function(e,t){if("object"!=Sf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Sf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sf(t)?t:String(t)}function Tf(e,t,o){return t=Lf(t),function(e,t){if(t&&("object"===Sf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xf()?Reflect.construct(t,o||[],Lf(e).constructor):t.apply(e,o))}function xf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xf=function(){return!!e})()}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lf(e)}function Nf(e,t){return Nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nf(e,t)}var zf=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Tf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nf(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=kf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Kt()("woolentor-product-description","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Af,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{className:"woocommerce_product_description",dangerouslySetInnerHTML:{__html:"<p>"+woolentorData.sampledata.description+"</p>"}}))),p)}}],r&&Wf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const jf=zf,If=JSON.parse('{"name":"woolentor/product-description","category":"woolentor-single-product","title":"WL : Description","description":"Display product description.","keywords":["woolentor","description","product description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}{ margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ margin: {{textMargin}}; }"}}}}'),Mf=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var Ff=If.name,Hf=If.category,Df=If.title,qf=If.description,Gf=If.keywords,Kf=If.attributes,Uf={title:(0,de.__)(Df,"woolentor"),description:(0,de.__)(qf,"woolentor"),icon:React.createElement(me.Icon,{icon:Mf}),keywords:Gf,example:{attributes:{textColor:"#000"}},attributes:Kf,edit:jf,save:function(){return null}};const Qf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Image","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Thumbnails","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.thumbBorderType,options:ln,onChange:function(e){return o({thumbBorderType:e})}}),t.thumbBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.thumbBorderWidth,attributesKey:"thumbBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbBorderColor,onChange:function(e){return o({thumbBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.thumbBorderRadius,attributesKey:"thumbBorderRadius",setAttributes:o}),React.createElement(me.RangeControl,{label:(0,de.__)("Spacing","woolentor"),value:t.thumbSpacing,onChange:function(e){return o({thumbSpacing:e})},min:1,step:1,max:1e3,allowReset:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Vf(e){return Vf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vf(e)}function Yf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Zf(r.key),r)}}function Zf(e){var t=function(e,t){if("object"!=Vf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Vf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Vf(t)?t:String(t)}function Jf(e,t,o){return t=$f(t),function(e,t){if(t&&("object"===Vf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Xf()?Reflect.construct(t,o||[],$f(e).constructor):t.apply(e,o))}function Xf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Xf=function(){return!!e})()}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$f(e)}function eb(e,t){return eb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},eb(e,t)}var tb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Jf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eb(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Zf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce woocommerce-page single-product woocommerce-js","woolentorblock-".concat(i)),m=Kt()("woolentor-product-image"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Qf,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},React.createElement(me.Disabled,null,(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.image}})))),p)}}],r&&Yf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ob=tb,rb=JSON.parse('{"name":"woolentor/product-image","category":"woolentor-single-product","title":"WL : Product Image","description":"Display product image.","keywords":["woolentor","image","product image"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"imageBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport{border-style:{{imageBorderType}};overflow:hidden; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport:not(:last-child) { margin: {{imageMargin}}; }"}},"thumbBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-style: {{thumbBorderType}}; }"}},"thumbBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-width: {{thumbBorderWidth}}; }"}},"thumbBorderColor":{"type":"string","style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-color: {{thumbBorderColor}}; }"}},"thumbBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-radius: {{thumbBorderRadius}}; }"}},"thumbSpacing":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs li { padding-right: calc({{thumbSpacing}}px / 2);padding-left: calc({{thumbSpacing}}px / 2);}.woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs { margin-right: calc(-{{thumbSpacing}}px / 2)!important;margin-left: calc(-{{thumbSpacing}}px / 2)!important; }"}}}}'),nb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var ab=rb.name,lb=rb.category,ib=rb.title,cb=rb.description,sb=rb.keywords,ub=rb.attributes,db={title:(0,de.__)(ib,"woolentor"),description:(0,de.__)(cb,"woolentor"),icon:React.createElement(me.Icon,{icon:nb}),keywords:sb,attributes:ub,edit:ob,save:function(){return null}};const mb=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Product Meta","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function pb(e){return pb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pb(e)}function gb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fb(r.key),r)}}function fb(e){var t=function(e,t){if("object"!=pb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=pb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pb(t)?t:String(t)}function bb(e,t,o){return t=Rb(t),function(e,t){if(t&&("object"===pb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,yb()?Reflect.construct(t,o||[],Rb(e).constructor):t.apply(e,o))}function yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(yb=function(){return!!e})()}function Rb(e){return Rb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rb(e)}function _b(e,t){return _b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_b(e,t)}var wb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),bb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_b(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=fb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-meta"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(mb,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.meta_info}}))),p)}}],r&&gb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const hb=wb,Eb=JSON.parse('{"name":"woolentor/product-meta","category":"woolentor-single-product","title":"WL : Product Meta","description":"Display product meta info.","keywords":["woolentor","product meta","meta info","product info"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ color: {{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a{ color: {{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a:hover{ color: {{linkHoverColor}}; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ font-size: {{textSize}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ margin: {{textMargin}}; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ text-align: {{contentAlignment}}; }"}}}}'),vb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 512 512"},React.createElement("path",{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42s-42-18.804-42-42s18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z",fill:"currentColor"}));var Ob=Eb.name,Pb=Eb.category,Cb=Eb.title,Bb=Eb.description,Ab=Eb.keywords,Sb=Eb.attributes,Wb={title:(0,de.__)(Cb,"woolentor"),description:(0,de.__)(Bb,"woolentor"),icon:React.createElement(me.Icon,{icon:vb}),keywords:Ab,example:{attributes:{textColor:"#000"}},attributes:Sb,edit:hb,save:function(){return null}};const kb=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Price Area","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"})),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Reguler Price","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.oldPriceColor,onChange:function(e){return o({oldPriceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.oldPriceSize,fallbackFontSize:t.oldPriceSize,onChange:function(e){return o({oldPriceSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Tb(e){return Tb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tb(e)}function xb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lb(r.key),r)}}function Lb(e){var t=function(e,t){if("object"!=Tb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Tb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tb(t)?t:String(t)}function Nb(e,t,o){return t=jb(t),function(e,t){if(t&&("object"===Tb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zb()?Reflect.construct(t,o||[],jb(e).constructor):t.apply(e,o))}function zb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zb=function(){return!!e})()}function jb(e){return jb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jb(e)}function Ib(e,t){return Ib=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ib(e,t)}var Mb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ib(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Lb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i),"woolentor-product-price","product"),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kb,this.props),React.createElement("div",{className:d},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.price_html}})),m)}}],r&&xb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Fb=Mb,Hb=JSON.parse('{"name":"woolentor/product-price","category":"woolentor-single-product","title":"WL : Product Price","description":"Display product price.","keywords":["woolentor","product","price","product price"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { text-align: {{contentAlignment}} !important; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { color: {{priceColor}} !important; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { font-size: {{priceSize}} !important; }"}},"priceMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { margin: {{priceMargin}} !important; }"}},"oldPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { color: {{oldPriceColor}} !important; }"}},"oldPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { font-size: {{oldPriceSize}} !important; }"}}}}'),Db=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.57em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 288 512"},React.createElement("path",{d:"M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5c6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3c0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5c24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7c21.5-61.6-14.6-124.8-72.5-141.7z",fill:"currentColor"}));var qb=Hb.name,Gb=Hb.category,Kb=Hb.title,Ub=Hb.description,Qb=Hb.keywords,Vb=Hb.attributes,Yb={title:(0,de.__)(Kb,"woolentor"),description:(0,de.__)(Ub,"woolentor"),icon:React.createElement(me.Icon,{icon:Db}),keywords:Qb,example:{attributes:{priceColor:"#000"}},attributes:Vb,edit:Fb,save:function(){return null}};const Zb=function(e){var t=e.attributes,o=e.setAttributes,r=t.addCartUrl,n=t.quantity,a=t.size;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("QR Code","woolentor"),initialOpen:!0},React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:a,onChange:function(e){return o({size:e})},min:1,step:1,max:1e3}),React.createElement(co,{label:(0,de.__)("Enable Add to Cart URL","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:r,onChange:function(){return o({addCartUrl:!r})}})),r&&React.createElement(me.RangeControl,{label:(0,de.__)("Quantity","woolentor"),value:n,onChange:function(e){return o({quantity:e})},min:1,step:1,max:1e3}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"codeAlign",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jb(e){return Jb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jb(e)}function Xb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$b(r.key),r)}}function $b(e){var t=function(e,t){if("object"!=Jb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jb(t)?t:String(t)}function ey(e,t,o){return t=oy(t),function(e,t){if(t&&("object"===Jb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ty()?Reflect.construct(t,o||[],oy(e).constructor):t.apply(e,o))}function ty(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ty=function(){return!!e})()}function oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oy(e)}function ry(e,t){return ry=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ry(e,t)}var ny=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ey(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ry(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=$b(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Zb,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{size:o.size}})),m)}}],r&&Xb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ay=ny,ly=JSON.parse('{"name":"woolentor/product-qrcode","category":"woolentor-single-product","title":"WL: QR Code","description":"Display product QR Code.","keywords":["woolentor","code","qrcode","qrcode generate","product qr code","qr code for product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"size":{"type":"number","default":150},"addCartUrl":{"type":"boolean","default":false},"quantity":{"type":"number","default":1},"codeAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align: {{codeAlign}} !important; }"}}}}'),iy=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M0 .5A.5.5 0 0 1 .5 0h3a.5.5 0 0 1 0 1H1v2.5a.5.5 0 0 1-1 0v-3zm12 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V1h-2.5a.5.5 0 0 1-.5-.5zM.5 12a.5.5 0 0 1 .5.5V15h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H15v-2.5a.5.5 0 0 1 .5-.5zM4 4h1v1H4V4z"}),React.createElement("path",{d:"M7 2H2v5h5V2zM3 3h3v3H3V3zm2 8H4v1h1v-1z"}),React.createElement("path",{d:"M7 9H2v5h5V9zm-4 1h3v3H3v-3zm8-6h1v1h-1V4z"}),React.createElement("path",{d:"M9 2h5v5H9V2zm1 1v3h3V3h-3zM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8H8zm2 2H9V9h1v1zm4 2h-1v1h-2v1h3v-2zm-4 2v-1H8v1h2z"}),React.createElement("path",{d:"M12 9h2V8h-2v1z"})));var cy=ly.name,sy=ly.category,uy=ly.title,dy=ly.description,my=ly.keywords,py=ly.attributes,gy={title:(0,de.__)(uy,"woolentor"),description:(0,de.__)(dy,"woolentor"),icon:React.createElement(me.Icon,{icon:iy}),keywords:my,example:{attributes:{}},attributes:py,edit:ay,save:function(){return null}};const fy=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Rating","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement("h3",null,(0,de.__)("Link font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.linkSize,fallbackFontSize:t.linkSize,onChange:function(e){return o({linkSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function by(e){return by="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},by(e)}function yy(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ry(r.key),r)}}function Ry(e){var t=function(e,t){if("object"!=by(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=by(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==by(t)?t:String(t)}function _y(e,t,o){return t=hy(t),function(e,t){if(t&&("object"===by(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wy()?Reflect.construct(t,o||[],hy(e).constructor):t.apply(e,o))}function wy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wy=function(){return!!e})()}function hy(e){return hy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hy(e)}function Ey(e,t){return Ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ey(e,t)}var vy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_y(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ey(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Ry(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-rating","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(fy,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.rating}}))),p)}}],r&&yy(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Oy=vy,Py=JSON.parse('{"name":"woolentor/product-rating","category":"woolentor-single-product","title":"WL : Rating","description":"Display product rating.","keywords":["woolentor","rating","product review","product rating"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .star-rating,{{WOOLENTOR_WRAPPER}} .star-rating::before, {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating,{{WOOLENTOR_WRAPPER}} .woocommerce-product-rating::before{ color: {{ratingColor}} !important; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ color: {{linkColor}} !important; }"}},"linkSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ font-size: {{linkSize}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating { text-align: {{contentAlignment}} !important;line-height:1; } .woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating .star-rating{ display:inline-block;float:none;margin-top:0;text-align:left }"}}}}'),Cy=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.97em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 496 512"},React.createElement("path",{d:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3c-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9c-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.3.9 9 8.5 4.4 13.1z",fill:"currentColor"}));var By=Py.name,Ay=Py.category,Sy=Py.title,Wy=Py.description,ky=Py.keywords,Ty=Py.attributes,xy={title:(0,de.__)(Sy,"woolentor"),description:(0,de.__)(Wy,"woolentor"),icon:React.createElement(me.Icon,{icon:Cy}),keywords:ky,example:{attributes:{ratingColor:"inherit"}},attributes:Ty,edit:Oy,save:function(){return null}};function Ly(e){return Ly="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ly(e)}function Ny(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zy(r.key),r)}}function zy(e){var t=function(e,t){if("object"!=Ly(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ly(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ly(t)?t:String(t)}function jy(e,t,o){return t=My(t),function(e,t){if(t&&("object"===Ly(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Iy()?Reflect.construct(t,o||[],My(e).constructor):t.apply(e,o))}function Iy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Iy=function(){return!!e})()}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},My(e)}function Fy(e,t){return Fy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fy(e,t)}var Hy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),jy(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fy(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Related Product","woolentor"),initialOpen:!0},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(co,{label:(0,de.__)("Heading","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:n,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:a,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,de.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Ny(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Dy=Hy;function qy(e){return qy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qy(e)}function Gy(e,t,o){return(t=Uy(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ky(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Uy(r.key),r)}}function Uy(e){var t=function(e,t){if("object"!=qy(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=qy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qy(t)?t:String(t)}function Qy(e,t,o){return t=Yy(t),function(e,t){if(t&&("object"===qy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vy()?Reflect.construct(t,o||[],Yy(e).constructor):t.apply(e,o))}function Vy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vy=function(){return!!e})()}function Yy(e){return Yy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yy(e)}function Zy(e,t){return Zy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zy(e,t)}var Jy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Qy(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zy(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c=Kt()(Gy({},r,r),"woocommerce","product","woolentorblock-".concat(i)),s=Kt()("woolentor-product-related",Gy({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),Gy({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),Gy({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),Gy({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),u=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Dy,this.props),React.createElement("div",{className:c},React.createElement(me.Disabled,null,React.createElement("div",{className:s},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_related}})))),u)}}],r&&Ky(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Xy=Jy,$y=JSON.parse('{"name":"woolentor/product-related","category":"woolentor-single-product","title":"WL: Related Product","description":"Display related product.","keywords":["woolentor","product","related","product related"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),eR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var tR=$y.name,oR=$y.category,rR=$y.title,nR=$y.description,aR=$y.keywords,lR=$y.attributes,iR={title:(0,de.__)(rR,"woolentor"),description:(0,de.__)(nR,"woolentor"),icon:React.createElement(me.Icon,{icon:eR}),keywords:aR,attributes:lR,edit:Xy,save:function(){return null}};const cR=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(fo,{label:(0,de.__)("Comment Box","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.commentBoxColor,onChange:function(e){return o({commentBoxColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.commentBoxSize,fallbackFontSize:t.commentBoxSize,onChange:function(e){return o({commentBoxSize:e})}}),React.createElement(jr,{value:t.commentBoxBorder,onChange:function(e){return o({commentBoxBorder:e})}}),React.createElement(fo,{label:(0,de.__)("Button","woolentor")}),React.createElement(qt,{name:"button",tabs:["normal","hover"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGHoverColor,onChange:function(e){return o({submitBtnBGHoverColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sR(e){return sR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sR(e)}function uR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dR(r.key),r)}}function dR(e){var t=function(e,t){if("object"!=sR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sR(t)?t:String(t)}function mR(e,t,o){return t=gR(t),function(e,t){if(t&&("object"===sR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pR()?Reflect.construct(t,o||[],gR(e).constructor):t.apply(e,o))}function pR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pR=function(){return!!e})()}function gR(e){return gR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gR(e)}function fR(e,t){return fR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fR(e,t)}var bR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),mR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=dR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-product-review","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(cR,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&uR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const yR=bR,RR=JSON.parse('{"name":"woolentor/product-reviews","category":"woolentor-single-product","title":"WL: Product Reviews","description":"Display Product Reviews.","keywords":["woolentor","Product","Review","Product Review","Single product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"commentBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ color: {{commentBoxColor}} !important; }"}},"commentBoxSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ font-size: {{commentBoxSize}} !important; }"}},"commentBoxBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment"}},"submitBtnColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ color: {{submitBtnColor}} !important; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ background-color: {{submitBtnBGColor}} !important; }"}},"submitBtnSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ font-size: {{submitBtnSize}} !important; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ color: {{submitBtnHoverColor}} !important; }"}},"submitBtnBGHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ background-color: {{submitBtnBGHoverColor}} !important; }"}}}}'),_R=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"m12 15l1.55-3.45L17 10l-3.45-1.55L12 5l-1.55 3.45L7 10l3.45 1.55ZM2 22V4q0-.825.588-1.413Q3.175 2 4 2h16q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18H6Zm2-4.825L5.175 16H20V4H4ZM4 4v13.175Z"}));var wR=RR.name,hR=RR.title,ER=RR.description,vR=RR.category,OR=RR.attributes,PR=RR.keywords,CR=RR.supports,BR={title:(0,de.__)(hR,"woolentor"),description:(0,de.__)(ER,"woolentor"),icon:React.createElement(me.Icon,{icon:_R}),keywords:PR,supports:CR,attributes:OR,edit:yR,save:function(){return null}};const AR=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function SR(e){return SR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SR(e)}function WR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kR(r.key),r)}}function kR(e){var t=function(e,t){if("object"!=SR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=SR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==SR(t)?t:String(t)}function TR(e,t,o){return t=LR(t),function(e,t){if(t&&("object"===SR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xR()?Reflect.construct(t,o||[],LR(e).constructor):t.apply(e,o))}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xR=function(){return!!e})()}function LR(e){return LR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},LR(e)}function NR(e,t){return NR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NR(e,t)}var zR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),TR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=kR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Kt()("woolentor-product-short-description","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(AR,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.short_description}}))),p)}}],r&&WR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const jR=zR,IR=JSON.parse('{"name":"woolentor/product-short-description","category":"woolentor-single-product","title":"WL : Short Description","description":"Display product short description.","keywords":["woolentor","product description","short description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ margin: {{textMargin}}; }"}}}}'),MR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var FR=IR.name,HR=IR.category,DR=IR.title,qR=IR.description,GR=IR.keywords,KR=IR.attributes,UR={title:(0,de.__)(DR,"woolentor"),description:(0,de.__)(qR,"woolentor"),icon:React.createElement(me.Icon,{icon:MR}),keywords:GR,example:{attributes:{textColor:"#000"}},attributes:KR,edit:jR,save:function(){return null}};const QR=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Text","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function VR(e){return VR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},VR(e)}function YR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ZR(r.key),r)}}function ZR(e){var t=function(e,t){if("object"!=VR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=VR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==VR(t)?t:String(t)}function JR(e,t,o){return t=$R(t),function(e,t){if(t&&("object"===VR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,XR()?Reflect.construct(t,o||[],$R(e).constructor):t.apply(e,o))}function XR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(XR=function(){return!!e})()}function $R(e){return $R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$R(e)}function e_(e,t){return e_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e_(e,t)}var t_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),JR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=ZR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-stock-status","product_stock_status"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(QR,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_stock}}))),p)}}],r&&YR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const o_=t_,r_=JSON.parse('{"name":"woolentor/product-stock","category":"woolentor-single-product","title":"Product Stock","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ color: {{textColor}}!important; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ font-size: {{textSize}}!important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status { text-align: {{contentAlignment}}; } .woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status > p{display:inline-block;}"}}}}'),n_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{className:"icon-tabler",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},React.createElement("path",{d:"M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3"}),React.createElement("path",{d:"M12 12l8-4.5"}),React.createElement("path",{d:"M12 12v9"}),React.createElement("path",{d:"M12 12L4 7.5"})));var a_=r_.name,l_=r_.category,i_=r_.attributes,c_={title:(0,de.__)("WL: Product Stock","woolentor"),description:(0,de.__)("Display product stock.","woolentor"),icon:React.createElement(me.Icon,{icon:n_}),keywords:["woolentor",(0,de.__)("product","woolentor"),(0,de.__)("status","woolentor"),(0,de.__)("stock status","woolentor")],example:{attributes:{}},attributes:i_,edit:o_,save:function(){return null}};const s_=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Tab Menu","woolentor"),initialOpen:!0},React.createElement(qt,{name:"menu",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBorderColor,onChange:function(e){return o({tabMenuBorderColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabMenuSize,fallbackFontSize:t.tabMenuSize,onChange:function(e){return o({tabMenuSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.tabMenuBorderRadius,attributesKey:"tabMenuBorderRadius",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tabMenuAlignment",justified:!0})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBGActiveColor,onChange:function(e){return o({tabMenuBGActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveBorderColor,onChange:function(e){return o({tabMenuActiveBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabContentHeadingColor,onChange:function(e){return o({tabContentHeadingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentHeadingSize,fallbackFontSize:t.tabContentHeadingSize,onChange:function(e){return o({tabContentHeadingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.tabContentHeadingMargin,attributesKey:"tabContentHeadingMargin",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Description","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabContentColor,onChange:function(e){return o({tabContentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentSize,fallbackFontSize:t.tabContentSize,onChange:function(e){return o({tabContentSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function u_(e){return u_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u_(e)}function d_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m_(r.key),r)}}function m_(e){var t=function(e,t){if("object"!=u_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=u_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u_(t)?t:String(t)}function p_(e,t,o){return t=f_(t),function(e,t){if(t&&("object"===u_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,g_()?Reflect.construct(t,o||[],f_(e).constructor):t.apply(e,o))}function g_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g_=function(){return!!e})()}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f_(e)}function b_(e,t){return b_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b_(e,t)}var y_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=m_(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-tabs","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(s_,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_tabs}}))),p)}}],r&&d_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const R_=y_,w_=JSON.parse('{"name":"woolentor/product-tabs","category":"woolentor-single-product","title":"WL : Product Tabs","description":"Display product tabs.","keywords":["woolentor","tabs","product","product tabs"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tabMenuColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ color: {{tabMenuColor}} !important; }"}},"tabMenuBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ background-color: {{tabMenuBGColor}} !important; }"}},"tabMenuBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-color: {{tabMenuBorderColor}} !important; }"}},"tabMenuSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ font-size: {{tabMenuSize}} !important; }"}},"tabMenuBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-radius: {{tabMenuBorderRadius}} !important; }"}},"tabMenuAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs{ text-align: {{tabMenuAlignment}} !important; }"}},"tabMenuActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active a{ color: {{tabMenuActiveColor}} !important; }"}},"tabMenuBGActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ background-color: {{tabMenuBGActiveColor}} !important; }"}},"tabMenuActiveBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ border-color: {{tabMenuActiveBorderColor}} !important; }.woocommerce .{{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li:not(.active){ border-bottom-color:{{tabMenuActiveBorderColor}}; }"}},"tabContentHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ color: {{tabContentHeadingColor}} !important; }"}},"tabContentHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ font-size: {{tabContentHeadingSize}} !important; }"}},"tabContentHeadingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ margin: {{tabContentHeadingMargin}} !important; }"}},"tabContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel p{ color: {{tabContentColor}} !important; }"}},"tabContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel{ font-size: {{tabContentSize}} !important; }"}}}}'),h_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{d:"M32 96h192l.008-40a8 8 0 0 0-8-8h-176a8 8 0 0 0-8 8z",opacity:".2",fill:"currentColor"}),React.createElement("path",{d:"M216.008 40h-176a16.018 16.018 0 0 0-16 16v39.845c-.001.052-.008.103-.008.155s.007.103.008.155V200a16.018 16.018 0 0 0 16 16h176a16.018 16.018 0 0 0 16-16V56a16.018 16.018 0 0 0-16-16zm0 16l.002 32H40.008V56zm0 144h-176v-96H216.01l.007 96z",fill:"currentColor"}));var E_=w_.name,v_=w_.category,O_=w_.title,P_=w_.description,C_=w_.keywords,B_=w_.attributes,A_={title:(0,de.__)(O_,"woolentor"),description:(0,de.__)(P_,"woolentor"),icon:React.createElement(me.Icon,{icon:h_}),keywords:C_,example:{attributes:{tabMenuColor:"#000"}},attributes:B_,edit:R_,save:function(){return null}};const S_=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:r,options:an,onChange:function(e){return o({titleTag:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Title","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"titleAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function W_(e){return W_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W_(e)}var k_;function T_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,x_(r.key),r)}}function x_(e){var t=function(e,t){if("object"!=W_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=W_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==W_(t)?t:String(t)}function L_(e,t,o){return t=z_(t),function(e,t){if(t&&("object"===W_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,N_()?Reflect.construct(t,o||[],z_(e).constructor):t.apply(e,o))}function N_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N_=function(){return!!e})()}function z_(e){return z_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},z_(e)}function j_(e,t){return j_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j_(e,t)}var I_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),L_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d,m,p=Kt()((c={},u=o,(s=x_(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),g=Kt()("woolentor-product-title","product_title"),f=ti.div(k_||(d=["\n\t\t\t","\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t","\n\t\t"],m||(m=d.slice(0)),k_=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.titleColor&&Ie(t.titleColor,"color","!important"),t.titleSize&&Ie(t.titleSize,"font-size","!important"),t.titleAlignment&&Ie(t.titleAlignment,"text-align","!important"),t.titleMargin&&Me(t.titleMargin,"margin","!important"),t.areaPadding&&Me(t.areaPadding.desktop,"padding"),Fe(i));return React.createElement(qe.Fragment,null,r&&React.createElement(S_,this.props),React.createElement("div",{className:p},React.createElement(f,{className:g,as:t.titleTag},woolentorData.sampledata.title)))}}],r&&T_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const M_=I_,F_=JSON.parse('{"name":"woolentor/product-title","category":"woolentor-single-product","title":"WL : Product Title","description":"Display product title.","keywords":["woolentor","product","title","product title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { color: {{titleColor}} !important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { font-size: {{titleSize}} !important; }"}},"titleAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { text-align: {{titleAlignment}} !important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { margin: {{titleMargin}} !important; }"}}}}'),H_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var D_=F_.name,q_=F_.category,G_=F_.title,K_=F_.description,U_=F_.keywords,Q_=F_.attributes,V_={title:(0,de.__)(G_,"woolentor"),description:(0,de.__)(K_,"woolentor"),icon:React.createElement(me.Icon,{icon:H_}),keywords:U_,example:{attributes:{title_tag:"h2"}},attributes:Q_,edit:M_,save:function(){return null}};function Y_(e){return Y_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y_(e)}function Z_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,J_(r.key),r)}}function J_(e){var t=function(e,t){if("object"!=Y_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Y_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Y_(t)?t:String(t)}function X_(e,t,o){return t=ew(t),function(e,t){if(t&&("object"===Y_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,$_()?Reflect.construct(t,o||[],ew(e).constructor):t.apply(e,o))}function $_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return($_=function(){return!!e})()}function ew(e){return ew=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ew(e)}function tw(e,t){return tw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tw(e,t)}var ow=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),X_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Upsell Product","woolentor"),initialOpen:!0},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(co,{label:(0,de.__)("Heading","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:n,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:a,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,de.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Z_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const rw=ow;function nw(e){return nw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nw(e)}var aw;function lw(e,t,o){return(t=cw(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function iw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cw(r.key),r)}}function cw(e){var t=function(e,t){if("object"!=nw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nw(t)?t:String(t)}function sw(e,t,o){return t=dw(t),function(e,t){if(t&&("object"===nw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,uw()?Reflect.construct(t,o||[],dw(e).constructor):t.apply(e,o))}function uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(uw=function(){return!!e})()}function dw(e){return dw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dw(e)}function mw(e,t){return mw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mw(e,t)}var pw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),sw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=(e.name,e.className),r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},d=Kt()(lw({},o,o),"woocommerce","product"),m=Kt()("woolentor-product-upsell",lw({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),lw({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),lw({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),lw({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=ti.div(aw||(c=["\n\t\t\t& .up-sells > h2{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"],s||(s=c.slice(0)),aw=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(s)}}))),t.hideTitle&&"display:none!important;",t.headingColor&&"color:"+t.headingColor+"!important;",t.headingSize&&"font-size:"+t.headingSize+"!important;",t.headingAlignment&&"text-align:"+t.headingAlignment+"!important;",t.headingMargin&&"margin:"+u("headingMargin")+";",t.areaPadding&&"padding:"+u("areaPadding")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";");return React.createElement(qe.Fragment,null,r&&React.createElement(rw,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(p,{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_upsell}})))))}}],r&&iw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const gw=pw,fw=JSON.parse('{"name":"woolentor/product-upsell","category":"woolentor-single-product","title":"Product Upsell","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),bw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var yw=fw.name,Rw=fw.category,_w=fw.attributes,ww={title:(0,de.__)("WL: Product Upsell","woolentor"),description:(0,de.__)("Display upsell product.","woolentor"),icon:React.createElement(me.Icon,{icon:bw}),keywords:["woolentor",(0,de.__)("product","woolentor"),(0,de.__)("upsell","woolentor"),(0,de.__)("product upsell","woolentor")],attributes:_w,edit:gw,save:function(){return null}};function hw(e){return hw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hw(e)}function Ew(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vw(r.key),r)}}function vw(e){var t=function(e,t){if("object"!=hw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hw(t)?t:String(t)}function Ow(e,t,o){return t=Cw(t),function(e,t){if(t&&("object"===hw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pw()?Reflect.construct(t,o||[],Cw(e).constructor):t.apply(e,o))}function Pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Pw=function(){return!!e})()}function Cw(e){return Cw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cw(e)}function Bw(e,t){return Bw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bw(e,t)}var Aw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ow(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.rows,n=t.paginate,a=t.allowOrder,l=t.showResultCount,i=t.order,c=t.orderBy,s=t.itemBorderType,u=t.itemBorderWidth,d=t.itemBorderColor,m=t.itemBorderRadius,p=t.itemPadding,g=t.saleTagShow;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Archive Product","woolentor"),initialOpen:!0},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.RangeControl,{label:(0,de.__)("Rows","woolentor"),value:r,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(co,{label:(0,de.__)("Pagination","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({paginate:!n})}})),1==n?React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Allow Order","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({allowOrder:!a})}})),React.createElement(co,{label:(0,de.__)("Show Result Count","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({showResultCount:!l})}}))):React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:i,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:c,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:s,options:ln,onChange:function(e){return o({itemBorderType:e})}}),s&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:u,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:d,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:m,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:p,attributesKey:"itemPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Regular Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(co,{label:(0,de.__)("Empty Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,de.__)("Start size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Add To Cart Button","woolentor")},React.createElement(qt,{name:"addtocartbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:ln,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Pagination","woolentor")},React.createElement(fo,{label:(0,de.__)("Normal","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationBGColor,onChange:function(e){return o({paginationBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationBorderColor,onChange:function(e){return o({paginationBorderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.PaginationPadding,attributesKey:"PaginationPadding",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Active","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationHoverColor,onChange:function(e){return o({paginationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationHoverBGColor,onChange:function(e){return o({paginationHoverBGColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Sale Tag","woolentor")},React.createElement(co,{label:(0,de.__)("Sale Flash","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({saleTagShow:!g})}})),g&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Ew(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Sw=Aw;function Ww(e){return Ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ww(e)}function kw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tw(r.key),r)}}function Tw(e){var t=function(e,t){if("object"!=Ww(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ww(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ww(t)?t:String(t)}function xw(e,t,o){return t=Nw(t),function(e,t){if(t&&("object"===Ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Lw()?Reflect.construct(t,o||[],Nw(e).constructor):t.apply(e,o))}function Lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Lw=function(){return!!e})()}function Nw(e){return Nw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nw(e)}function zw(e,t){return zw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zw(e,t)}var jw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Tw(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Sw,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:o,attributes:{columns:t.columns,rows:t.rows,paginate:t.paginate,allowOrder:t.allowOrder,showResultCount:t.showResultCount,order:t.order,orderBy:t.orderBy,saleTagPosition:t.saleTagPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m))}}],r&&kw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Iw=jw,Mw=JSON.parse('{"name":"woolentor/shop-archive-default","category":"woolentor-shop","title":"WL: Product Archive Layout (Default)","description":"Display product grid on shop / archive page.","keywords":["woolentor","shop","archive","product shop","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":4},"paginate":{"type":"boolean","default":true},"allowOrder":{"type":"boolean","default":true},"showResultCount":{"type":"boolean","default":true},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"paginationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ color: {{paginationColor}}; }"}},"paginationBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ background-color: {{paginationBGColor}}; }"}},"paginationBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul{ border-color: {{paginationBorderColor}}; }{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li{ border-right-color: {{paginationBorderColor}}; }"}},"PaginationPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span{ padding: {{PaginationPadding}}; }"}},"paginationHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ color: {{paginationHoverColor}}; }"}},"paginationHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ background-color: {{paginationHoverBGColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Fw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var Hw=Mw.name,Dw=Mw.title,qw=Mw.description,Gw=Mw.category,Kw=Mw.attributes,Uw=Mw.keywords,Qw=Mw.supports,Vw={title:(0,de.__)(Dw,"woolentor"),description:(0,de.__)(qw,"woolentor"),icon:React.createElement(me.Icon,{icon:Fw}),keywords:Uw,supports:Qw,attributes:Kw,edit:Iw,save:function(){return null}};const Yw=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor"),initialOpen:!0},React.createElement(me.TextareaControl,{label:(0,de.__)("Custom Message","woolentor"),help:(0,de.__)("Enter your custom message","woolentor"),value:t.customMessage,onChange:function(e){return o({customMessage:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Message","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.borderColor,onChange:function(e){return o({borderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.messagePadding,attributesKey:"messagePadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.messageMargin,attributesKey:"messageMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Zw(e){return Zw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zw(e)}function Jw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xw(r.key),r)}}function Xw(e){var t=function(e,t){if("object"!=Zw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Zw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zw(t)?t:String(t)}function $w(e,t,o){return t=th(t),function(e,t){if(t&&("object"===Zw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,eh()?Reflect.construct(t,o||[],th(e).constructor):t.apply(e,o))}function eh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(eh=function(){return!!e})()}function th(e){return th=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},th(e)}function oh(e,t){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oh(e,t)}var rh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$w(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Xw(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-cart-empty-message","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Yw,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{customMessage:t.customMessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Jw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const nh=rh,ah=JSON.parse('{"name":"woolentor/cart-empty-message","category":"woolentor-cart","title":"WL : Empty Cart Message","description":"Display empty cart message.","keywords":["woolentor","shop table","cart table","table","woocommerce table","empty message","message"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"customMessage":{"type":"string","default":""},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { color: {{textColor}}; }"}},"borderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { border-color: {{borderColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-info::before { color: {{borderColor}}; }"}},"messagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { padding: {{messagePadding}}; }"}},"messageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { margin: {{messageMargin}}; }"}}}}'),lh=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4l-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}));var ih=ah.name,ch=ah.category,sh=ah.title,uh=ah.description,dh=ah.keywords,mh=ah.supports,ph=ah.attributes,gh={title:(0,de.__)(sh,"woolentor"),description:(0,de.__)(uh,"woolentor"),icon:React.createElement(me.Icon,{icon:lh}),keywords:dh,supports:mh,attributes:ph,edit:nh,save:function(){return null}};function fh(e){return function(e){if(Array.isArray(e))return yh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bh(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bh(e,t){if(e){if("string"==typeof e)return yh(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yh(e,t):void 0}}function yh(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Rh=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||bh(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=fh(t.tableItemList);a[n][r]=e,o({tableItemList:a})};return t.tableItemList.length>0&&(r=t.tableItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.tableItemList[r].heading),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=fh(t.tableItemList);r.splice(e,1),o({tableItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:t.tableItemList[r].fieldkey,options:[{label:(0,de.__)("Remove","woolentor"),value:"remove"},{label:(0,de.__)("Image","woolentor"),value:"thumbnail"},{label:(0,de.__)("Product Title","woolentor"),value:"name"},{label:(0,de.__)("Price","woolentor"),value:"price"},{label:(0,de.__)("Quantity","woolentor"),value:"quantity"},{label:(0,de.__)("Total","woolentor"),value:"subtotal"},{label:(0,de.__)("Custom","woolentor"),value:"customadd"}],onChange:function(e){return i(e,"fieldkey",r)}}),React.createElement(me.TextControl,{label:(0,de.__)("Heading Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Remove","woolentor"),value:t.tableItemList[r].heading,onChange:function(e){return i(e,"heading",r)}}),React.createElement(me.RangeControl,{label:(0,de.__)("Width (PX)","woolentor"),value:t.tableItemList[r].width,allowReset:!0,onChange:function(e){return i(e,"width",r)},min:0,step:1,max:500}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Table Row","woolentor"),initialOpen:!0},r,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=fh(t.tableItemList);e.push({fieldkey:"remove",heading:(0,de.__)("Cart Item #"+(t.tableItemList.length+1),"woolentor"),width:""}),o({tableItemList:e}),l(t.tableItemList.length)}.bind(void 0)},(0,de.__)("Add Item","woolentor"))),React.createElement(Yt,{title:(0,de.__)("Table Action","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Update Cart Button","woolentor"),checked:t.show_update_button,onChange:function(){return o({show_update_button:!t.show_update_button})}}),t.show_update_button&&React.createElement(me.TextControl,{label:(0,de.__)("Update cart button text","woolentor"),value:t.update_cart_button_txt,placeholder:(0,de.__)("Update Cart","woolentor"),onChange:function(e){return o({update_cart_button_txt:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Continue Shopping Button","woolentor"),checked:t.show_continue_button,onChange:function(){return o({show_continue_button:!t.show_continue_button})}}),t.show_continue_button&&React.createElement(me.TextControl,{label:(0,de.__)("Continue Shopping","woolentor"),value:t.continue_button_txt,placeholder:(0,de.__)("Continue Shopping","woolentor"),onChange:function(e){return o({continue_button_txt:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Coupon Form","woolentor"),checked:t.show_coupon_form,onChange:function(){return o({show_coupon_form:!t.show_coupon_form})}}),t.show_coupon_form&&React.createElement(React.Fragment,null,React.createElement(me.TextControl,{label:(0,de.__)("Coupon form button text","woolentor"),value:t.coupon_form_button_txt,placeholder:(0,de.__)("Apply Coupon","woolentor"),onChange:function(e){return o({coupon_form_button_txt:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Placeholder text","woolentor"),value:t.coupon_form_pl_txt,placeholder:(0,de.__)("Coupon code","woolentor"),onChange:function(e){return o({coupon_form_pl_txt:e})}}))),React.createElement(Yt,{title:(0,de.__)("Extra Options","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Disable users adjusting quantity","woolentor"),checked:t.disable_user_adj_qtn,onChange:function(){return o({disable_user_adj_qtn:!t.disable_user_adj_qtn})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Remove Product link","woolentor"),checked:t.remove_product_link,onChange:function(){return o({remove_product_link:!t.remove_product_link})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Product Categories","woolentor"),checked:t.show_product_category,onChange:function(){return o({show_product_category:!t.show_product_category})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Product Stock","woolentor"),checked:t.show_product_stock,onChange:function(){return o({show_product_stock:!t.show_product_stock})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Table","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableBorderType,options:ln,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tablePadding,attributesKey:"tablePadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Table Cell","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Remove Icon","woolentor")},React.createElement(qt,{name:"removeicon"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconColor,onChange:function(e){return o({removeIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconBackgroundColor,onChange:function(e){return o({removeIconBackgroundColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.removeIconBorderType,options:ln,onChange:function(e){return o({removeIconBorderType:e})}}),t.removeIconBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.removeIconBorderWidth,attributesKey:"removeIconBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconBorderColor,onChange:function(e){return o({removeIconBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.removeIconBorderRadius,attributesKey:"removeIconBorderRadius",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeHoverIconColor,onChange:function(e){return o({removeHoverIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconHoverBackgroundColor,onChange:function(e){return o({removeIconHoverBackgroundColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.removeIconHoverBorderType,options:ln,onChange:function(e){return o({removeIconHoverBorderType:e})}}),t.removeIconHoverBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.removeIconHoverBorderWidth,attributesKey:"removeIconHoverBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconHoverBorderColor,onChange:function(e){return o({removeIconHoverBorderColor:e})}})))))),React.createElement(Yt,{title:(0,de.__)("Product Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.imagePadding,attributesKey:"imagePadding",setAttributes:o}),React.createElement(me.RangeControl,{label:(0,de.__)("Width (PX)","woolentor"),value:t.imageWidth,onChange:function(e){return o({imageWidth:e})},min:0,step:1,max:500})),React.createElement(Yt,{title:(0,de.__)("Product Title","woolentor")},React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Unit Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Total Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.totalPriceColor,onChange:function(e){return o({totalPriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.totalPriceSize,fallbackFontSize:t.totalPriceSize,onChange:function(e){return o({totalPriceSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Quantity Field","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.quantityColor,onChange:function(e){return o({quantityColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.quantityBorderType,options:ln,onChange:function(e){return o({quantityBorderType:e})}}),t.quantityBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.quantityBorderWidth,attributesKey:"quantityBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.quantityBorderColor,onChange:function(e){return o({quantityBorderColor:e})}})))),React.createElement(Yt,{title:(0,de.__)("Buttons","woolentor")},React.createElement(qt,{name:"buttons"},React.createElement(Qt,{name:"normal"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Update Cart Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnColor,onChange:function(e){return o({updateCartBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnBGColor,onChange:function(e){return o({updateCartBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.updateCartBtnSize,fallbackFontSize:t.updateCartBtnSize,onChange:function(e){return o({updateCartBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.updateCartBtnBorderType,options:ln,onChange:function(e){return o({updateCartBtnBorderType:e})}}),t.updateCartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.updateCartBtnBorderWidth,attributesKey:"updateCartBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnBorderColor,onChange:function(e){return o({updateCartBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.updateCartBtnBorderRadius,attributesKey:"updateCartBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.updateCartBtnPadding,attributesKey:"updateCartBtnPadding",setAttributes:o})),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Continue Shop Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnColor,onChange:function(e){return o({continueShopBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnBGColor,onChange:function(e){return o({continueShopBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.continueShopBtnSize,fallbackFontSize:t.continueShopBtnSize,onChange:function(e){return o({continueShopBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.continueShopBtnBorderType,options:ln,onChange:function(e){return o({continueShopBtnBorderType:e})}}),t.continueShopBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.continueShopBtnBorderWidth,attributesKey:"continueShopBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnBorderColor,onChange:function(e){return o({continueShopBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.continueShopBtnBorderRadius,attributesKey:"continueShopBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.continueShopBtnPadding,attributesKey:"continueShopBtnPadding",setAttributes:o}))),React.createElement(Qt,{name:"hover"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Update Cart Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnHoverColor,onChange:function(e){return o({updateCartBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnHoverBGColor,onChange:function(e){return o({updateCartBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnHoverBorderColor,onChange:function(e){return o({updateCartBtnHoverBorderColor:e})}}))),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Continue Shop Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnHoverColor,onChange:function(e){return o({continueShopBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnHoverBGColor,onChange:function(e){return o({continueShopBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnHoverBorderColor,onChange:function(e){return o({continueShopBtnHoverBorderColor:e})}})))))),React.createElement(Yt,{title:(0,de.__)("Apply coupon","woolentor")},React.createElement(fo,{label:(0,de.__)("Apply Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnColor,onChange:function(e){return o({couponBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnBGColor,onChange:function(e){return o({couponBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponBtnSize,fallbackFontSize:t.couponBtnSize,onChange:function(e){return o({couponBtnSize:e})}}),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnHoverColor,onChange:function(e){return o({couponBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnHoverBGColor,onChange:function(e){return o({couponBtnHoverBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.couponBorderRadius,attributesKey:"couponBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.couponBtnPadding,attributesKey:"couponBtnPadding",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Input Box","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponFormColor,onChange:function(e){return o({couponFormColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponFormFontSize,fallbackFontSize:t.couponFormFontSize,onChange:function(e){return o({couponFormFontSize:e})}}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponFormBorderColor,onChange:function(e){return o({couponFormBorderColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function _h(e){return _h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_h(e)}function wh(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,hh(r.key),r)}}function hh(e){var t=function(e,t){if("object"!=_h(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=_h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_h(t)?t:String(t)}function Eh(e,t,o){return t=Oh(t),function(e,t){if(t&&("object"===_h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vh()?Reflect.construct(t,o||[],Oh(e).constructor):t.apply(e,o))}function vh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vh=function(){return!!e})()}function Oh(e){return Oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Oh(e)}function Ph(e,t){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ph(e,t)}var Ch=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Eh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ph(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=hh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Rh,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i,tableItemList:t.tableItemList,show_update_button:t.show_update_button,update_cart_button_txt:t.update_cart_button_txt,show_continue_button:t.show_continue_button,continue_button_txt:t.continue_button_txt,show_coupon_form:t.show_coupon_form,coupon_form_button_txt:t.coupon_form_button_txt,coupon_form_pl_txt:t.coupon_form_pl_txt,disable_user_adj_qtn:t.disable_user_adj_qtn,remove_product_link:t.remove_product_link,show_product_category:t.show_product_category,show_product_stock:t.show_product_stock},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&wh(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Bh=Ch,Ah=JSON.parse('{"name":"woolentor/cart-table","category":"woolentor-cart","title":"WL : Cart Table","description":"Display cart table.","keywords":["woolentor","shop table","cart table","table","woocommerce table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tableItemList":{"type":"array","default":[{"fieldkey":"remove","heading":"Remove","width":""},{"fieldkey":"thumbnail","heading":"Image","width":""},{"fieldkey":"name","heading":"Product Title","width":""},{"fieldkey":"price","heading":"Price","width":""},{"fieldkey":"quantity","heading":"Quantity","width":""},{"fieldkey":"subtotal","heading":"Total","width":""}]},"show_update_button":{"type":"boolean","default":true},"update_cart_button_txt":{"type":"string","default":"Update Cart"},"show_continue_button":{"type":"boolean","default":false},"continue_button_txt":{"type":"string","default":"Continue Shopping"},"show_coupon_form":{"type":"boolean","default":true},"coupon_form_button_txt":{"type":"string","default":"Apply coupon"},"coupon_form_pl_txt":{"type":"string","default":"Coupon code"},"disable_user_adj_qtn":{"type":"boolean","default":false},"remove_product_link":{"type":"boolean","default":false},"show_product_category":{"type":"boolean","default":false},"show_product_stock":{"type":"boolean","default":false},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { font-size: {{headingSize}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-color: {{headingBorderColor}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { padding: {{headingPadding}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart thead th { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { background-color: {{headingBackgroundColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-style: {{tableBorderType}}; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-width: {{tableBorderWidth}}; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-color: {{tableBorderColor}}; }"}},"tablePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { padding: {{tablePadding}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { background-color: {{tableCellBackgroundColor}}; }"}},"removeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { color: {{removeIconColor}} !important; }"}},"removeIconBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { background-color: {{removeIconBackgroundColor}} !important; }"}},"removeIconBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-style: {{removeIconBorderType}}; }"}},"removeIconBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-width: {{removeIconBorderWidth}}; }"}},"removeIconBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-color: {{removeIconBorderColor}}; }"}},"removeIconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-radius: {{removeIconBorderRadius}} !important; }"}},"removeHoverIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { color: {{removeHoverIconColor}} !important; }"}},"removeIconHoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { background-color: {{removeIconHoverBackgroundColor}} !important; }"}},"removeIconHoverBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-style: {{removeIconHoverBorderType}}; }"}},"removeIconHoverBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-width: {{removeIconHoverBorderWidth}}; }"}},"removeIconHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-color: {{removeIconHoverBorderColor}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-radius: {{imageBorderRadius}}; }"}},"imagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { padding: {{imagePadding}}; }"}},"imageWidth":{"type":"number","default":70,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { width: {{imageWidth}}px; max-width: {{imageWidth}}px; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name { font-size: {{titleSize}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name:hover,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a:hover { color: {{titleHoverColor}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { font-size: {{priceSize}}; }"}},"totalPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { color: {{totalPriceColor}}; }"}},"totalPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { font-size: {{totalPriceSize}}; }"}},"quantityColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { color: {{quantityColor}}; }"}},"quantityBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-style: {{quantityBorderType}}; }"}},"quantityBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-width: {{quantityBorderWidth}}; }"}},"quantityBorderColor":{"type":"string","style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-color: {{quantityBorderColor}}; }"}},"updateCartBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { color: {{updateCartBtnColor}}; }"}},"updateCartBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { background-color: {{updateCartBtnBGColor}}; }"}},"updateCartBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { font-size: {{updateCartBtnSize}}; }"}},"updateCartBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-style: {{updateCartBtnBorderType}} !important; }"}},"updateCartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-width: {{updateCartBtnBorderWidth}} !important; }"}},"updateCartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-color: {{updateCartBtnBorderColor}} !important; }"}},"updateCartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-radius: {{updateCartBtnBorderRadius}} !important; }"}},"updateCartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { padding: {{updateCartBtnPadding}}; }"}},"updateCartBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { color: {{updateCartBtnHoverColor}}; }"}},"updateCartBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { background-color: {{updateCartBtnHoverBGColor}}; }"}},"updateCartBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { border-color: {{updateCartBtnHoverBorderColor}} !important; }"}},"continueShopBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { color: {{continueShopBtnColor}}; }"}},"continueShopBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { background-color: {{continueShopBtnBGColor}}; }"}},"continueShopBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { font-size: {{continueShopBtnSize}}; }"}},"continueShopBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-style: {{continueShopBtnBorderType}}; }"}},"continueShopBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-width: {{continueShopBtnBorderWidth}}; }"}},"continueShopBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-color: {{continueShopBtnBorderColor}}; }"}},"continueShopBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-radius: {{continueShopBtnBorderRadius}}; }"}},"continueShopBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { padding: {{continueShopBtnPadding}}; }"}},"continueShopBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { color: {{continueShopBtnHoverColor}}; }"}},"continueShopBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { background-color: {{continueShopBtnHoverBGColor}}; }"}},"continueShopBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { border-color: {{continueShopBtnHoverBorderColor}}; }"}},"couponBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ color: {{couponBtnColor}}; }"}},"couponBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ background-color: {{couponBtnBGColor}}; transition:0.4s; }"}},"couponBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ font-size: {{couponBtnSize}}; }"}},"couponBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ color: {{couponBtnHoverColor}}; }"}},"couponBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ background-color: {{couponBtnHoverBGColor}}; }"}},"couponBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { border-radius: {{couponBorderRadius}} !important; }"}},"couponBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { padding: {{couponBtnPadding}}; }"}},"couponFormColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ color: {{couponFormColor}}; }"}},"couponFormFontSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ font-size: {{couponFormFontSize}}; }"}},"couponFormBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ border-color: {{couponFormBorderColor}}; }"}}}}'),Sh=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var Wh=Ah.name,kh=Ah.category,Th=Ah.title,xh=Ah.description,Lh=Ah.keywords,Nh=Ah.supports,zh=Ah.attributes,jh={title:(0,de.__)(Th,"woolentor"),description:(0,de.__)(xh,"woolentor"),icon:React.createElement(me.Icon,{icon:Sh}),keywords:Lh,supports:Nh,attributes:zh,edit:Bh,save:function(){return null}};const Ih=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Table Cell","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Table Content","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(fo,{label:(0,de.__)("Subtotal Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableSubtotalColor,onChange:function(e){return o({tableSubtotalColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableSubtotalSize,fallbackFontSize:t.tableSubtotalSize,onChange:function(e){return o({tableSubtotalSize:e})}}),React.createElement(fo,{label:(0,de.__)("Total Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableTotalColor,onChange:function(e){return o({tableTotalColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableTotalSize,fallbackFontSize:t.tableTotalSize,onChange:function(e){return o({tableTotalSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Checkout Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnColor,onChange:function(e){return o({checkoutBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnBGColor,onChange:function(e){return o({checkoutBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.checkoutBtnSize,fallbackFontSize:t.checkoutBtnSize,onChange:function(e){return o({checkoutBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.checkoutBtnBorderType,options:ln,onChange:function(e){return o({checkoutBtnBorderType:e})}}),t.checkoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.checkoutBtnBorderWidth,attributesKey:"checkoutBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnBorderColor,onChange:function(e){return o({checkoutBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.checkoutBtnBorderRadius,attributesKey:"checkoutBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.checkoutBtnPadding,attributesKey:"checkoutBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnHoverColor,onChange:function(e){return o({checkoutBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnHoverBGColor,onChange:function(e){return o({checkoutBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnHoverBorderColor,onChange:function(e){return o({checkoutBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBGColor,onChange:function(e){return o({areaBGColor:e})}})))))};function Mh(e){return Mh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mh(e)}function Fh(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hh(r.key),r)}}function Hh(e){var t=function(e,t){if("object"!=Mh(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Mh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mh(t)?t:String(t)}function Dh(e,t,o){return t=Gh(t),function(e,t){if(t&&("object"===Mh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qh()?Reflect.construct(t,o||[],Gh(e).constructor):t.apply(e,o))}function qh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qh=function(){return!!e})()}function Gh(e){return Gh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gh(e)}function Kh(e,t){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kh(e,t)}var Uh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Dh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Hh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart-total","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Ih,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Fh(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Qh=Uh,Vh=JSON.parse('{"name":"woolentor/cart-total","category":"woolentor-cart","title":"WL : Cart Total","description":"Display cart total.","keywords":["woolentor","shop total","cart total table","table","total table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { background-color: {{areaBGColor}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { text-align: {{headingAlignment}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table { background-color: {{tableCellBackgroundColor}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { font-size: {{tableHeadingSize}}; }"}},"tableSubtotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { color: {{tableSubtotalColor}}; }"}},"tableSubtotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { font-size: {{tableSubtotalSize}}; }"}},"tableTotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { color: {{tableTotalColor}}; }"}},"tableTotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { font-size: {{tableTotalSize}}; }"}},"checkoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { color: {{checkoutBtnColor}}; }"}},"checkoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { background-color: {{checkoutBtnBGColor}}; }"}},"checkoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { font-size: {{checkoutBtnSize}}; }"}},"checkoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-style: {{checkoutBtnBorderType}}; }"}},"checkoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-width: {{checkoutBtnBorderWidth}}; }"}},"checkoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-color: {{checkoutBtnBorderColor}}; }"}},"checkoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-radius: {{checkoutBtnBorderRadius}}; }"}},"checkoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { padding: {{checkoutBtnPadding}}; }"}},"checkoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { color: {{checkoutBtnHoverColor}}; }"}},"checkoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { background-color: {{checkoutBtnHoverBGColor}}; }"}},"checkoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { border-color: {{checkoutBtnHoverBorderColor}}; }"}}}}'),Yh=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var Zh=Vh.name,Jh=Vh.category,Xh=Vh.title,$h=Vh.description,eE=Vh.keywords,tE=Vh.supports,oE=Vh.attributes,rE={title:(0,de.__)(Xh,"woolentor"),description:(0,de.__)($h,"woolentor"),icon:React.createElement(me.Icon,{icon:Yh}),keywords:eE,supports:tE,attributes:oE,edit:Qh,save:function(){return null}};const nE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Cross Sell","woolentor"),initialOpen:!0},React.createElement(me.RangeControl,{label:(0,de.__)("Limit","woolentor"),value:t.limit,onChange:function(e){return o({limit:e})},min:0,step:1,max:20}),React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:t.order,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,de.__)("Random","woolentor"),value:"rand"},{label:(0,de.__)("Publish Date","woolentor"),value:"date"},{label:(0,de.__)("Modified Date","woolentor"),value:"modified"},{label:(0,de.__)("Alphabetic","woolentor"),value:"title"},{label:(0,de.__)("Popularity","woolentor"),value:"popularity"},{label:(0,de.__)("Rating","woolentor"),value:"rating"},{label:(0,de.__)("Price","woolentor"),value:"price"}],onChange:function(e){return o({orderBy:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Item","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.itemBorderType,options:ln,onChange:function(e){return o({itemBorderType:e})}}),t.itemBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.itemBorderWidth,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.itemBorderColor,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Regular Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(co,{label:(0,de.__)("Empty Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,de.__)("Start size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Add To Cart Button","woolentor")},React.createElement(qt,{name:"addToCartButton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:ln,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Sale Tag","woolentor")},React.createElement(co,{label:(0,de.__)("Sale Flash","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleTagShow,onChange:function(){return o({saleTagShow:!t.saleTagShow})}})),t.saleTagShow&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function aE(e){return aE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aE(e)}function lE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iE(r.key),r)}}function iE(e){var t=function(e,t){if("object"!=aE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=aE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==aE(t)?t:String(t)}function cE(e,t,o){return t=uE(t),function(e,t){if(t&&("object"===aE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,sE()?Reflect.construct(t,o||[],uE(e).constructor):t.apply(e,o))}function sE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(sE=function(){return!!e})()}function uE(e){return uE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uE(e)}function dE(e,t){return dE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dE(e,t)}var mE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=iE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cross-sell","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(nE,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i,columns:t.columns,limit:t.limit,orderBy:t.orderBy,order:t.order},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&lE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const pE=mE,gE=JSON.parse('{"name":"woolentor/cross-sell","category":"woolentor-cart","title":"WL : Cross Sell","description":"Display cross sell Product.","keywords":["woolentor","cross sell","cross sell product","cart","cart table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"limit":{"type":"number","default":2},"orderBy":{"type":"string","default":"rand"},"order":{"type":"string","default":"DESC"},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { text-align: {{headingAlignment}}; }"}},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),fE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M17 24h4v4h-4zm7 0h4v4h-4zm-7-7h4v4h-4zm7 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M28 11h-6V7c0-1.7-1.3-3-3-3h-6c-1.7 0-3 1.3-3 3v4H4c-.6 0-1 .4-1 1v.2l1.9 12.1c.1 1 1 1.7 2 1.7H15v-2H6.9L5.2 13H28v-2zM12 7c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v4h-8V7z"}));var bE=gE.name,yE=gE.category,RE=gE.title,_E=gE.description,wE=gE.supports,hE=gE.keywords,EE=gE.attributes,vE={title:(0,de.__)(RE,"woolentor"),description:(0,de.__)(_E,"woolentor"),icon:React.createElement(me.Icon,{icon:fE}),keywords:hE,supports:wE,attributes:EE,edit:pE,save:function(){return null}};const OE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Return To Shop","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,de.__)("Button Text","woolentor"),onChange:function(e){return o({buttonText:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Button Custom URL","woolentor"),value:t.buttonLink,placeholder:(0,de.__)("Button Custom URL","woolentor"),onChange:function(e){return o({buttonLink:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnColor,onChange:function(e){return o({returnBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnBGColor,onChange:function(e){return o({returnBtnBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.returnBtnBorderType,options:ln,onChange:function(e){return o({returnBtnBorderType:e})}}),t.returnBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.returnBtnBorderWidth,attributesKey:"returnBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnBorderColor,onChange:function(e){return o({returnBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.returnBtnBorderRadius,attributesKey:"returnBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.returnBtnSize,fallbackFontSize:t.returnBtnSize,onChange:function(e){return o({returnBtnSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.returnBtnPadding,attributesKey:"returnBtnPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.returnBtnMargin,attributesKey:"returnBtnMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnHoverColor,onChange:function(e){return o({returnBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnHoverBGColor,onChange:function(e){return o({returnBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnHoverBorderColor,onChange:function(e){return o({returnBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function PE(e){return PE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PE(e)}function CE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BE(r.key),r)}}function BE(e){var t=function(e,t){if("object"!=PE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=PE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==PE(t)?t:String(t)}function AE(e,t,o){return t=WE(t),function(e,t){if(t&&("object"===PE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,SE()?Reflect.construct(t,o||[],WE(e).constructor):t.apply(e,o))}function SE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(SE=function(){return!!e})()}function WE(e){return WE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WE(e)}function kE(e,t){return kE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kE(e,t)}var TE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),AE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=BE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-return-to-shop","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(OE,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{buttonText:t.buttonText,buttonLink:t.buttonLink},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&CE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const xE=TE,LE=JSON.parse('{"name":"woolentor/return-to-shop","category":"woolentor-cart","title":"WL : Return To Shop","description":"Display return to shop page button.","keywords":["woolentor","return to shop","back shop","redirect to shop","redirect button","cart"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":""},"buttonLink":{"type":"string","default":""},"returnBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ color: {{returnBtnColor}}; }"}},"returnBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ background-color: {{returnBtnBGColor}}; }"}},"returnBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-style: {{returnBtnBorderType}}; }"}},"returnBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-width: {{returnBtnBorderWidth}}; }"}},"returnBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-color: {{returnBtnBorderColor}}; }"}},"returnBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-radius: {{returnBtnBorderRadius}}; }"}},"returnBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ font-size: {{returnBtnSize}}; }"}},"returnBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ padding: {{returnBtnPadding}}; }"}},"returnBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ margin: {{returnBtnMargin}}; }"}},"returnBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ color: {{returnBtnHoverColor}}; }"}},"returnBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ background-color: {{returnBtnHoverBGColor}}; }"}},"returnBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ border-color: {{returnBtnHoverBorderColor}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .return-to-shop { text-align: {{buttonAlignment}}; }"}}}}'),NE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("circle",{cx:"7",cy:"7",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"15",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"23",r:"1",fill:"currentColor"}),React.createElement("path",{fill:"currentColor",d:"M12 26H4v-6h8v-2H4v-6h18V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h8ZM4 4h16v6H4Z"}),React.createElement("path",{fill:"currentColor",d:"M28 17v2.413A6.996 6.996 0 1 0 22 30v-2a5 5 0 1 1 4.576-7H24v2h6v-6Z"}));var zE=LE.name,jE=LE.category,IE=LE.title,ME=LE.description,FE=LE.keywords,HE=LE.supports,DE=LE.attributes,qE={title:(0,de.__)(IE,"woolentor"),description:(0,de.__)(ME,"woolentor"),icon:React.createElement(me.Icon,{icon:NE}),keywords:FE,supports:HE,attributes:DE,edit:xE,save:function(){return null}};const GE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Additional Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),placeholder:(0,de.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function KE(e){return KE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KE(e)}function UE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,QE(r.key),r)}}function QE(e){var t=function(e,t){if("object"!=KE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=KE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KE(t)?t:String(t)}function VE(e,t,o){return t=ZE(t),function(e,t){if(t&&("object"===KE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,YE()?Reflect.construct(t,o||[],ZE(e).constructor):t.apply(e,o))}function YE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(YE=function(){return!!e})()}function ZE(e){return ZE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ZE(e)}function JE(e,t){return JE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},JE(e,t)}var XE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),VE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&JE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=QE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-additional-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(GE,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&UE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const $E=XE,ev=JSON.parse('{"name":"woolentor/checkout-additional-form","category":"woolentor-checkout","title":"WL : Checkout Additional Form","description":"Display Checkout Additional Form.","keywords":["woolentor","checkout form","Additional form","Additional field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Additional information"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),tv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var ov=ev.name,rv=ev.category,nv=ev.title,av=ev.description,lv=ev.keywords,iv=ev.supports,cv=ev.attributes,sv={title:(0,de.__)(nv,"woolentor"),description:(0,de.__)(av,"woolentor"),icon:React.createElement(me.Icon,{icon:tv}),keywords:lv,supports:iv,attributes:cv,edit:$E,save:function(){return null}};const uv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Billing Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),placeholder:(0,de.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Create an account label","woolentor"),placeholder:(0,de.__)("Create an account?","woolentor"),value:t.createfieldLabel,onChange:function(e){return o({createfieldLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function dv(e){return dv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dv(e)}function mv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pv(r.key),r)}}function pv(e){var t=function(e,t){if("object"!=dv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dv(t)?t:String(t)}function gv(e,t,o){return t=bv(t),function(e,t){if(t&&("object"===dv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fv()?Reflect.construct(t,o||[],bv(e).constructor):t.apply(e,o))}function fv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fv=function(){return!!e})()}function bv(e){return bv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bv(e)}function yv(e,t){return yv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yv(e,t)}var Rv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=pv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-billing-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(uv,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&mv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const _v=Rv,wv=JSON.parse('{"name":"woolentor/checkout-billing-form","category":"woolentor-checkout","title":"WL : Checkout Billing Form","description":"Display Checkout Billing Form.","keywords":["woolentor","checkout form","billing form","billing field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Billing details"},"createfieldLabel":{"type":"string","default":"Create an account?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),hv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Ev=wv.name,vv=wv.category,Ov=wv.title,Pv=wv.description,Cv=wv.keywords,Bv=wv.supports,Av=wv.attributes,Sv={title:(0,de.__)(Ov,"woolentor"),description:(0,de.__)(Pv,"woolentor"),icon:React.createElement(me.Icon,{icon:hv}),keywords:Cv,supports:Bv,attributes:Av,edit:_v,save:function(){return null}};const Wv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Coupon Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Apply Button Text","woolentor"),placeholder:(0,de.__)("Apply coupon","woolentor"),value:t.formApplyButton,onChange:function(e){return o({formApplyButton:e})}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Description","woolentor"),placeholder:(0,de.__)("If you have a coupon code, please apply it below.","woolentor"),value:t.formDescription,onChange:function(e){return o({formDescription:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Left Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Top Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.togglerBorderType,options:ln,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formBorderType,options:ln,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Submit Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kv(e){return kv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kv(e)}function Tv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xv(r.key),r)}}function xv(e){var t=function(e,t){if("object"!=kv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kv(t)?t:String(t)}function Lv(e,t,o){return t=zv(t),function(e,t){if(t&&("object"===kv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Nv()?Reflect.construct(t,o||[],zv(e).constructor):t.apply(e,o))}function Nv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Nv=function(){return!!e})()}function zv(e){return zv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zv(e)}function jv(e,t){return jv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jv(e,t)}var Iv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Lv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=xv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-coupon-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Wv,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formDescription:t.formDescription},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Tv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Mv=Iv,Fv=JSON.parse('{"name":"woolentor/checkout-coupon-form","category":"woolentor-checkout","title":"WL : Checkout Coupon Form","description":"Display Checkout Coupon Form.","keywords":["woolentor","checkout form","Coupon form","Coupon field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formApplyButton":{"type":"string","default":"Apply coupon"},"formDescription":{"type":"string","default":"If you have a coupon code, please apply it below."},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { margin: {{formMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text,{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),Hv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Dv=Fv.name,qv=Fv.title,Gv=Fv.description,Kv=Fv.category,Uv=Fv.attributes,Qv=Fv.keywords,Vv=Fv.supports,Yv={title:(0,de.__)(qv,"woolentor"),description:(0,de.__)(Gv,"woolentor"),icon:React.createElement(me.Icon,{icon:Hv}),keywords:Qv,supports:Vv,attributes:Uv,edit:Mv,save:function(){return null}};const Zv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Left Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Top Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.togglerBorderType,options:ln,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formBorderType,options:ln,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Login Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnColor,onChange:function(e){return o({loginBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnBGColor,onChange:function(e){return o({loginBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.loginBtnSize,fallbackFontSize:t.loginBtnSize,onChange:function(e){return o({loginBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.loginBtnBorderType,options:ln,onChange:function(e){return o({loginBtnBorderType:e})}}),t.loginBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.loginBtnBorderWidth,attributesKey:"loginBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnBorderColor,onChange:function(e){return o({loginBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.loginBtnBorderRadius,attributesKey:"loginBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.loginBtnPadding,attributesKey:"loginBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnHoverColor,onChange:function(e){return o({loginBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnHoverBGColor,onChange:function(e){return o({loginBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnHoverBorderColor,onChange:function(e){return o({loginBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jv(e){return Jv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jv(e)}function Xv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$v(r.key),r)}}function $v(e){var t=function(e,t){if("object"!=Jv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jv(t)?t:String(t)}function eO(e,t,o){return t=oO(t),function(e,t){if(t&&("object"===Jv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tO()?Reflect.construct(t,o||[],oO(e).constructor):t.apply(e,o))}function tO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tO=function(){return!!e})()}function oO(e){return oO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oO(e)}function rO(e,t){return rO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rO(e,t)}var nO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),eO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=$v(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor_block_checkout_login_form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Zv,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i,formToggolerText:t.formToggolerText},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Xv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const aO=nO,lO=JSON.parse('{"name":"woolentor/checkout-login-form","category":"woolentor-checkout","title":"WL : Checkout Login Form","description":"Display Checkout Login Form.","keywords":["woolentor","checkout form","login form","login field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { margin: {{formMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text,{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"loginBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { color: {{loginBtnColor}}; }"}},"loginBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { background-color: {{loginBtnBGColor}}; }"}},"loginBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { font-size: {{loginBtnSize}}; }"}},"loginBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-style: {{loginBtnBorderType}} !important; }"}},"loginBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-width: {{loginBtnBorderWidth}} !important; }"}},"loginBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-color: {{loginBtnBorderColor}} !important; }"}},"loginBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-radius: {{loginBtnBorderRadius}} !important; }"}},"loginBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { padding: {{loginBtnPadding}}; }"}},"loginBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { color: {{loginBtnHoverColor}}; }"}},"loginBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { background-color: {{loginBtnHoverBGColor}}; }"}},"loginBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { border-color: {{loginBtnHoverBorderColor}} !important; }"}}}}'),iO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var cO=lO.name,sO=lO.title,uO=lO.description,dO=lO.category,mO=lO.attributes,pO=lO.keywords,gO=lO.supports,fO={title:(0,de.__)(sO,"woolentor"),description:(0,de.__)(uO,"woolentor"),icon:React.createElement(me.Icon,{icon:iO}),keywords:pO,supports:gO,attributes:mO,edit:aO,save:function(){return null}};const bO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Order Review","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Table Heading","woolentor"),placeholder:(0,de.__)("Your order","woolentor"),value:t.heading,onChange:function(e){return o({heading:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Table Heading","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableHeadingType,options:ln,onChange:function(e){return o({tableHeadingType:e})}}),t.tableHeadingType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableHeadingBorderWidth,attributesKey:"tableHeadingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingBorderColor,onChange:function(e){return o({tableHeadingBorderColor:e})}})))),React.createElement(Yt,{title:(0,de.__)("Table Content","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Table Border Type","woolentor"),value:t.tableBorderType,options:ln,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Table Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Table Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function yO(e){return yO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yO(e)}function RO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_O(r.key),r)}}function _O(e){var t=function(e,t){if("object"!=yO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yO(t)?t:String(t)}function wO(e,t,o){return t=EO(t),function(e,t){if(t&&("object"===yO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,hO()?Reflect.construct(t,o||[],EO(e).constructor):t.apply(e,o))}function hO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hO=function(){return!!e})()}function EO(e){return EO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},EO(e)}function vO(e,t){return vO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vO(e,t)}var OO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=_O(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-order-review","woolentor_block_checkout_order_review","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(bO,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{heading:t.heading,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&RO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const PO=OO,CO=JSON.parse('{"name":"woolentor/checkout-order-review","category":"woolentor-checkout","title":"WL : Checkout Order Review","description":"Display Checkout Order Review.","keywords":["woolentor","checkout","order review","checkout order review","order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Your order"},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { padding: {{headingPadding}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { margin: {{headingMargin}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { background-color: {{headingBackgroundColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { font-size: {{tableHeadingSize}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { color: {{tableHeadingColor}}; }"}},"tableHeadingType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-style: {{tableHeadingType}}; }"}},"tableHeadingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-width: {{tableHeadingBorderWidth}}; }"}},"tableHeadingBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-color: {{tableHeadingBorderColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-style: {{tableBorderType}}!important; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-width: {{tableBorderWidth}}!important; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-color: {{tableBorderColor}}!important; }"}},"tableContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { font-size: {{tableContentSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { color: {{tableContentColor}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td,{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-color: {{tableCellBorderColor}}!important; }"}}}}'),BO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var AO=CO.name,SO=CO.title,WO=CO.description,kO=CO.category,TO=CO.attributes,xO=CO.keywords,LO=CO.supports,NO={title:(0,de.__)(SO,"woolentor"),description:(0,de.__)(WO,"woolentor"),icon:React.createElement(me.Icon,{icon:BO}),keywords:xO,supports:LO,attributes:TO,edit:PO,save:function(){return null}};const zO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.areaContentSize,fallbackFontSize:t.areaContentSize,onChange:function(e){return o({areaContentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentColor,onChange:function(e){return o({areaContentColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentLinkColor,onChange:function(e){return o({areaContentLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentBGColor,onChange:function(e){return o({areaContentBGColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"areaContentAlignment",justified:!0}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.areaContentBorderType,options:ln,onChange:function(e){return o({areaContentBorderType:e})}}),t.areaContentBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.areaContentBorderWidth,attributesKey:"areaContentBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentBorderColor,onChange:function(e){return o({areaContentBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.areaContentBorderRadius,attributesKey:"areaContentBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaContentPadding,attributesKey:"areaContentPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentBGColor,onChange:function(e){return o({contentBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.contentBorderType,options:ln,onChange:function(e){return o({contentBorderType:e})}}),t.contentBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.contentBorderWidth,attributesKey:"contentBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentBorderColor,onChange:function(e){return o({contentBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Place Order Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnColor,onChange:function(e){return o({placeOrderBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnBGColor,onChange:function(e){return o({placeOrderBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.placeOrderBtnSize,fallbackFontSize:t.placeOrderBtnSize,onChange:function(e){return o({placeOrderBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.placeOrderBtnBorderType,options:ln,onChange:function(e){return o({placeOrderBtnBorderType:e})}}),t.placeOrderBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.placeOrderBtnBorderWidth,attributesKey:"placeOrderBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnBorderColor,onChange:function(e){return o({placeOrderBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.placeOrderBtnBorderRadius,attributesKey:"placeOrderBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.placeOrderBtnPadding,attributesKey:"placeOrderBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnHoverColor,onChange:function(e){return o({placeOrderBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnHoverBGColor,onChange:function(e){return o({placeOrderBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnHoverBorderColor,onChange:function(e){return o({placeOrderBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function jO(e){return jO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jO(e)}function IO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,MO(r.key),r)}}function MO(e){var t=function(e,t){if("object"!=jO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jO(t)?t:String(t)}function FO(e,t,o){return t=DO(t),function(e,t){if(t&&("object"===jO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,HO()?Reflect.construct(t,o||[],DO(e).constructor):t.apply(e,o))}function HO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(HO=function(){return!!e})()}function DO(e){return DO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},DO(e)}function qO(e,t){return qO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qO(e,t)}var GO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),FO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=MO(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-payment","woolentor_block_checkout_payment","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(zO,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&IO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const KO=GO,UO=JSON.parse('{"name":"woolentor/checkout-payment","category":"woolentor-checkout","title":"WL : Checkout Payment Method","description":"Display checkout payment method.","keywords":["woolentor","checkout","checkout payment","payment"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { font-size: {{areaContentSize}}; }"}},"areaContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { color: {{areaContentColor}}; }"}},"areaContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment a{ color: {{areaContentLinkColor}}; }"}},"areaContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { background-color: {{areaContentBGColor}}; }"}},"areaContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { text-align: {{areaContentAlignment}}; }"}},"areaContentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-style: {{areaContentBorderType}}; }"}},"areaContentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment{ border-width: {{areaContentBorderWidth}}; }"}},"areaContentBorderColor":{"type":"string","style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-color: {{areaContentBorderColor}}; }"}},"areaContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-radius: {{areaContentBorderRadius}}; }"}},"areaContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { padding: {{areaContentPadding}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { padding: {{headingPadding}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { background-color: {{headingBackgroundColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { font-size: {{contentSize}}; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { color: {{contentColor}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { text-align: {{contentAlignment}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { background-color: {{contentBGColor}}; } {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before, {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before{ border-color:transparent transparent {{contentBGColor}} }"}},"contentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-style: {{contentBorderType}}; }"}},"contentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-width: {{contentBorderWidth}}; }"}},"contentBorderColor":{"type":"string","style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-color: {{contentBorderColor}}; }"}},"contentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-radius: {{contentBorderRadius}}; }"}},"placeOrderBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { color: {{placeOrderBtnColor}}; }"}},"placeOrderBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { background-color: {{placeOrderBtnBGColor}}; }"}},"placeOrderBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { font-size: {{placeOrderBtnSize}}; }"}},"placeOrderBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-style: {{placeOrderBtnBorderType}} !important; }"}},"placeOrderBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-width: {{placeOrderBtnBorderWidth}} !important; }"}},"placeOrderBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-color: {{placeOrderBtnBorderColor}} !important; }"}},"placeOrderBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-radius: {{placeOrderBtnBorderRadius}} !important; }"}},"placeOrderBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { padding: {{placeOrderBtnPadding}}; }"}},"placeOrderBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { color: {{placeOrderBtnHoverColor}}; }"}},"placeOrderBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { background-color: {{placeOrderBtnHoverBGColor}}; }"}},"placeOrderBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { border-color: {{placeOrderBtnHoverBorderColor}} !important; }"}}}}'),QO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.25em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 640 512"},React.createElement("path",{fill:"currentColor",d:"M608 32H32C14.33 32 0 46.33 0 64v384c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM176 327.88V344c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35c-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73c3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19c0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39c0-24.52 19.05-44.44 42.67-45.07V152c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35c3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73c-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19c0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39c0 24.53-19.05 44.44-42.67 45.07zM416 312c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm160 0c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h272c4.42 0 8 3.58 8 8v16z"}));var VO=UO.name,YO=UO.title,ZO=UO.description,JO=UO.category,XO=UO.attributes,$O=UO.keywords,eP=UO.supports,tP={title:(0,de.__)(YO,"woolentor"),description:(0,de.__)(ZO,"woolentor"),icon:React.createElement(me.Icon,{icon:QO}),keywords:$O,supports:eP,attributes:XO,edit:KO,save:function(){return null}};const oP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Shipping Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),placeholder:(0,de.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function rP(e){return rP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rP(e)}function nP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aP(r.key),r)}}function aP(e){var t=function(e,t){if("object"!=rP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rP(t)?t:String(t)}function lP(e,t,o){return t=cP(t),function(e,t){if(t&&("object"===rP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,iP()?Reflect.construct(t,o||[],cP(e).constructor):t.apply(e,o))}function iP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(iP=function(){return!!e})()}function cP(e){return cP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cP(e)}function sP(e,t){return sP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sP(e,t)}var uP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),lP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=aP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-shipping-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(oP,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&nP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const dP=uP,mP=JSON.parse('{"name":"woolentor/checkout-shipping-form","category":"woolentor-checkout","title":"WL : Checkout Shipping Form","description":"Display Checkout Shipping Form.","keywords":["woolentor","checkout form","Shipping form","Shipping field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Ship to a different address?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),pP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var gP=mP.name,fP=mP.category,bP=mP.title,yP=mP.description,RP=mP.keywords,_P=mP.supports,wP=mP.attributes,hP={title:(0,de.__)(bP,"woolentor"),description:(0,de.__)(yP,"woolentor"),icon:React.createElement(me.Icon,{icon:pP}),keywords:RP,supports:_P,attributes:wP,edit:dP,save:function(){return null}};function EP(e){return function(e){if(Array.isArray(e))return OP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vP(e,t){if(e){if("string"==typeof e)return OP(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?OP(e,t):void 0}}function OP(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const PP=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||vP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=EP(t.navigationItemList);a[n][r]=e,o({navigationItemList:a})},c=[];if(!Object.keys(woolentorData.myaccountmenu).length>0)c=[{label:(0,de.__)("Dashboard","woolentor"),value:"dashboard"},{label:(0,de.__)("Orders","woolentor"),value:"orders"},{label:(0,de.__)("Downloads","woolentor"),value:"downloads"},{label:(0,de.__)("Addresses","woolentor"),value:"edit-address"},{label:(0,de.__)("Account details","woolentor"),value:"edit-account"},{label:(0,de.__)("Logout","woolentor"),value:"customer-logout"},{label:(0,de.__)("Custom","woolentor"),value:"customadd"}];else{var s=function(e,t){return e.map((function(e){return!0===e.hasOwnProperty(t)?e[t]:""})).filter((function(e){return""!==e}))}(t.navigationItemList,"menuCusKey");for(var u in woolentorData.myaccountmenu)s.includes(u)||c.push({label:(0,de.__)(woolentorData.myaccountmenu[u],"woolentor"),value:u})}return t.navigationItemList.length>0&&(r=t.navigationItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.navigationItemList[r].menuTitle),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=EP(t.navigationItemList);r.splice(e,1),o({navigationItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.SelectControl,{label:(0,de.__)("Menu Items","woolentor"),value:t.navigationItemList[r].menuKey,options:c,onChange:function(e){return i(e,"menuKey",r)}}),React.createElement(me.TextControl,{label:(0,de.__)("Menu Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Dashboard","woolentor"),value:t.navigationItemList[r].menuTitle,onChange:function(e){return i(e,"menuTitle",r)}}),"customadd"===t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,React.createElement(me.TextControl,{label:(0,de.__)("Menu Key","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuCusKey,onChange:function(e){return i(e,"menuCusKey",r)}}),React.createElement(me.ToggleControl,{label:(0,de.__)("External URL ?","woolentor"),checked:t.navigationItemList[r].externalUrl,onChange:function(e){return i(e,"externalUrl",r)}}),t.navigationItemList[r].externalUrl&&React.createElement(me.TextControl,{label:(0,de.__)("Menu URL","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuUrl,onChange:function(e){return i(e,"menuUrl",r)}})),!0!==t.navigationItemList[r].externalUrl&&React.createElement(me.SelectControl,{label:(0,de.__)("Select Content Source","woolentor"),value:t.navigationItemList[r].contentSource,options:[{label:(0,de.__)("Default","woolentor"),value:"default"},{label:(0,de.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return i(e,"contentSource",r)}}),"custom"===t.navigationItemList[r].contentSource&&!0!==t.navigationItemList[r].externalUrl&&React.createElement(React.Fragment,null,React.createElement(me.TextareaControl,{label:(0,de.__)("Content","woolentor"),value:t.navigationItemList[r].customContent,onChange:function(e){return i(e,"customContent",r)}})),"customadd"!==t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,"default"!==t.navigationItemList[r].contentSource&&React.createElement(me.ToggleControl,{label:(0,de.__)("Remove Default Content","woolentor"),checked:t.navigationItemList[r].contentRemove,onChange:function(e){return i(e,"contentRemove",r)}})))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.ToggleControl,{label:(0,de.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,de.__)("Show User Info.","woolentor"):(0,de.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Xo,{title:(0,de.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"})),r,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=EP(t.navigationItemList);e.push({menuKey:"customadd",menuTitle:(0,de.__)("Menu Item #"+(t.navigationItemList.length+1),"woolentor"),menuCusKey:(0,de.__)("menu-item-"+(t.navigationItemList.length+1),"woolentor"),contentSource:"default"}),o({navigationItemList:e}),l(t.navigationItemList.length)}.bind(void 0)},(0,de.__)("Add Item","woolentor")))),React.createElement(xt,null,t.userInfo&&React.createElement(Yt,{title:(0,de.__)("User Info","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Text Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,de.__)("Link Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(fo,{label:(0,de.__)("Image","woolentor")}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.userImageBorderType,options:ln,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Navigation","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,de.__)("Horizontal Left","woolentor"),value:"hleft"},{label:(0,de.__)("Horizontal Right","woolentor"),value:"hright"},{label:(0,de.__)("Vertical Top","woolentor"),value:"vtop"},{label:(0,de.__)("Vertical Bottom","woolentor"),value:"vbottom"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(ho,{lavel:(0,de.__)("Menu Area Margin","woolentor"),dimensions:t.menuAreaMargin,attributesKey:"menuAreaMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(me.RangeControl,{label:(0,de.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(qt,{name:"navigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.menuBorderType,options:ln,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(me.RangeControl,{label:(0,de.__)("Content Area Width (PX)","woolentor"),value:t.contentAreaWidth,allowReset:!0,onChange:function(e){return o({contentAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function CP(e){return CP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},CP(e)}function BP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,AP(r.key),r)}}function AP(e){var t=function(e,t){if("object"!=CP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=CP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==CP(t)?t:String(t)}function SP(e,t,o){return t=kP(t),function(e,t){if(t&&("object"===CP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,WP()?Reflect.construct(t,o||[],kP(e).constructor):t.apply(e,o))}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(WP=function(){return!!e})()}function kP(e){return kP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kP(e)}function TP(e,t){return TP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},TP(e,t)}var xP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),SP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&TP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=AP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account","woolentor_block_my_account","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(PP,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,navigationItemList:t.navigationItemList,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&BP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const LP=xP,NP=JSON.parse('{"name":"woolentor/my-account","category":"woolentor-myaccount","title":"WL : My Account","description":"Display My Account.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":true},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"navigationItemList":{"type":"array","default":[{"menuKey":"dashboard","menuTitle":"Dashboard","contentSource":"default"},{"menuKey":"orders","menuTitle":"Orders","contentSource":"default"},{"menuKey":"downloads","menuTitle":"Downloads","contentSource":"default"},{"menuKey":"edit-address","menuTitle":"Addresses","contentSource":"default"},{"menuKey":"edit-account","menuTitle":"Account details","contentSource":"default"},{"menuKey":"customer-logout","menuTitle":"Logout","contentSource":"default"}]},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { margin: {{menuAreaMargin}}; }"}},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { width: {{menuAreaWidth}}px; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}},"contentAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { width: {{contentAreaWidth}}px; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content a { color: {{contentLinkColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { font-size: {{contentSize}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { margin: {{contentMargin}}; }"}},"contentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { padding: {{contentPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { text-align: {{contentAlignment}}; }"}}}}'),zP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M3 8h19V5q0-.825-.587-1.413Q20.825 3 20 3H5q-.825 0-1.413.587Q3 4.175 3 5Zm5 2H3v9q0 .825.587 1.413Q4.175 21 5 21h3Zm9 0v11h3q.825 0 1.413-.587Q22 19.825 22 19v-9Zm-2 0h-5v11h5Z"})));var jP=NP.name,IP=NP.title,MP=NP.description,FP=NP.category,HP=NP.attributes,DP=NP.keywords,qP=NP.supports,GP={title:(0,de.__)(IP,"woolentor"),description:(0,de.__)(MP,"woolentor"),icon:React.createElement(me.Icon,{icon:zP}),keywords:DP,supports:qP,attributes:HP,edit:LP,save:function(){return null}};const KP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Top Content","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.topContentColor,onChange:function(e){return o({topContentColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.topContentSize,fallbackFontSize:t.topContentSize,onChange:function(e){return o({topContentSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.topContentMargin,attributesKey:"topContentMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingLinkColor,onChange:function(e){return o({headingLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingLinkHoverColor,onChange:function(e){return o({headingLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Address","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function UP(e){return UP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},UP(e)}function QP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,VP(r.key),r)}}function VP(e){var t=function(e,t){if("object"!=UP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=UP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==UP(t)?t:String(t)}function YP(e,t,o){return t=JP(t),function(e,t){if(t&&("object"===UP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ZP()?Reflect.construct(t,o||[],JP(e).constructor):t.apply(e,o))}function ZP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ZP=function(){return!!e})()}function JP(e){return JP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},JP(e)}function XP(e,t){return XP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XP(e,t)}var $P=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),YP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=VP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-address","woolentorblock-my-account-address-"+i,"woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(KP,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&QP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const eC=$P,tC=JSON.parse('{"name":"woolentor/my-account-address","category":"woolentor-myaccount","title":"WL: My Account Address","description":"Display My Account Address.","keywords":["woolentor","My Account","Account","Account address","Address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"topContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { color: {{topContentColor}}; }"}},"topContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { font-size: {{topContentSize}}; }"}},"topContentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { margin: {{topContentMargin}}; }"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { color: {{headingColor}}; }"}},"headingLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a { color: {{headingLinkColor}}; }"}},"headingLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a:hover { color: {{headingLinkHoverColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { background-color: {{headingBGColor}} !important; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}; }"}}}}'),oC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 11h2.1l6.2-6.2l-2.1-2.1L11 8.9Zm9-6.9l.7-.7q.3-.3.3-.7q0-.4-.3-.7l-.7-.7q-.3-.3-.7-.3q-.4 0-.7.3l-.7.7ZM12 22q-4.025-3.425-6.012-6.363Q4 12.7 4 10.2q0-3.75 2.413-5.975Q8.825 2 12 2q.675 0 1.338.112q.662.113 1.287.313L13 4.075q-.25-.05-.488-.063Q12.275 4 12 4Q9.475 4 7.737 5.737Q6 7.475 6 10.2q0 1.775 1.475 4.062Q8.95 16.55 12 19.35q3.05-2.8 4.525-5.088Q18 11.975 18 10.2q0-.3-.025-.588q-.025-.287-.075-.562l1.65-1.65q.225.65.338 1.35q.112.7.112 1.45q0 2.5-1.987 5.437Q16.025 18.575 12 22Zm.775-11.125Z"}));var rC=tC.name,nC=tC.title,aC=tC.description,lC=tC.category,iC=tC.attributes,cC=tC.keywords,sC=tC.supports,uC={title:(0,de.__)(nC,"woolentor"),description:(0,de.__)(aC,"woolentor"),icon:React.createElement(me.Icon,{icon:oC}),keywords:cC,supports:sC,attributes:iC,edit:eC,save:function(){return null}};const dC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentLinkHoverColor,onChange:function(e){return o({contentLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Text Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function mC(e){return mC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mC(e)}function pC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gC(r.key),r)}}function gC(e){var t=function(e,t){if("object"!=mC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mC(t)?t:String(t)}function fC(e,t,o){return t=yC(t),function(e,t){if(t&&("object"===mC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bC()?Reflect.construct(t,o||[],yC(e).constructor):t.apply(e,o))}function bC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bC=function(){return!!e})()}function yC(e){return yC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yC(e)}function RC(e,t){return RC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},RC(e,t)}var _C=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),fC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&RC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=gC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-dashboard","woolentor_block_my_account_dashboard","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(dC,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&pC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const wC=_C,hC=JSON.parse('{"name":"woolentor/my-account-dashboard","category":"woolentor-myaccount","title":"WL: My Account Dashboard","description":"Display My Account dashboard.","keywords":["woolentor","My Account","Account","Account dashboard","Dashboard content","Dashboard"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a { color: {{contentLinkColor}}; }"}},"contentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a:hover { color: {{contentLinkHoverColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { font-size: {{contentSize}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { text-align: {{contentAlignment}}; }"}}}}'),EC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Zm5-2v-6H5v6Zm2 0h7v-6h-7Zm-7-8h14V5H5Z"}));var vC=hC.name,OC=hC.title,PC=hC.description,CC=hC.category,BC=hC.attributes,AC=hC.keywords,SC=hC.supports,WC={title:(0,de.__)(OC,"woolentor"),description:(0,de.__)(PC,"woolentor"),icon:React.createElement(me.Icon,{icon:EC}),keywords:AC,supports:SC,attributes:BC,edit:wC,save:function(){return null}};const kC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","advanced"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("My Account Download","woolentor")},React.createElement("p",null,(0,de.__)("My Account Download","woolentor")))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function TC(e){return TC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TC(e)}function xC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,LC(r.key),r)}}function LC(e){var t=function(e,t){if("object"!=TC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=TC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==TC(t)?t:String(t)}function NC(e,t,o){return t=jC(t),function(e,t){if(t&&("object"===TC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zC()?Reflect.construct(t,o||[],jC(e).constructor):t.apply(e,o))}function zC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zC=function(){return!!e})()}function jC(e){return jC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jC(e)}function IC(e,t){return IC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IC(e,t)}var MC=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),NC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=LC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-download","woolentorblock-my-account-download-"+i,"woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kC,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&xC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const FC=MC,HC=JSON.parse('{"name":"woolentor/my-account-download","category":"woolentor-myaccount","title":"WL: My Account Download","description":"Display My Account Download.","keywords":["woolentor","My Account","Account","Account download","Dashboard download","download"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}}}}'),DC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6.5 20q-2.275 0-3.887-1.575Q1 16.85 1 14.575q0-1.95 1.175-3.475Q3.35 9.575 5.25 9.15q.425-1.8 2.125-3.425Q9.075 4.1 11 4.1q.825 0 1.413.587Q13 5.275 13 6.1v6.05l1.6-1.55L16 12l-4 4l-4-4l1.4-1.4l1.6 1.55V6.1q-1.9.35-2.95 1.837Q7 9.425 7 11h-.5q-1.45 0-2.475 1.025Q3 13.05 3 14.5q0 1.45 1.025 2.475Q5.05 18 6.5 18h12q1.05 0 1.775-.725Q21 16.55 21 15.5q0-1.05-.725-1.775Q19.55 13 18.5 13H17v-2q0-1.2-.55-2.238Q15.9 7.725 15 7V4.675q1.85.875 2.925 2.588Q19 8.975 19 11q1.725.2 2.863 1.487Q23 13.775 23 15.5q0 1.875-1.312 3.188Q20.375 20 18.5 20Zm5.5-8.95Z"}));var qC=HC.name,GC=HC.title,KC=HC.description,UC=HC.category,QC=HC.attributes,VC=HC.keywords,YC=HC.supports,ZC={title:(0,de.__)(GC,"woolentor"),description:(0,de.__)(KC,"woolentor"),icon:React.createElement(me.Icon,{icon:DC}),keywords:VC,supports:YC,attributes:QC,edit:FC,save:function(){return null}};const JC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Fieldset","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.fieldsetColor,onChange:function(e){return o({fieldsetColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.fieldsetBorderColor,onChange:function(e){return o({fieldsetBorderColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function XC(e){return XC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},XC(e)}function $C(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,eB(r.key),r)}}function eB(e){var t=function(e,t){if("object"!=XC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=XC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==XC(t)?t:String(t)}function tB(e,t,o){return t=rB(t),function(e,t){if(t&&("object"===XC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oB()?Reflect.construct(t,o||[],rB(e).constructor):t.apply(e,o))}function oB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oB=function(){return!!e})()}function rB(e){return rB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rB(e)}function nB(e,t){return nB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nB(e,t)}var aB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),tB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=eB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-edit","woolentorblock-my-account-edit-"+i,"woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(JC,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&$C(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const lB=aB,iB=JSON.parse('{"name":"woolentor/my-account-edit","category":"woolentor-myaccount","title":"WL: My Account Edit","description":"Display My Account Edit.","keywords":["woolentor","My Account","Account","Account edit","Edit Account","edit"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { margin: {{labelMargin}}; }"}},"fieldsetColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { color: {{fieldsetColor}}; }"}},"fieldsetBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { border-color: {{fieldsetBorderColor}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),cB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v6h-2v-2H5v10h7v2Zm17.125-5L20 14.875l.725-.725q.275-.275.7-.275q.425 0 .7.275l.725.725q.275.275.275.7q0 .425-.275.7ZM14 23v-2.125l5.3-5.3l2.125 2.125l-5.3 5.3ZM5 8h14V6H5Zm0 0V6v2Z"}));var sB=iB.name,uB=iB.title,dB=iB.description,mB=iB.category,pB=iB.attributes,gB=iB.keywords,fB=iB.supports,bB={title:(0,de.__)(uB,"woolentor"),description:(0,de.__)(dB,"woolentor"),icon:React.createElement(me.Icon,{icon:cB}),keywords:gB,supports:fB,attributes:pB,edit:lB,save:function(){return null}};const yB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Heading","woolentor"),value:t.heading,placeholder:(0,de.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(xt,null,t.heading&&React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Lost Password","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.lostPassColor,onChange:function(e){return o({lostPassColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.lostPassHoverColor,onChange:function(e){return o({lostPassHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.lostPassSize,fallbackFontSize:t.lostPassSize,onChange:function(e){return o({lostPassSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.lostPassMargin,attributesKey:"lostPassMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function RB(e){return RB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RB(e)}function _B(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wB(r.key),r)}}function wB(e){var t=function(e,t){if("object"!=RB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=RB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==RB(t)?t:String(t)}function hB(e,t,o){return t=vB(t),function(e,t){if(t&&("object"===RB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,EB()?Reflect.construct(t,o||[],vB(e).constructor):t.apply(e,o))}function EB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(EB=function(){return!!e})()}function vB(e){return vB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vB(e)}function OB(e,t){return OB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},OB(e,t)}var PB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),hB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&OB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=wB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-login-form","woolentor_block_my_account_login_form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(yB,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&_B(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const CB=PB,BB=JSON.parse('{"name":"woolentor/my-account-login-form","category":"woolentor-myaccount","title":"WL: My Account Login Form","description":"Display My Account Login Form.","keywords":["woolentor","My Account","Account","Account login","Login Form","login"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Login"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row { margin: {{inputBoxMargin}}!important; }"}},"lostPassColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { color: {{lostPassColor}}; }"}},"lostPassHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a:hover { color: {{lostPassHoverColor}}; }"}},"lostPassSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { font-size: {{lostPassSize}}; }"}},"lostPassMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { margin: {{lostPassMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),AB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var SB=BB.name,WB=BB.title,kB=BB.description,TB=BB.category,xB=BB.attributes,LB=BB.keywords,NB=BB.supports,zB={title:(0,de.__)(WB,"woolentor"),description:(0,de.__)(kB,"woolentor"),icon:React.createElement(me.Icon,{icon:AB}),keywords:LB,supports:NB,attributes:xB,edit:CB,save:function(){return null}};const jB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Label","woolentor"),value:t.buttonLabel,placeholder:(0,de.__)("Logout","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnColor,onChange:function(e){return o({logoutBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnBGColor,onChange:function(e){return o({logoutBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.logoutBtnSize,fallbackFontSize:t.logoutBtnSize,onChange:function(e){return o({logoutBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.logoutBtnBorderType,options:ln,onChange:function(e){return o({logoutBtnBorderType:e})}}),t.logoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.logoutBtnBorderWidth,attributesKey:"logoutBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnBorderColor,onChange:function(e){return o({logoutBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.logoutBtnBorderRadius,attributesKey:"logoutBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.logoutBtnPadding,attributesKey:"logoutBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"logoutAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnHoverColor,onChange:function(e){return o({logoutBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnHoverBGColor,onChange:function(e){return o({logoutBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnHoverBorderColor,onChange:function(e){return o({logoutBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function IB(e){return IB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},IB(e)}function MB(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,FB(r.key),r)}}function FB(e){var t=function(e,t){if("object"!=IB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=IB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==IB(t)?t:String(t)}function HB(e,t,o){return t=qB(t),function(e,t){if(t&&("object"===IB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,DB()?Reflect.construct(t,o||[],qB(e).constructor):t.apply(e,o))}function DB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(DB=function(){return!!e})()}function qB(e){return qB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qB(e)}function GB(e,t){return GB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},GB(e,t)}var KB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),HB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&GB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=FB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-logout","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(jB,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&MB(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const UB=KB,QB=JSON.parse('{"name":"woolentor/my-account-logout","category":"woolentor-myaccount","title":"WL: My Account Logout","description":"Display My Account logout.","keywords":["woolentor","My Account","Account","Account logout","logout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonLabel":{"type":"string"},"logoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { color: {{logoutBtnColor}}; }"}},"logoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { background-color: {{logoutBtnBGColor}}; }"}},"logoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { font-size: {{logoutBtnSize}}; }"}},"logoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-style: {{logoutBtnBorderType}} !important; }"}},"logoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-width: {{logoutBtnBorderWidth}} !important; }"}},"logoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-color: {{logoutBtnBorderColor}} !important; }"}},"logoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-radius: {{logoutBtnBorderRadius}} !important; }"}},"logoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { padding: {{logoutBtnPadding}}; }"}},"logoutAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout{ text-align: {{logoutAlignment}}; }"}},"logoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover{ color: {{logoutBtnHoverColor}}; }"}},"logoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { background-color: {{logoutBtnHoverBGColor}}; }"}},"logoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { border-color: {{logoutBtnHoverBorderColor}} !important; }"}}}}'),VB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M15.325 16.275q-.275-.325-.275-.738q0-.412.275-.687l1.85-1.85H10q-.425 0-.712-.288Q9 12.425 9 12t.288-.713Q9.575 11 10 11h7.175l-1.85-1.85q-.3-.3-.3-.712q0-.413.3-.713q.275-.3.688-.3q.412 0 .687.275l3.6 3.6q.15.15.213.325q.062.175.062.375t-.062.375q-.063.175-.213.325l-3.6 3.6q-.325.325-.712.287q-.388-.037-.663-.312ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h6q.425 0 .713.287Q12 3.575 12 4t-.287.712Q11.425 5 11 5H5v14h6q.425 0 .713.288q.287.287.287.712t-.287.712Q11.425 21 11 21Z"}));var YB=QB.name,ZB=QB.title,JB=QB.description,XB=QB.category,$B=QB.attributes,eA=QB.keywords,tA=QB.supports,oA={title:(0,de.__)(ZB,"woolentor"),description:(0,de.__)(JB,"woolentor"),icon:React.createElement(me.Icon,{icon:VB}),keywords:eA,supports:tA,attributes:$B,edit:UB,save:function(){return null}};const rA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Email Box Label","woolentor"),value:t.emailBoxLabel,placeholder:(0,de.__)("Username or email","woolentor"),onChange:function(e){return o({emailBoxLabel:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Reset Button Label","woolentor"),value:t.resetButtonLabel,placeholder:(0,de.__)("Reset password","woolentor"),onChange:function(e){return o({resetButtonLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function nA(e){return nA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nA(e)}function aA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lA(r.key),r)}}function lA(e){var t=function(e,t){if("object"!=nA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nA(t)?t:String(t)}function iA(e,t,o){return t=sA(t),function(e,t){if(t&&("object"===nA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cA()?Reflect.construct(t,o||[],sA(e).constructor):t.apply(e,o))}function cA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cA=function(){return!!e})()}function sA(e){return sA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sA(e)}function uA(e,t){return uA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uA(e,t)}var dA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),iA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=lA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-lost-password","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(rA,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{emailBoxLabel:t.emailBoxLabel,resetButtonLabel:t.resetButtonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&aA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const mA=dA,pA=JSON.parse('{"name":"woolentor/my-account-lost-password","category":"woolentor-myaccount","title":"WL: My Account Lost Password Form","description":"Display My Account Lost Password Form.","keywords":["woolentor","My Account Lost","Lost Password","Account Lost","Password Lost","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"emailBoxLabel":{"type":"string"},"resetButtonLabel":{"type":"string"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),gA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h16q.825 0 1.413.588Q22 5.175 22 6v4h-2V8l-8 5l-8-5v10h12v2Zm8-9l8-5H4Zm-8 7V6v12Zm15 2q-.425 0-.712-.288Q18 19.425 18 19v-3q0-.425.288-.713Q18.575 15 19 15v-1q0-.825.587-1.413Q20.175 12 21 12q.825 0 1.413.587Q23 13.175 23 14v1q.425 0 .712.287q.288.288.288.713v3q0 .425-.288.712Q23.425 20 23 20Zm1-5h2v-1q0-.425-.288-.713Q21.425 13 21 13t-.712.287Q20 13.575 20 14Z"}));var fA=pA.name,bA=pA.title,yA=pA.description,RA=pA.category,_A=pA.attributes,wA=pA.keywords,hA=pA.supports,EA={title:(0,de.__)(bA,"woolentor"),description:(0,de.__)(yA,"woolentor"),icon:React.createElement(me.Icon,{icon:gA}),keywords:wA,supports:hA,attributes:_A,edit:mA,save:function(){return null}};const vA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.ToggleControl,{label:(0,de.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,de.__)("Show User Info.","woolentor"):(0,de.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Xo,{title:(0,de.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"})))),React.createElement(xt,null,t.userInfo&&React.createElement(Yt,{title:(0,de.__)("User Info","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Text Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,de.__)("Link Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(fo,{label:(0,de.__)("Image","woolentor")}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.userImageBorderType,options:ln,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Navigation","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,de.__)("Horizontal","woolentor"),value:"horizontal"},{label:(0,de.__)("Vertical","woolentor"),value:"vertical"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(me.RangeControl,{label:(0,de.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(qt,{name:"navigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.menuBorderType,options:ln,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function OA(e){return OA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OA(e)}function PA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,CA(r.key),r)}}function CA(e){var t=function(e,t){if("object"!=OA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=OA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==OA(t)?t:String(t)}function BA(e,t,o){return t=SA(t),function(e,t){if(t&&("object"===OA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,AA()?Reflect.construct(t,o||[],SA(e).constructor):t.apply(e,o))}function AA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(AA=function(){return!!e})()}function SA(e){return SA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},SA(e)}function WA(e,t){return WA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},WA(e,t)}var kA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),BA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&WA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=CA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-navigation","woolentor_block_my_account_navigation","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(vA,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&PA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const TA=kA,xA=JSON.parse('{"name":"woolentor/my-account-navigation","category":"woolentor-myaccount","title":"WL: My Account Navigation","description":"Display My Account Menu.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu","My Account Navigation"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":false},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}}}}'),LA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M3 18v-2h18v2Zm0-5v-2h18v2Zm0-5V6h18v2Z"}));var NA=xA.name,zA=xA.title,jA=xA.description,IA=xA.category,MA=xA.attributes,FA=xA.keywords,HA=xA.supports,DA={title:(0,de.__)(zA,"woolentor"),description:(0,de.__)(jA,"woolentor"),icon:React.createElement(me.Icon,{icon:LA}),keywords:FA,supports:HA,attributes:MA,edit:TA,save:function(){return null}};const qA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Table Cell","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellColor,onChange:function(e){return o({tableCellColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellLinkColor,onChange:function(e){return o({tableCellLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellLinkHoverColor,onChange:function(e){return o({tableCellLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBGColor,onChange:function(e){return o({tableCellBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableCellSize,fallbackFontSize:t.tableCellSize,onChange:function(e){return o({tableCellSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Action Button","woolentor"),initialOpen:!1},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor"),initialOpen:!1},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor"),initialOpen:!1},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function GA(e){return GA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GA(e)}function KA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,UA(r.key),r)}}function UA(e){var t=function(e,t){if("object"!=GA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=GA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==GA(t)?t:String(t)}function QA(e,t,o){return t=YA(t),function(e,t){if(t&&("object"===GA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,VA()?Reflect.construct(t,o||[],YA(e).constructor):t.apply(e,o))}function VA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VA=function(){return!!e})()}function YA(e){return YA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YA(e)}function ZA(e,t){return ZA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZA(e,t)}var JA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),QA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=UA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-order","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(qA,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&KA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const XA=JA,$A=JSON.parse('{"name":"woolentor/my-account-order","category":"woolentor-myaccount","title":"WL: My Account Order","description":"Display My Account Order.","keywords":["woolentor","My Account","Account","Account order","Order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { color: {{headingColor}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { background-color: {{headingBGColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { font-size: {{headingSize}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { padding: {{headingPadding}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-style: {{headingBorderType}}!important; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-width: {{headingBorderWidth}}!important; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-color: {{headingBorderColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { text-align: {{headingAlignment}}; }"}},"tableCellColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { color: {{tableCellColor}}; }"}},"tableCellLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a { color: {{tableCellLinkColor}}; }"}},"tableCellLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a:hover { color: {{tableCellLinkHoverColor}}; }"}},"tableCellBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { background-color: {{tableCellBGColor}}; }"}},"tableCellSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { font-size: {{tableCellSize}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-color: {{tableCellBorderColor}}!important; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { text-align: {{tableCellAlignment}}; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),eS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var tS=$A.name,oS=$A.title,rS=$A.description,nS=$A.category,aS=$A.attributes,lS=$A.keywords,iS=$A.supports,cS={title:(0,de.__)(oS,"woolentor"),description:(0,de.__)(rS,"woolentor"),icon:React.createElement(me.Icon,{icon:eS}),keywords:lS,supports:iS,attributes:aS,edit:XA,save:function(){return null}};const sS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Heading","woolentor"),value:t.heading,placeholder:(0,de.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(xt,null,t.heading&&React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function uS(e){return uS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uS(e)}function dS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mS(r.key),r)}}function mS(e){var t=function(e,t){if("object"!=uS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=uS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uS(t)?t:String(t)}function pS(e,t,o){return t=fS(t),function(e,t){if(t&&("object"===uS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gS()?Reflect.construct(t,o||[],fS(e).constructor):t.apply(e,o))}function gS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gS=function(){return!!e})()}function fS(e){return fS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fS(e)}function bS(e,t){return bS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bS(e,t)}var yS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=mS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-register-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(sS,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&dS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const RS=yS,_S=JSON.parse('{"name":"woolentor/my-account-register-form","category":"woolentor-myaccount","title":"WL: My Account Register Form","description":"Display My Account Register Form.","keywords":["woolentor","My Account","Account","Account register","Register Form","register"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Register"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .woocommerce-FormRow { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),wS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 15h6v2h-6v-2M9 7H7v2h2V7m2 6h6v-2h-6v2m0-4h6V7h-6v2m-2 2H7v2h2v-2m12-6v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-2 0H5v14h14V5M9 15H7v2h2v-2Z"}));var hS=_S.name,ES=_S.title,vS=_S.description,OS=_S.category,PS=_S.attributes,CS=_S.keywords,BS=_S.supports,AS={title:(0,de.__)(ES,"woolentor"),description:(0,de.__)(vS,"woolentor"),icon:React.createElement(me.Icon,{icon:wS}),keywords:CS,supports:BS,attributes:PS,edit:RS,save:function(){return null}};const SS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("New Password Box Label","woolentor"),value:t.newPasswordBoxLabel,placeholder:(0,de.__)("New Password","woolentor"),onChange:function(e){return o({newPasswordBoxLabel:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Re-Enter New Password Box Label","woolentor"),value:t.confirmPasswordBoxLabel,placeholder:(0,de.__)("Re-enter new password","woolentor"),onChange:function(e){return o({confirmPasswordBoxLabel:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Button Label","woolentor"),value:t.buttonLabel,placeholder:(0,de.__)("Save","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.inputBoxLayout,options:[{label:(0,de.__)("Inline","woolentor"),value:"inline"},{label:(0,de.__)("Block","woolentor"),value:"block"}],onChange:function(e){return o({inputBoxLayout:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function WS(e){return WS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WS(e)}function kS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TS(r.key),r)}}function TS(e){var t=function(e,t){if("object"!=WS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=WS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WS(t)?t:String(t)}function xS(e,t,o){return t=NS(t),function(e,t){if(t&&("object"===WS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,LS()?Reflect.construct(t,o||[],NS(e).constructor):t.apply(e,o))}function LS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(LS=function(){return!!e})()}function NS(e){return NS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},NS(e)}function zS(e,t){return zS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zS(e,t)}var jS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=TS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-reset-password","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(SS,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{newPasswordBoxLabel:t.newPasswordBoxLabel,confirmPasswordBoxLabel:t.confirmPasswordBoxLabel,inputBoxLayout:t.inputBoxLayout,buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&kS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const IS=jS,MS=JSON.parse('{"name":"woolentor/my-account-reset-password","category":"woolentor-myaccount","title":"WL: My Account Reset Password Form","description":"Display My Account Reset Password Form.","keywords":["woolentor","My Account Lost","Reset Password","Account Reset","Password Reset","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"newPasswordBoxLabel":{"type":"string","default":"New Password"},"confirmPasswordBoxLabel":{"type":"string","default":"Re-enter new password"},"buttonLabel":{"type":"string","default":"Save"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxLayout":{"type":"string","default":"inline"},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),FS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M13 21q-1.85 0-3.462-.688q-1.613-.687-2.838-1.887L8.125 17q.95.925 2.2 1.462Q11.575 19 13 19q2.9 0 4.95-2.05Q20 14.9 20 12q0-2.9-2.05-4.95Q15.9 5 13 5q-2.9 0-4.95 2.05Q6 9.1 6 12v.175l1.825-1.825l1.425 1.4L5 16L.75 11.75l1.425-1.4L4 12.2V12q0-1.875.713-3.513q.712-1.637 1.925-2.85q1.212-1.212 2.85-1.925Q11.125 3 13 3t3.513.712q1.637.713 2.85 1.925q1.212 1.213 1.925 2.85Q22 10.125 22 12q0 3.75-2.625 6.375T13 21Zm-2-5q-.425 0-.712-.288Q10 15.425 10 15v-3q0-.425.288-.713Q10.575 11 11 11v-1q0-.825.588-1.413Q12.175 8 13 8t1.413.587Q15 9.175 15 10v1q.425 0 .713.287q.287.288.287.713v3q0 .425-.287.712Q15.425 16 15 16Zm1-5h2v-1q0-.425-.287-.713Q13.425 9 13 9t-.712.287Q12 9.575 12 10Z"}));var HS=MS.name,DS=MS.title,qS=MS.description,GS=MS.category,KS=MS.attributes,US=MS.keywords,QS=MS.supports,VS={title:(0,de.__)(DS,"woolentor"),description:(0,de.__)(qS,"woolentor"),icon:React.createElement(me.Icon,{icon:FS}),keywords:US,supports:QS,attributes:KS,edit:IS,save:function(){return null}};const YS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Address","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ZS(e){return ZS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ZS(e)}function JS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XS(r.key),r)}}function XS(e){var t=function(e,t){if("object"!=ZS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ZS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ZS(t)?t:String(t)}function $S(e,t,o){return t=tW(t),function(e,t){if(t&&("object"===ZS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,eW()?Reflect.construct(t,o||[],tW(e).constructor):t.apply(e,o))}function eW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(eW=function(){return!!e})()}function tW(e){return tW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tW(e)}function oW(e,t){return oW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oW(e,t)}var rW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$S(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=XS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-address-details","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(YS,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&JS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const nW=rW,aW=JSON.parse('{"name":"woolentor/thankyou-address-details","category":"woolentor-checkout","title":"WL: Address Details","description":"Display Customer Address Details.","keywords":["woolentor","Thank you","Address","Customer Address","Order address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { background-color: {{headingBGColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { text-align: {{headingAlignment}}; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}!important; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}!important; }"}}}}'),lW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 1v3h3v2h-3v3h-2V6h-3V4h3V1h2zm-8 12c-1.1 0-2-.9-2-2s.9-2 2-2s2 .9 2 2s-.9 2-2 2zm1-9.94v2.02A6.53 6.53 0 0 0 12 5c-3.35 0-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14c4.05-3.7 6-6.79 6-9.14V11h2v.2c0 3.32-2.67 7.25-8 11.8c-5.33-4.55-8-8.48-8-11.8C4 6.22 7.8 3 12 3c.34 0 .67.02 1 .06z"}));var iW=aW.name,cW=aW.title,sW=aW.description,uW=aW.category,dW=aW.attributes,mW=aW.keywords,pW=aW.supports,gW={title:(0,de.__)(cW,"woolentor"),description:(0,de.__)(sW,"woolentor"),icon:React.createElement(me.Icon,{icon:lW}),keywords:mW,supports:pW,attributes:dW,edit:nW,save:function(){return null}};const fW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextareaControl,{label:(0,de.__)("Thank you message","woolentor"),value:t.thankyoumessage,onChange:function(e){return o({thankyoumessage:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Message","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thankMessageColor,onChange:function(e){return o({thankMessageColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.thankMessageSize,fallbackFontSize:t.thankMessageSize,onChange:function(e){return o({thankMessageSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.thankMessageMargin,attributesKey:"thankMessageMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Bottom Message Margin","woolentor"),dimensions:t.thankBottomMessageMargin,attributesKey:"thankBottomMessageMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"thankMessageAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Order Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Order Details","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.orderInfoColor,onChange:function(e){return o({orderInfoColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.orderInfoSize,fallbackFontSize:t.orderInfoSize,onChange:function(e){return o({orderInfoSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"orderInfoAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.orderInfoMargin,attributesKey:"orderInfoMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function bW(e){return bW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bW(e)}function yW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,RW(r.key),r)}}function RW(e){var t=function(e,t){if("object"!=bW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bW(t)?t:String(t)}function _W(e,t,o){return t=hW(t),function(e,t){if(t&&("object"===bW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wW()?Reflect.construct(t,o||[],hW(e).constructor):t.apply(e,o))}function wW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wW=function(){return!!e})()}function hW(e){return hW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hW(e)}function EW(e,t){return EW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},EW(e,t)}var vW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_W(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&EW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=RW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(fW,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{thankyoumessage:t.thankyoumessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&yW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const OW=vW,PW=JSON.parse('{"name":"woolentor/thankyou-order","category":"woolentor-checkout","title":"WL: Thank You Order","description":"Display order information.","keywords":["woolentor","Thank you order","Order information","Thank you order","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"thankyoumessage":{"type":"string","default":"Thank you. Your order has been received."},"thankMessageColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ color: {{thankMessageColor}}; }"}},"thankMessageSize":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ font-size: {{thankMessageSize}}; }"}},"thankMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received { margin: {{thankMessageMargin}}; }"}},"thankBottomMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p { margin: {{thankBottomMessageMargin}}; }"}},"thankMessageAlignment":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ text-align: {{thankMessageAlignment}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { margin: {{labelMargin}}; }"}},"orderInfoColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { color: {{orderInfoColor}}; }"}},"orderInfoSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { font-size: {{orderInfoSize}}; }"}},"orderInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { text-align: {{orderInfoAlignment}}; }"}},"orderInfoMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { margin: {{orderInfoMargin}}; }"}}}}'),CW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 21H5q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h15q.825 0 1.413.587Q22 4.175 22 5v14q0 .825-.587 1.413Q20.825 21 20 21ZM5 8h15V5H5Zm3 2H5v9h3Zm9 0v9h3v-9Zm-2 0h-5v9h5Z"}));var BW=PW.name,AW=PW.title,SW=PW.description,WW=PW.category,kW=PW.attributes,TW=PW.keywords,xW=PW.supports,LW={title:(0,de.__)(AW,"woolentor"),description:(0,de.__)(SW,"woolentor"),icon:React.createElement(me.Icon,{icon:CW}),keywords:TW,supports:xW,attributes:kW,edit:OW,save:function(){return null}};const NW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Table","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingBGColor,onChange:function(e){return o({tableHeadingBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingFontSize,fallbackFontSize:t.tableHeadingFontSize,onChange:function(e){return o({tableHeadingFontSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableHeadingPadding,attributesKey:"tableHeadingPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableHeadingAlignment",justified:!0}),React.createElement(fo,{label:(0,de.__)("Content","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentFontSize,fallbackFontSize:t.tableContentFontSize,onChange:function(e){return o({tableContentFontSize:e})}}),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentLinkColor,onChange:function(e){return o({tableContentLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentLinkHoverColor,onChange:function(e){return o({tableContentLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentBorderColor,onChange:function(e){return o({tableContentBorderColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableContentAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function zW(e){return zW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zW(e)}function jW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,IW(r.key),r)}}function IW(e){var t=function(e,t){if("object"!=zW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zW(t)?t:String(t)}function MW(e,t,o){return t=HW(t),function(e,t){if(t&&("object"===zW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,FW()?Reflect.construct(t,o||[],HW(e).constructor):t.apply(e,o))}function FW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(FW=function(){return!!e})()}function HW(e){return HW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},HW(e)}function DW(e,t){return DW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DW(e,t)}var qW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),MW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=IW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order-details","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(NW,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&jW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const GW=qW,KW=JSON.parse('{"name":"woolentor/thankyou-order-details","category":"woolentor-checkout","title":"WL: Order Details","description":"Display Customer Order Details.","keywords":["woolentor","Thank you","order","Customer order","Order details"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { background-color: {{headingBGColor}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { text-align: {{headingAlignment}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { color: {{tableHeadingColor}}; }"}},"tableHeadingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td{ background-color: {{tableHeadingBGColor}}; }"}},"tableHeadingFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { font-size: {{tableHeadingFontSize}}; }"}},"tableHeadingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { padding: {{tableHeadingPadding}}; }"}},"tableHeadingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { text-align: {{tableHeadingAlignment}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { color: {{tableContentColor}}; }"}},"tableContentFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { font-size: {{tableContentFontSize}}; }"}},"tableContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td strong { color: {{tableContentLinkColor}}; }"}},"tableContentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a:hover { color: {{tableContentLinkHoverColor}}; }"}},"tableContentBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { border-color: {{tableContentBorderColor}}!important; }"}},"tableContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { text-align: {{tableContentAlignment}}; }"}}}}'),UW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var QW=KW.name,VW=KW.title,YW=KW.description,ZW=KW.category,JW=KW.attributes,XW=KW.keywords,$W=KW.supports,ek={title:(0,de.__)(VW,"woolentor"),description:(0,de.__)(YW,"woolentor"),icon:React.createElement(me.Icon,{icon:UW}),keywords:XW,supports:$W,attributes:JW,edit:GW,save:function(){return null}};const tk=function(e){var t=e.attributes,o=e.setAttributes;return t.titleTag,React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Button Text","woolentor"),placeholder:(0,de.__)("Close","woolentor"),value:t.buttonText,onChange:function(e){return o({buttonText:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Action","woolentor"),value:t.action,options:[{label:(0,de.__)("Close Popup","woolentor"),value:"close_popup"},{label:(0,de.__)("Close and Back To Previous Page","woolentor"),value:"go_back_to_previous_page"}],onChange:function(e){return o({action:e})}}),"close_popup"===t.action&&React.createElement(me.TextControl,{label:(0,de.__)("Redirect URL","woolentor"),placeholder:(0,de.__)("https://yourdomain.com/sample-page/","woolentor"),value:t.redirectUrl,onChange:function(e){return o({redirectUrl:e})},help:(0,de.__)("Enter the URL where you want to redirect after closing the popup.","woolentor")}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"alignment",justified:!1}),React.createElement(Wr,{label:(0,de.__)("Button Icon","woolentor"),onReset:function(){return o({buttonIcon:""})},value:t.buttonIcon,onChange:function(e){return o({buttonIcon:e})}}),t.buttonIcon&&React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Icon Position","woolentor"),value:t.iconPosition,options:[{label:(0,de.__)("Before","woolentor"),value:"left"},{label:(0,de.__)("After","woolentor"),value:"right"}],onChange:function(e){return o({iconPosition:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Button","woolentor"),initialOpen:!0},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.backgroundColor,onChange:function(e){return o({backgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.fontSize,fallbackFontSize:t.fontSize,onChange:function(e){return o({fontSize:e})}}),React.createElement(jr,{value:t.buttonBorder,onChange:function(e){return o({buttonBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.borderRadius,attributesKey:"borderRadius",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverBackgroundColor,onChange:function(e){return o({hoverBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverTextBorderColor,onChange:function(e){return o({hoverTextBorderColor:e})}}))))),t.buttonIcon&&React.createElement(Yt,{title:(0,de.__)("Icon","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.iconBackgroundColor,onChange:function(e){return o({iconBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.iconColor,onChange:function(e){return o({iconColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.iconFontSize,fallbackFontSize:t.iconFontSize,onChange:function(e){return o({iconFontSize:e})}}),React.createElement(jr,{value:t.iconBorder,onChange:function(e){return o({iconBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.iconBorderRadius,attributesKey:"iconBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.iconPadding,attributesKey:"iconPadding",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ok(e){return ok="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ok(e)}function rk(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nk(r.key),r)}}function nk(e){var t=function(e,t){if("object"!=ok(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ok(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ok(t)?t:String(t)}function ak(e,t,o){return t=ik(t),function(e,t){if(t&&("object"===ok(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lk()?Reflect.construct(t,o||[],ik(e).constructor):t.apply(e,o))}function lk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lk=function(){return!!e})()}function ik(e){return ik=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ik(e)}function ck(e,t){return ck=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ck(e,t)}var sk=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ak(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ck(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=nk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-popup-close-button-area","woolentorblock-".concat(i)),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(tk,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{buttonText:o.buttonText,buttonIcon:o.buttonIcon,iconPosition:o.iconPosition,alignment:o.alignment},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},".wlpb-trigger-button-wrapper {display: block;margin: 0;padding: 0;width: 100%;}.wlpb-trigger-button {background-color: #0073e6;color: #fff;border: none;border-radius: 5px;padding: 7px 20px;cursor: pointer;transition: background-color 0.3s ease;display: inline-flex;justify-content: center;align-items: center;}.wlpb-trigger-button-align-left {text-align: left;}.wlpb-trigger-button-align-center {text-align: center;}.wlpb-trigger-button-align-right{text-align: right;}.wlpb-trigger-button:hover {background-color: #0059b3;}.wlpb-trigger-button-icon {margin-right: 5px;}.wlpb-trigger-button-button-left {text-align: left;}.wlpb-trigger-button-button-center {text-align: center;}.wlpb-trigger-button-button-right {text-align: right;}"),m)}}],r&&rk(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const uk=sk,dk=JSON.parse('{"name":"woolentor/popup-close-trigger-button","category":"woolentor-blocks","title":"WL: Popup Close Trigger Button","description":"Display close button for popup builder template","keywords":["woolentor","popup","close","button"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":"Close"},"action":{"type":"string","default":"close_popup"},"redirectUrl":{"type":"string"},"buttonIcon":{"type":"string"},"alignment":{"type":"string","default":"center"},"iconPosition":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button { gap: {{iconSpecing}}px; }"}},"backgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ background-color:{{backgroundColor}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ color:{{textColor}}; }"}},"fontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ font-size:{{fontSize}}; }"}},"borderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ border-radius:{{borderRadius}}; }"}},"buttonBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button"}},"hoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover{ background-color:{{hoverBackgroundColor}}; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ color:{{hoverTextColor}}; }"}},"hoverTextBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ border-color:{{hoverTextBorderColor}}; }"}},"iconBackgroundColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ background-color:{{iconBackgroundColor}}; }"}},"iconColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ color:{{iconColor}}; }"}},"iconFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ font-size:{{iconFontSize}}; }"}},"iconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ border-radius:{{iconBorderRadius}}; }"}},"iconBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i"}},"iconPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ padding:{{iconPadding}}; }"}}}}'),mk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11.7 18q-2.4-.125-4.05-1.85T6 12q0-2.5 1.75-4.25T12 6q2.425 0 4.15 1.65T18 11.7l-2.1-.625q-.325-1.35-1.4-2.212T12 8q-1.65 0-2.825 1.175T8 12q0 1.425.863 2.5t2.212 1.4L11.7 18Zm8.825 4.5l-4.275-4.275L15 22l-3-10l10 3l-3.775 1.25l4.275 4.275l-1.975 1.975Z"}));var pk=dk.name,gk=dk.category,fk=dk.title,bk=dk.description,yk=dk.keywords,Rk=dk.attributes,_k={title:(0,de.__)(fk,"woolentor"),description:(0,de.__)(bk,"woolentor"),icon:React.createElement(me.Icon,{icon:mk}),keywords:yk,example:{attributes:{buttonText:(0,de.__)("Close Popup","woolentor")}},attributes:Rk,edit:uk,save:function(){return null}};const wk=JSON.parse('{"name":"woolentor/currency-switcher","category":"woolentor-blocks","title":"WL : Currency Switcher","description":"Display currency list added from Module.","keywords":["woolentor","currency","multi currency","WooCommerce currency"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"currencyStyle":{"type":"string","default":"dropdown"},"showFlags":{"type":"boolean","default":true},"flagStyle":{"type":"string","default":"circle"},"currencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ color:{{currencyColor}}; }"}},"currencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ font-size:{{currencySize}}; }"}},"currencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li + li"}},"currencyPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li{ padding:{{currencyPadding}}; }"}},"currencyHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ color:{{currencyHoverColor}}; }"}},"currencyHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ background-color:{{currencyHoverBgColor}}; }"}},"currenctCurrencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ color:{{currenctCurrencyColor}}; }"}},"currenctCurrencyBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ background-color:{{currenctCurrencyBGColor}}; }","dependency":[[{"key":"currencyStyle","condition":"==","value":"list"}]]}},"currenctCurrencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ font-size:{{currenctCurrencySize}}; }"}},"currenctCurrencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency"}},"dropdownArrowColor":{"type":"string","style":{"dependency":[[{"key":"currencyStyle","condition":"==","value":"dropdown"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown-arrow::after{ color:{{dropdownArrowColor}}; }"}}}}'),hk=function(e){var t=e.attributes,o=e.setAttributes,r=t.currencyStyle,n=t.showFlags,a=t.flagStyle;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:r,options:[{label:(0,de.__)("Dropdown","woolentor"),value:"dropdown"},{label:(0,de.__)("List","woolentor"),value:"list"}],onChange:function(e){return o({currencyStyle:e})}}),1==woolentorData.prostatus&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(co,{label:(0,de.__)("Show Currency flags ?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({showFlags:!n})}})),n&&React.createElement(me.SelectControl,{label:(0,de.__)("Flag Style","woolentor"),value:a,options:[{label:(0,de.__)("Circle","woolentor"),value:"circle"},{label:(0,de.__)("Square","woolentor"),value:"square"}],onChange:function(e){return o({flagStyle:e})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Currency","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currencyColor,onChange:function(e){return o({currencyColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currencySize,fallbackFontSize:t.currencySize,onChange:function(e){return o({currencySize:e})}}),React.createElement(jr,{value:t.currencyBorder,onChange:function(e){return o({currencyBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.currencyPadding,attributesKey:"currencyPadding",setAttributes:o,responsive:!0}),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currencyHoverColor,onChange:function(e){return o({currencyHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currencyHoverBgColor,onChange:function(e){return o({currencyHoverBgColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Current Currency","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currenctCurrencyColor,onChange:function(e){return o({currenctCurrencyColor:e})}})),"list"===r&&React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currenctCurrencyBGColor,onChange:function(e){return o({currenctCurrencyBGColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currenctCurrencySize,fallbackFontSize:t.currenctCurrencySize,onChange:function(e){return o({currenctCurrencySize:e})}}),React.createElement(jr,{value:t.currenctCurrencyBorder,onChange:function(e){return o({currenctCurrencyBorder:e})}}),"dropdown"===r&&React.createElement(co,{label:(0,de.__)("Arrow Color","woolentor")},React.createElement(me.ColorPalette,{value:t.dropdownArrowColor,onChange:function(e){return o({dropdownArrowColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ek(e){return Ek="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ek(e)}function vk(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ok(r.key),r)}}function Ok(e){var t=function(e,t){if("object"!=Ek(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ek(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ek(t)?t:String(t)}function Pk(e,t,o){return t=Bk(t),function(e,t){if(t&&("object"===Ek(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ck()?Reflect.construct(t,o||[],Bk(e).constructor):t.apply(e,o))}function Ck(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ck=function(){return!!e})()}function Bk(e){return Bk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bk(e)}function Ak(e,t){return Ak=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ak(e,t)}var Sk=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pk(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ak(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;o.areaBGProperty,""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Ok(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-currency-switcher-area"),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(hk,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{blockUniqId:i,currencyStyle:o.currencyStyle,showFlags:o.showFlags,flagStyle:o.flagStyle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&vk(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Wk=Sk,kk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23q-2.8 0-5.15-1.275T3 18.325V21H1v-6h6v2H4.525q1.2 1.8 3.163 2.9T12 21q1.875 0 3.513-.712t2.85-1.925q1.212-1.213 1.925-2.85T21 12h2q0 2.275-.862 4.275t-2.363 3.5q-1.5 1.5-3.5 2.363T12 23m-.9-4v-1.3q-1.175-.275-1.912-1.012T8.1 14.75l1.65-.65q.3 1.025.938 1.538t1.462.512q.825 0 1.413-.387t.587-1.213q0-.725-.612-1.175T11.35 12.35q-1.475-.525-2.162-1.25T8.5 9.2q0-1.025.713-1.862T11.15 6.25V5h1.75v1.25q.9.075 1.638.725T15.55 8.5l-1.6.65q-.2-.575-.65-.962T12.05 7.8q-.875 0-1.338.375T10.25 9.2q0 .65.575 1.025t2.075.875q1.8.65 2.4 1.525t.6 1.925q0 .725-.25 1.275t-.663.938q-.412.387-.962.624t-1.175.363V19zM1 12q0-2.275.863-4.275t2.362-3.5q1.5-1.5 3.5-2.362T12 1q2.8 0 5.15 1.275t3.85 3.4V3h2v6h-6V7h2.475q-1.2-1.8-3.162-2.9T12 3q-1.875 0-3.512.713t-2.85 1.924Q4.425 6.85 3.713 8.488T3 12z"}));var Tk=wk.name,xk=wk.category,Lk=wk.title,Nk=wk.description,zk=wk.keywords,jk=wk.attributes,Ik={title:(0,de.__)(Lk,"woolentor"),description:(0,de.__)(Nk,"woolentor"),icon:React.createElement(me.Icon,{icon:kk}),keywords:zk,example:{attributes:{title_tag:"h2"}},attributes:jk,edit:Wk,save:function(){return null}};const Mk=JSON.parse('{"name":"woolentor/order-bump","category":"woolentor-blocks","title":"WL : Order Bump","description":"Display order bump added from Module.","keywords":["woolentor","offer","order bump","WooCommerce order bump","WooCommerce checkout"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"selectedOrderBump":{"type":"string"},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ color:{{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ font-size:{{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ margin:{{titleMargin}}; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .price del .woocommerce-Price-amount, body {{WOOLENTOR_WRAPPER}} div.product .woolentor-order-bump-content span.price{ color:{{regularPriceColor}}; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .price del .woocommerce-Price-amount{ font-size:{{regularPriceSize}}; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .woocommerce-Price-amount{ color:{{salePriceColor}}; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .woocommerce-Price-amount{ font-size:{{salePriceSize}}; }"}},"priceMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price{ margin:{{priceMargin}}; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc,{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc p{ color:{{contentColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc{ font-size:{{contentSize}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc{ margin:{{contentMargin}}; }"}},"imageBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image img"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image img{ border-radius:{{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image{ margin:{{imageMargin}}; }"}},"grabDealBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .woolentor-order-bump-action{ background-color:{{grabDealBgColor}}; }"}},"grabDealLabelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-action .wl-checkbox-wrapper label{ color:{{grabDealLabelColor}}; }"}},"grabDealLabelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-action .wl-checkbox-wrapper label{ font-size:{{grabDealLabelSize}}; }"}},"grabDealAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .woolentor-order-bump-action{ padding:{{grabDealAreaPadding}}; }"}}}}');function Fk(e){return Fk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fk(e)}function Hk(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Dk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qk(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?qk(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qk(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Gk(e){return function(e){if(Array.isArray(e))return Kk(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Kk(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Kk(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kk(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Uk=function(e){var t,o,r,n,a,l,i,c,s,u,d,m,p,g,f=e.attributes,b=e.setAttributes,y=f.selectedOrderBump,R=f.titleSize,_=f.titleMargin,w=(r="/woolentor/v1/get-poslist",n={metaQuery:[{key:"woolentor_template_meta_type",value:"order-bump",compare:"="}]},a=Dk((0,qe.useState)(!1),2),l=a[0],i=a[1],c=Dk((0,qe.useState)(!0),2),s=c[0],u=c[1],d=Dk((0,qe.useState)([]),2),m=d[0],p=d[1],g=(0,qe.useCallback)((function(){var e=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hk(Object(o),!0).forEach((function(t){var r,n,a,l;r=e,n=t,a=o[t],l=function(e,t){if("object"!=Fk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Fk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==Fk(l)?l:String(l))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hk(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({wpnonce:woolentorData.security},n),t=(0,en.addQueryArgs)(r,e);Ke()({path:t}).then((function(e){u(!1),p(e)}),(function(e){u(!0),i(e)}))}),[r]),(0,qe.useEffect)((function(){return g()}),[g]),{data:m,isLoaded:s,isError:l}),h=w.data;return o=(null==h?void 0:h.length)>0&&h.map((function(e,t){return{value:e.id,label:e.title}})),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},(null===(t=o)||void 0===t?void 0:t.length)>0?React.createElement(me.SelectControl,{label:(0,de.__)("Select Order Bump","woolentor"),value:y,options:[{label:(0,de.__)("Select Order Bump","woolentor"),value:0}].concat(Gk(o)),onChange:function(e){return b({selectedOrderBump:e})}}):React.createElement(me.SelectControl,{label:(0,de.__)("Select Order Bump","woolentor"),value:0,options:[{label:(0,de.__)("Select Order Bump","woolentor"),value:0}]}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Product Title","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.titleColor,onChange:function(e){return b({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:R,fallbackFontSize:R,onChange:function(e){return b({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:_,attributesKey:"titleMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Product Price","woolentor"),initialOpen:!1},React.createElement(fo,{label:(0,de.__)("Regular Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.regularPriceColor,onChange:function(e){return b({regularPriceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.regularPriceSize,fallbackFontSize:f.regularPriceSize,onChange:function(e){return b({regularPriceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.salePriceColor,onChange:function(e){return b({salePriceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.salePriceSize,fallbackFontSize:f.salePriceSize,onChange:function(e){return b({salePriceSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:f.priceMargin,attributesKey:"priceMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Product Content","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.contentColor,onChange:function(e){return b({contentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.contentSize,fallbackFontSize:f.contentSize,onChange:function(e){return b({contentSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:f.contentMargin,attributesKey:"contentMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Product Image","woolentor"),initialOpen:!1},React.createElement(jr,{value:f.imageBorder,onChange:function(e){return b({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:f.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:b,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:f.imageMargin,attributesKey:"imageMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Grab Deal Button","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:f.grabDealBgColor,onChange:function(e){return b({grabDealBgColor:e})}})),React.createElement(co,{label:(0,de.__)("Label Color","woolentor")},React.createElement(me.ColorPalette,{value:f.grabDealLabelColor,onChange:function(e){return b({grabDealLabelColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.grabDealLabelSize,fallbackFontSize:f.grabDealLabelSize,onChange:function(e){return b({grabDealLabelSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:f.grabDealAreaPadding,attributesKey:"grabDealAreaPadding",setAttributes:b,responsive:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:f.areaPadding,attributesKey:"areaPadding",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:b,bgProperty:f.areaBGProperty}))))};function Qk(e){return Qk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qk(e)}function Vk(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Yk(r.key),r)}}function Yk(e){var t=function(e,t){if("object"!=Qk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qk(t)?t:String(t)}function Zk(e,t,o){return t=Xk(t),function(e,t){if(t&&("object"===Qk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Jk()?Reflect.construct(t,o||[],Xk(e).constructor):t.apply(e,o))}function Jk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Jk=function(){return!!e})()}function Xk(e){return Xk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xk(e)}function $k(e,t){return $k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$k(e,t)}var eT=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Zk(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$k(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;o.areaBGProperty,""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Yk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-order-bump-area"),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Uk,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{blockUniqId:i,selectedOrderBump:o.selectedOrderBump},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Vk(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const tT=eT,oT=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q1.625 0 3.075.475T17.75 3.8L16.3 5.275q-.95-.6-2.025-.937T12 4Q8.675 4 6.337 6.338T4 12q0 3.325 2.338 5.663T12 20q.8 0 1.55-.15t1.45-.425l1.5 1.525q-1.025.5-2.15.775T12 22m7-2v-3h-3v-2h3v-3h2v3h3v2h-3v3zm-8.4-3.4l-4.25-4.25l1.4-1.4l2.85 2.85l10-10.025l1.4 1.4z"}));var rT=Mk.name,nT=Mk.category,aT=Mk.title,lT=Mk.description,iT=Mk.keywords,cT=Mk.attributes,sT={title:(0,de.__)(aT,"woolentor"),description:(0,de.__)(lT,"woolentor"),icon:React.createElement(me.Icon,{icon:oT}),keywords:iT,example:{attributes:{title_tag:"h2"}},attributes:cT,edit:tT,save:function(){return null}};function uT(e){return uT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uT(e)}function dT(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}[u,s,d,p,i,g,t,n,l,c,e,a,r,m,f,W,E,y,B,_,O,w,R,h,b,S,C,A,v,P,k,T,L,N,z,j,x,M,G,I,F,H,q,D,K,$,Q,V,Y,U,ee,J,Z,te,X,oe,re,ae,ne,le,ie,ce].forEach((function(e){if(e){var t=e.name;if(t=t.replace("woolentor/",""),-1!=woolentorData.options.indexOf(t)){var o=e.name,r=e.category,n=e.settings;(0,se.registerBlockType)(o,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?dT(Object(o),!0).forEach((function(t){var r,n,a,l;r=e,n=t,a=o[t],l=function(e,t){if("object"!=uT(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=uT(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==uT(l)?l:String(l))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dT(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({category:r},n))}}})),function(e){var t=jQuery;""==e?Te():t("body").on("click",e,(function(e){Te()}))}(".components-button.editor-post-publish-button.editor-post-publish-button__button.is-primary,.block-editor-post-preview__dropdown button,.edit-site-save-button__button"),function(e){var t=jQuery;"cart"===e||"emptycart"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-cart woocommerce-page woocommerce-js"):"checkout"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-checkout woocommerce-page"):"myaccount"===e||"lostpassword"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-account woolentor_myaccount_page"):"thankyou"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-checkout woocommerce-js"):"single"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page single-product woocommerce-js"):"shop"!==e&&"archive"!==e||t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-shop woocommerce-js")}(woolentorData.templateType)})()})(); -
woolentor-addons/trunk/woolentor-blocks/includes/classes/Api/Api.php
r3037382 r3044764 1 1 <?php 2 2 namespace WooLentorBlocks\Api; 3 3 4 4 use Exception; 5 5 use WP_REST_Server; 6 6 7 7 // Exit if accessed directly. 8 if ( ! defined( 'ABSPATH' )) {9 exit;8 if (!defined('ABSPATH')) { 9 exit; 10 10 } 11 11 12 12 /** 13 13 * Load general WP action hook 14 14 */ 15 class Api { 15 class Api 16 { 16 17 17 18 public $namespace = ''; 18 19 19 /** 20 * The Constructor. 21 */ 22 public function __construct() { 23 $this->namespace = 'woolentor/v1'; 24 } 25 26 /** 27 * Resgister routes 28 */ 29 public function register_routes() { 30 31 register_rest_route( $this->namespace, 'category', 32 [ 33 'methods' => WP_REST_Server::READABLE, 34 'args' => [ 35 'querySlug' => [], 20 /** 21 * The Constructor. 22 */ 23 public function __construct() 24 { 25 $this->namespace = 'woolentor/v1'; 26 } 27 28 /** 29 * Resgister routes 30 */ 31 public function register_routes() 32 { 33 34 register_rest_route( 35 $this->namespace, 36 'category', 37 [ 38 'methods' => WP_REST_Server::READABLE, 39 'args' => [ 40 'querySlug' => [], 36 41 'queryLimit' => [], 37 42 'queryOrder' => [], 38 'queryType' => [], 39 'wpnonce' => [] 40 ], 41 'callback' => [ $this, 'get_category_data' ], 42 'permission_callback' => [ $this, 'permission_check' ], 43 ] 44 ); 45 46 register_rest_route( $this->namespace, 'products', 47 [ 48 'methods' => WP_REST_Server::READABLE, 49 'args' => [ 50 'perPage' => [], 51 'categories' => [], 52 'orderBy' => [], 53 'order' => [], 43 'queryType' => [], 44 'wpnonce' => [] 45 ], 46 'callback' => [$this, 'get_category_data'], 47 'permission_callback' => [$this, 'permission_check'], 48 ] 49 ); 50 51 register_rest_route( 52 $this->namespace, 53 'products', 54 [ 55 'methods' => WP_REST_Server::READABLE, 56 'args' => [ 57 'perPage' => [], 58 'categories' => [], 59 'orderBy' => [], 60 'order' => [], 54 61 'filterBy' => [], 55 'offset' => [],56 'include' => [],57 'exclude' => [],58 'wpnonce' => []59 ], 60 'callback' => [ $this, 'get_post_data'],62 'offset' => [], 63 'include' => [], 64 'exclude' => [], 65 'wpnonce' => [] 66 ], 67 'callback' => [$this, 'get_post_data'], 61 68 'permission_callback' => '__return_true' 62 69 ] 63 70 ); 64 71 65 register_rest_route( $this->namespace, 'sampledata/product', 66 [ 67 'methods' => WP_REST_Server::READABLE, 68 'args' => [ 69 'wpnonce' => [] 70 ], 71 'callback' => [ $this, 'get_last_product_data' ], 72 register_rest_route( 73 $this->namespace, 74 'sampledata/product', 75 [ 76 'methods' => WP_REST_Server::READABLE, 77 'args' => [ 78 'wpnonce' => [] 79 ], 80 'callback' => [$this, 'get_last_product_data'], 72 81 'permission_callback' => '__return_true' 73 82 ] 74 83 ); 75 84 76 85 // register_rest_route( $this->namespace, 'products/(?P<id>[\d]+)', 77 86 // [ 78 87 // 'methods' => WP_REST_Server::READABLE, 79 88 // 'args' => [ 80 89 // 'wpnonce' => [] 81 90 // ], 82 91 // 'callback' => [ $this, 'get_product_data' ], 83 92 // 'permission_callback' => '__return_true' 84 93 // ] 85 94 // ); 86 95 87 register_rest_route( $this->namespace, 'imagesizes', 88 [ 89 'methods' => WP_REST_Server::READABLE, 90 'args' => [ 91 'wpnonce' => [] 92 ], 93 'callback' => [ $this, 'get_image_sizes' ], 96 register_rest_route( 97 $this->namespace, 98 'imagesizes', 99 [ 100 'methods' => WP_REST_Server::READABLE, 101 'args' => [ 102 'wpnonce' => [] 103 ], 104 'callback' => [$this, 'get_image_sizes'], 94 105 'permission_callback' => '__return_true' 95 106 ] 96 107 ); 97 108 109 // Order Bump List 110 register_rest_route( 111 $this->namespace, 112 'get-poslist', 113 [ 114 'methods' => WP_REST_Server::READABLE, 115 'args' => [ 116 'postType' => [], 117 'perPage' => [], 118 'metaQuery' => [], 119 'wpnonce' => [] 120 ], 121 'callback' => [$this, 'get_post_list_data'], 122 'permission_callback' => [$this, 'permission_check'], 123 ] 124 ); 125 98 126 // Template Library 99 \WooLentorBlocks\Template_Library::instance()->register_routes( $this->namespace);127 \WooLentorBlocks\Template_Library::instance()->register_routes($this->namespace); 100 128 101 129 // CSS 102 \WooLentorBlocks\Manage_Styles::instance()->register_routes( $this->namespace);103 104 }130 \WooLentorBlocks\Manage_Styles::instance()->register_routes($this->namespace); 131 132 } 105 133 106 134 /** 107 135 * Api permission check 108 136 */ 109 public function permission_check() { 110 if( current_user_can( 'edit_posts' ) ){ 137 public function permission_check() 138 { 139 if (current_user_can('edit_posts')) { 111 140 return true; 112 } else{141 } else { 113 142 return false; 114 143 } 115 144 } 116 145 117 146 /** 118 147 * Get category data 119 148 */ 120 public function get_category_data( $request ){ 121 122 if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonce') ){ 149 public function get_category_data($request) 150 { 151 152 if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) { 123 153 return rest_ensure_response([]); 124 154 } 125 155 126 $data = woolentorBlocks_taxnomy_data( $request['querySlug'], $request['queryLimit'], $request['queryOrder'], $request['queryType']);127 return rest_ensure_response( $data);156 $data = woolentorBlocks_taxnomy_data($request['querySlug'], $request['queryLimit'], $request['queryOrder'], $request['queryType']); 157 return rest_ensure_response($data); 128 158 129 159 } 130 160 131 161 /** 132 162 * Get Image sizes data 133 163 */ 134 public function get_image_sizes( $request ){ 135 136 if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonce') ){ 164 public function get_image_sizes($request) 165 { 166 167 if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) { 137 168 return rest_ensure_response([]); 138 169 } 139 170 140 171 $data = woolentorBlocks_get_image_size(); 141 return rest_ensure_response( $data);172 return rest_ensure_response($data); 142 173 143 174 } 144 175 145 176 /** 146 177 * Get Post data 147 178 */ 148 public function get_post_data( $request ){ 149 150 if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonce') ){ 179 public function get_post_data($request) 180 { 181 182 if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) { 151 183 return rest_ensure_response([]); 152 184 } 153 185 154 186 $data = []; 155 $loop = new \WP_Query( woolentorBlocks_Product_Query( $request ));156 157 if ( $loop->have_posts() ){158 while ( $loop->have_posts()) {187 $loop = new \WP_Query(woolentorBlocks_Product_Query($request)); 188 189 if ($loop->have_posts()) { 190 while ($loop->have_posts()) { 159 191 $loop->the_post(); 160 161 $item = array();162 $product_id = get_the_ID();163 $product = wc_get_product( $product_id);164 $user_id = get_the_author_meta('ID');165 $item['id'] = $product_id;166 $item['time'] = get_the_date();167 $item['title'] = get_the_title();168 $item['permalink'] = get_permalink();169 $item['excerpt'] = strip_tags( get_the_excerpt());170 $item['content'] = strip_tags( get_the_content());171 $item['price_sale'] = $product->get_sale_price();172 $item['price_regular'] = $product->get_regular_price();173 $item['on_sale'] = $product->is_on_sale();174 $item['badge'] = [175 'sale_badge' => woolentor_sale_flash( 'default', false),176 ]; 177 $item['discount'] = ( $item['price_sale'] && $item['price_regular'] ) ? round( ( $item['price_regular'] - $item['price_sale'] ) / $item['price_regular'] * 100 ).'%' : '';178 $item['price_html'] = $product->get_price_html();179 $item['stock'] = $product->get_stock_status();180 $item['featured'] = $product->is_featured();181 $item['rating'] = [182 'count' => $product->get_rating_count(),183 'average' => $product->get_average_rating(),184 'html' => wc_get_rating_html( $product->get_average_rating(), $product->get_rating_count()),185 'html2' => woolentor_wc_get_rating_html('yes'),192 193 $item = array(); 194 $product_id = get_the_ID(); 195 $product = wc_get_product($product_id); 196 $user_id = get_the_author_meta('ID'); 197 $item['id'] = $product_id; 198 $item['time'] = get_the_date(); 199 $item['title'] = get_the_title(); 200 $item['permalink'] = get_permalink(); 201 $item['excerpt'] = strip_tags(get_the_excerpt()); 202 $item['content'] = strip_tags(get_the_content()); 203 $item['price_sale'] = $product->get_sale_price(); 204 $item['price_regular'] = $product->get_regular_price(); 205 $item['on_sale'] = $product->is_on_sale(); 206 $item['badge'] = [ 207 'sale_badge' => woolentor_sale_flash('default', false), 208 ]; 209 $item['discount'] = ($item['price_sale'] && $item['price_regular']) ? round(($item['price_regular'] - $item['price_sale']) / $item['price_regular'] * 100) . '%' : ''; 210 $item['price_html'] = $product->get_price_html(); 211 $item['stock'] = $product->get_stock_status(); 212 $item['featured'] = $product->is_featured(); 213 $item['rating'] = [ 214 'count' => $product->get_rating_count(), 215 'average' => $product->get_average_rating(), 216 'html' => wc_get_rating_html($product->get_average_rating(), $product->get_rating_count()), 217 'html2' => woolentor_wc_get_rating_html('yes'), 186 218 ]; 187 219 $cart_btn_class = $product->is_purchasable() && $product->is_in_stock() ? ' add_to_cart_button' : ''; 188 $cart_btn_class .= $product->supports( 'ajax_add_to_cart') && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : '';189 $item['addtocart'] = [190 'link' => $product->add_to_cart_url(),191 'text' => __('Add To Cart','woolentor'),192 'class' => $cart_btn_class,193 ]; 194 $item['wishlist'] = [220 $cart_btn_class .= $product->supports('ajax_add_to_cart') && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : ''; 221 $item['addtocart'] = [ 222 'link' => $product->add_to_cart_url(), 223 'text' => __('Add To Cart', 'woolentor'), 224 'class' => $cart_btn_class, 225 ]; 226 $item['wishlist'] = [ 195 227 'status' => woolentor_has_wishlist_plugin(), 196 'html' => woolentor_add_to_wishlist_button()197 ]; 198 $item['compare'] = [228 'html' => woolentor_add_to_wishlist_button() 229 ]; 230 $item['compare'] = [ 199 231 'status' => woolentor_exist_compare_plugin(), 200 'html' => woolentorBlocks_compare_button( array( 'style' => 2 )),201 'html2' => woolentorBlocks_compare_button( array( 'style' => 2, 'btn_text' => '<i class="fa fa-exchange"></i>', 'btn_added_txt' => '<i class="fa fa-exchange"></i>' )),202 ]; 203 204 $time = current_time('timestamp');205 $time_to = strtotime( $product->get_date_on_sale_to());206 $item['deal'] = ( $item['price_sale'] && $time_to > $time ) ? date( 'Y/m/d', $time_to) : '';232 'html' => woolentorBlocks_compare_button(array('style' => 2)), 233 'html2' => woolentorBlocks_compare_button(array('style' => 2, 'btn_text' => '<i class="fa fa-exchange"></i>', 'btn_added_txt' => '<i class="fa fa-exchange"></i>')), 234 ]; 235 236 $time = current_time('timestamp'); 237 $time_to = strtotime($product->get_date_on_sale_to()); 238 $item['deal'] = ($item['price_sale'] && $time_to > $time) ? date('Y/m/d', $time_to) : ''; 207 239 208 240 // Images 209 if ( has_post_thumbnail() ){210 $thumb_id = get_post_thumbnail_id( $product_id);211 $image_sizes = woolentorBlocks_get_image_size();212 $image_src = array();213 foreach ( $image_sizes as $key => $size) {241 if (has_post_thumbnail()) { 242 $thumb_id = get_post_thumbnail_id($product_id); 243 $image_sizes = woolentorBlocks_get_image_size(); 244 $image_src = array(); 245 foreach ($image_sizes as $key => $size) { 214 246 $image_src[$key] = [ 215 'src' => wp_get_attachment_image_src( $thumb_id, $key, false)[0],216 'html' => $product->get_image( $key)247 'src' => wp_get_attachment_image_src($thumb_id, $key, false)[0], 248 'html' => $product->get_image($key) 217 249 ]; 218 250 } 219 251 $item['image'] = $image_src; 220 } else{252 } else { 221 253 $item['image'] = array( 222 'full' => [223 'src' => wc_placeholder_img_src( 'full'),224 'html' => '<img src="' .wc_placeholder_img_src( 'full' ).'" alt="'.get_the_title().'">',254 'full' => [ 255 'src' => wc_placeholder_img_src('full'), 256 'html' => '<img src="' . wc_placeholder_img_src('full') . '" alt="' . get_the_title() . '">', 225 257 ] 226 258 ); 227 259 } 228 260 229 261 // Tags 230 $tags = get_the_terms( $product_id, ( isset( $request['tag'] ) ? esc_attr( $request['tag'] ) : 'product_tag' ));231 if ( !empty( $tag ) ){262 $tags = get_the_terms($product_id, (isset($request['tag']) ? esc_attr($request['tag']) : 'product_tag')); 263 if (!empty($tag)) { 232 264 $tag_list = array(); 233 foreach ( $tags as $tag) {265 foreach ($tags as $tag) { 234 266 $tag_list[] = [ 235 'slug' => $tag->slug, 236 'name' => $tag->name, 237 'url' => get_term_link( $tag->term_id)267 'slug' => $tag->slug, 268 'name' => $tag->name, 269 'url' => get_term_link($tag->term_id) 238 270 ]; 239 271 } 240 272 $item['tags'] = $tag_list; 241 273 } 242 274 243 275 // Categories 244 $categories = get_the_terms( $product_id, ( isset( $request['cat'] ) ? esc_attr( $request['cat'] ) : 'product_cat'));245 if ( !empty( $categories ) ){276 $categories = get_the_terms($product_id, (isset($request['cat']) ? esc_attr($request['cat']) : 'product_cat')); 277 if (!empty($categories)) { 246 278 $category_list = array(); 247 foreach ( $categories as $category) {248 $category_list[] = [ 249 'slug' => $category->slug, 250 'name' => $category->name, 251 'url' => get_term_link( $category->term_id)279 foreach ($categories as $category) { 280 $category_list[] = [ 281 'slug' => $category->slug, 282 'name' => $category->name, 283 'url' => get_term_link($category->term_id) 252 284 ]; 253 285 } 254 286 $item['categories'] = $category_list; 255 287 } 256 288 $data[] = $item; 257 289 } 258 290 wp_reset_postdata(); 259 291 } 260 return rest_ensure_response( $data);292 return rest_ensure_response($data); 261 293 262 294 } 263 295 264 296 /** 265 297 * Get Last Product data 266 298 */ 267 public function get_last_product_data( $request ){ 299 public function get_last_product_data($request) 300 { 268 301 269 302 // if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonced') ){ 270 303 // return rest_ensure_response([]); 271 304 // } 272 305 273 306 // Load WooCommerce frontend files 274 if ( function_exists('WC') ){307 if (function_exists('WC')) { 275 308 \WC()->frontend_includes(); 276 309 } 277 310 278 if ( !class_exists('\WooLentor_Default_Data')) {311 if (!class_exists('\WooLentor_Default_Data')) { 279 312 return []; 280 313 } 281 314 282 315 $product = \WooLentor_Default_Data::instance()->get_product(''); 283 316 284 317 $data = $item = []; 285 318 286 319 $item['id'] = $product->get_id(); 287 320 $item['title'] = $product->get_title(); 288 321 289 322 $cart_btn_class = $product->is_purchasable() && $product->is_in_stock() ? ' add_to_cart_button' : ''; 290 $cart_btn_class .= $product->supports( 'ajax_add_to_cart') && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : '';291 $item['addtocart'] = [292 'link' => $product->add_to_cart_url(),293 'class' => $cart_btn_class,294 'text' => $product->single_add_to_cart_text(),295 'html' => \WooLentor_Default_Data::instance()->default('wl-product-add-to-cart')323 $cart_btn_class .= $product->supports('ajax_add_to_cart') && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : ''; 324 $item['addtocart'] = [ 325 'link' => $product->add_to_cart_url(), 326 'class' => $cart_btn_class, 327 'text' => $product->single_add_to_cart_text(), 328 'html' => \WooLentor_Default_Data::instance()->default('wl-product-add-to-cart') 296 329 ]; 297 330 298 331 $item['price_html'] = \WooLentor_Default_Data::instance()->default('wl-single-product-price'); 299 $item['short_description'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-short-description');300 $item['description'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-description');301 $item['rating'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-rating');302 $item['image'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-image');303 $item['meta_info'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-meta');304 $item['additional_info'] = \WooLentor_Default_Data::instance()->default( 'wl-product-additional-information');305 $item['product_tabs'] = \WooLentor_Default_Data::instance()->default( 'wl-product-data-tabs2');306 $item['product_reviews'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-reviews');307 $item['product_stock'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-stock');308 $item['product_upsell'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-upsell');309 $item['product_related'] = \WooLentor_Default_Data::instance()->default( 'wl-product-related', array('orderby'=>'date','order'=>'desc'));332 $item['short_description'] = \WooLentor_Default_Data::instance()->default('wl-single-product-short-description'); 333 $item['description'] = \WooLentor_Default_Data::instance()->default('wl-single-product-description'); 334 $item['rating'] = \WooLentor_Default_Data::instance()->default('wl-single-product-rating'); 335 $item['image'] = \WooLentor_Default_Data::instance()->default('wl-single-product-image'); 336 $item['meta_info'] = \WooLentor_Default_Data::instance()->default('wl-single-product-meta'); 337 $item['additional_info'] = \WooLentor_Default_Data::instance()->default('wl-product-additional-information'); 338 $item['product_tabs'] = \WooLentor_Default_Data::instance()->default('wl-product-data-tabs2'); 339 $item['product_reviews'] = \WooLentor_Default_Data::instance()->default('wl-single-product-reviews'); 340 $item['product_stock'] = \WooLentor_Default_Data::instance()->default('wl-single-product-stock'); 341 $item['product_upsell'] = \WooLentor_Default_Data::instance()->default('wl-single-product-upsell'); 342 $item['product_related'] = \WooLentor_Default_Data::instance()->default('wl-product-related', array('orderby' => 'date', 'order' => 'desc')); 310 343 311 344 $data = $item; 312 345 313 return rest_ensure_response( $data ); 314 315 316 } 317 318 346 return rest_ensure_response($data); 347 348 349 } 350 351 /** 352 * Post List Callable Function 353 * 354 * @param [type] $request 355 */ 356 public function get_post_list_data($request) 357 { 358 if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) { 359 return rest_ensure_response([]); 360 } 361 362 $post_type = isset($request['postType']) ? $request['postType'] : 'woolentor-template'; 363 $per_page = isset($request['perPage']) ? $request['perPage'] : -1; 364 $meta_query = isset($request['metaQuery']) ? $request['metaQuery'] : []; 365 366 $data = []; 367 $offers = get_posts( 368 [ 369 'post_type' => $post_type, 370 'post_status' => 'publish', 371 'posts_per_page' => $per_page, 372 'meta_query' => [$meta_query] 373 ] 374 ); 375 376 if (!empty($offers)) { 377 foreach ($offers as $offer) { 378 $item = []; 379 $item['id'] = $offer->ID; 380 $item['title'] = $offer->post_title; 381 $data[] = $item; 382 } 383 } 384 385 return rest_ensure_response($data); 386 } 387 388 319 389 } -
woolentor-addons/trunk/woolentor_addons_elementor.php
r3037382 r3044764 1 1 <?php 2 2 /** 3 3 * Plugin Name: ShopLentor – WooCommerce Builder for Elementor & Gutenberg 4 4 * Description: An all-in-one WooCommerce solution to create a beautiful WooCommerce store. 5 5 * Plugin URI: https://woolentor.com/ 6 * Version: 2.8. 16 * Version: 2.8.2 7 7 * Author: HasThemes 8 8 * Author URI: https://hasthemes.com/plugins/woolentor-pro/ 9 9 * License: GPL-2.0+ 10 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 11 11 * Text Domain: woolentor 12 12 * Domain Path: /languages 13 * WC tested up to: 8.6. 014 * Elementor tested up to: 3.19. 215 * Elementor Pro tested up to: 3.19. 213 * WC tested up to: 8.6.1 14 * Elementor tested up to: 3.19.4 15 * Elementor Pro tested up to: 3.19.4 16 16 */ 17 17 18 18 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 19 19 20 define( 'WOOLENTOR_VERSION', '2.8. 1' );20 define( 'WOOLENTOR_VERSION', '2.8.2' ); 21 21 define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ ); 22 22 define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) ); 23 23 define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) ); 24 24 define( 'WOOLENTOR_ADDONS_DIR_URL', plugin_dir_url( WOOLENTOR_ADDONS_PL_ROOT ) ); 25 25 define( 'WOOLENTOR_PLUGIN_BASE', plugin_basename( WOOLENTOR_ADDONS_PL_ROOT ) ); 26 26 define( 'WOOLENTOR_TEMPLATE', trailingslashit( WOOLENTOR_ADDONS_PL_PATH . 'includes/templates' ) ); 27 27 28 28 // Required File 29 29 require_once ( WOOLENTOR_ADDONS_PL_PATH.'includes/base.php' ); 30 30 \WooLentor\woolentor(); 31 31 32 32 /** 33 33 * Gutenbarge Blocks 34 34 */ 35 35 require_once ( WOOLENTOR_ADDONS_PL_PATH.'woolentor-blocks/woolentor-blocks.php' ); 36 36 37 37 // Compatible With WooCommerce Custom Order Tables 38 38 add_action( 'before_woocommerce_init', function() { 39 39 if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) { 40 40 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true ); 41 41 } 42 42 } );
Note: See TracChangeset
for help on using the changeset viewer.